Annotation of /trunk/todo/transfig/transfig-3.2.5-r3.smage2
Parent Directory | Revision Log
Revision 2 -
(hide annotations)
(download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
Original Path: trunk/extras/transfig/transfig-3.2.5-r3.smage2
File size: 1304 byte(s)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
Original Path: trunk/extras/transfig/transfig-3.2.5-r3.smage2
File size: 1304 byte(s)
import repo
1 | niro | 2 | # $Header: /magellan-cvs/smage/transfig/transfig-3.2.5-r2.smage2,v 1.2 2008/02/07 14:23:54 niro Exp $ |
2 | |||
3 | PNAME="transfig" | ||
4 | PVER="3.2.5" | ||
5 | PBUILD="r3" | ||
6 | |||
7 | PCATEGORIE="media-gfx" | ||
8 | STATE="unstable" | ||
9 | |||
10 | DESCRIPTION="Transfig is a set of tools for creating tex documents with graphics." | ||
11 | HOMEPAGE="http://www.xfig.org/" | ||
12 | |||
13 | DEPEND=">= x11-libs/libXpm-3.5 | ||
14 | >= media-libs/libjpeg-6b | ||
15 | >= media-libs/libpng-1.2.5" | ||
16 | |||
17 | SRCFILE="${PNAME}.${PVER}.tar.gz" | ||
18 | SRCDIR="${BUILDDIR}/${PNAME}.${PVER}" | ||
19 | |||
20 | sminclude mtools | ||
21 | |||
22 | SRC_URI=( | ||
23 | http://xfig.org/software/xfig/${PVER}/${SRCFILE} | ||
24 | mirror://${PNAME}/${SRCFILE} | ||
25 | mirror://${PNAME}/${PNAME}-${PVER}.patch | ||
26 | ) | ||
27 | |||
28 | src_prepare() | ||
29 | { | ||
30 | munpack ${SRCFILE} || die | ||
31 | cd ${SRCDIR} | ||
32 | |||
33 | # fixes some installation issues with symlinks | ||
34 | mpatch ${PNAME}-${PVER}.patch || die | ||
35 | } | ||
36 | |||
37 | src_compile() | ||
38 | { | ||
39 | cd ${SRCDIR} | ||
40 | |||
41 | # prepare src with x11 config | ||
42 | xmkmf || die | ||
43 | |||
44 | # set up makefile | ||
45 | make Makefiles CONFIGDIR=/usr/$(mlibdir)/X11/config || die | ||
46 | |||
47 | # build it | ||
48 | mmake BINDIR=/usr/bin LIBDIR=/usr/$(mlibdir) || die | ||
49 | } | ||
50 | |||
51 | src_install() | ||
52 | { | ||
53 | cd ${SRCDIR} | ||
54 | |||
55 | |||
56 | make BINDIR=/usr/bin \ | ||
57 | LIBDIR=/usr/$(mlibdir) \ | ||
58 | DESTDIR=${BINDIR} install || die | ||
59 | |||
60 | # missing man pages | ||
61 | minstallman doc/fig2dev.1 || die | ||
62 | minstallman doc/fig2ps2tex.1 || die | ||
63 | minstallman doc/pic2tpic.1 || die | ||
64 | |||
65 | # docs | ||
66 | minstalldocs CHANGES LATEX.AND.XFIG* NOTES README || die | ||
67 | } | ||
68 |
Properties
Name | Value |
---|---|
svn:keywords | Id |