Ticket #17485: Portfile

File Portfile, 1.2 KB (added by jjstickel@…, 15 years ago)

graphics/fig2ps/Portfile

Line 
1# jjs 12/2/08
2
3PortSystem              1.0
4
5name                    fig2ps
6version                 1.3.6
7categories              graphics tex
8maintainers             vcn.com:jjstickel
9platforms               darwin
10homepage                http://fig2ps.sourceforge.net/
11master_sites            sourceforge:fig2ps
12use_configure           no
13
14description             converts xfig files to postscript or PDF, processing text with LaTeX
15
16long_description \
17                 fig2ps is a perl script which converts xfig files to postscript or\
18                 PDF, processing text with LaTeX. It's primary aim is to produce\
19                 documents (such as articles) with a high quality, in which the\
20                 pictures are seamlessly integrated with the text (notably, the font in\
21                 the figures is exactly the same as in the text).
22
23checksums \
24    md5 ad8156d5177d76bbfb9b84ea3f403453
25
26depends_run     path:bin/perl:perl5 \
27                port:ghostscript\
28                port:transfig\
29                path:bin/latex:texlive
30
31post-extract {
32    reinplace "s|\$(DESTDIR)/usr|${destroot}${prefix}|" ${worksrcpath}/Makefile
33    reinplace "s|\$(DESTDIR)|${destroot}${prefix}|" ${worksrcpath}/Makefile
34    reinplace "s|usr/||" ${worksrcpath}/dirs
35    reinplace "s|/etc|${prefix}/etc|" ${worksrcpath}/bin/fig2ps
36}
37
38build {}