1 | # $Id: $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name ps2eps |
---|
5 | version 1.58 |
---|
6 | categories print |
---|
7 | maintainers darwinports@opendarwin.org |
---|
8 | homepage http://www.tm.uka.de/~bless/ps2eps |
---|
9 | description PostScript to Encapsulated Postscript (EPS) conversion utility |
---|
10 | |
---|
11 | long_description ps2eps is a tool (written in Perl) to produce Encapsulated \ |
---|
12 | Postscript Files (EPS/EPSF) from usual one-paged Postscript \ |
---|
13 | documents. It calculates correct bounding boxes for those \ |
---|
14 | EPS files and filters some special postscript command \ |
---|
15 | sequences that can produce erroneous results on printers. \ |
---|
16 | EPS files are often needed for including (scalable) graphics \ |
---|
17 | of high quality into TeX/LaTeX (or even Word) documents. |
---|
18 | |
---|
19 | master_sites http://www.tm.uka.de/~bless/ |
---|
20 | checksums md5 9ef4c529aff70fb37b2afe3f5bbd66c5 |
---|
21 | |
---|
22 | depends_run port:ghostscript \ |
---|
23 | bin:perl:perl5.8 |
---|
24 | |
---|
25 | worksrcdir ${name} |
---|
26 | |
---|
27 | configure { } |
---|
28 | |
---|
29 | build.target |
---|
30 | destroot.target |
---|
31 | |
---|
32 | build.cmd { |
---|
33 | cc -o bin/bbox src/C/bbox.c |
---|
34 | } |
---|
35 | |
---|
36 | pre-destroot { |
---|
37 | system "cp ${worksrcpath}/bin/bbox ${destroot}${prefix}/bin/bbox |
---|
38 | cp ${worksrcpath}/bin/ps2eps ${destroot}${prefix}/bin/ps2eps |
---|
39 | cp ${worksrcpath}/doc/man/man1/bbox.1 ${destroot}${prefix}/share/man/man1/bbox.1 |
---|
40 | cp ${worksrcpath}/doc/man/man1/ps2eps.1 ${destroot}${prefix}/share/man/man1/ps2eps.1" |
---|
41 | } |
---|