1 | # $Id: Portfile 65009 2010-03-19 14:05:49Z ryandesign@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name transfig |
---|
5 | version 3.2.5d |
---|
6 | |
---|
7 | description Tools to convert Xfig's .fig files |
---|
8 | long_description TransFig is a set of tools for creating TeX documents \ |
---|
9 | with graphics which are portable, in the sense that they \ |
---|
10 | can be printed in a wide variety of environments. \ |
---|
11 | Drivers currently exist for the following graphics \ |
---|
12 | languages: (E)EPIC macros, LaTeX picture environment, PIC, \ |
---|
13 | PiCTeX, PostScript, and TeXtyl. |
---|
14 | platforms darwin |
---|
15 | categories print graphics |
---|
16 | maintainers nomaintainer |
---|
17 | homepage http://xfig.org/ |
---|
18 | master_sites sourceforge:mcj |
---|
19 | distname ${name}.${version} |
---|
20 | checksums md5 f9eac7f265668ecbfda6aaf7581989ad \ |
---|
21 | sha1 90ff277cc9b3fa0d0313052fcf5e3ffad8652abc \ |
---|
22 | rmd160 6d6aff522bd9e886029bf317e7b9dcd495a5c0ef |
---|
23 | depends_lib port:libpng \ |
---|
24 | port:xpm |
---|
25 | depends_run port:netpbm |
---|
26 | use_xmkmf yes |
---|
27 | patchfiles patch-fig2dev-dev-Imakefile \ |
---|
28 | patch-fig2dev-Imakefile \ |
---|
29 | patch-transfig-Imakefile |
---|
30 | post-patch { |
---|
31 | reinplace "s|__PREFIX|${prefix}|g" ${worksrcpath}/fig2dev/Imakefile |
---|
32 | reinplace "s|__DESTROOT|${destroot}|g" ${worksrcpath}/fig2dev/Imakefile |
---|
33 | reinplace "s|__PREFIX|${prefix}|g" ${worksrcpath}/fig2dev/dev/Imakefile |
---|
34 | reinplace "s|__DESTROOT|${destroot}|g" ${worksrcpath}/fig2dev/dev/Imakefile |
---|
35 | reinplace "s|__PREFIX|${prefix}|g" ${worksrcpath}/transfig/Imakefile |
---|
36 | reinplace "s|__DESTROOT|${destroot}|g" ${worksrcpath}/transfig/Imakefile |
---|
37 | } |
---|
38 | destroot.target install install.man |
---|
39 | post-destroot { |
---|
40 | set docdir ${destroot}${prefix}/share/doc/${name} |
---|
41 | xinstall -d ${docdir} |
---|
42 | xinstall -m 644 -W ${worksrcpath} \ |
---|
43 | CHANGES \ |
---|
44 | NOTES \ |
---|
45 | README \ |
---|
46 | ${docdir} |
---|
47 | } |
---|
48 | |
---|
49 | livecheck.type regex |
---|
50 | livecheck.regex {>Xfig/Transfig (.*) Download</a>} |
---|