source: trunk/dports/print/transfig/Portfile @ 75159

Last change on this file since 75159 was 75159, checked in by rmstonecipher@…, 9 years ago

graphics/libpng upgraded version from 1.2.44 to 1.4.5 per ticket #23125, increased revision on all ports directly dependent upon libpng12.dylib

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