Ticket #8354: Portfile.3

File Portfile.3, 1.3 KB (added by aschenke@…, 19 years ago)

Portfile for ps2eps-1.58

Line 
1# $Id: $
2
3PortSystem                      1.0
4name                            ps2eps
5version                         1.58
6categories                      print
7maintainers                     darwinports@opendarwin.org
8homepage                        http://www.tm.uka.de/~bless/ps2eps
9description                     PostScript to Encapsulated Postscript (EPS) conversion utility
10
11long_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                 
19master_sites            http://www.tm.uka.de/~bless/
20checksums                       md5 9ef4c529aff70fb37b2afe3f5bbd66c5
21
22depends_run                     port:ghostscript \
23                    bin:perl:perl5.8
24
25worksrcdir          ${name}
26
27configure { }
28
29build.target
30destroot.target
31
32build.cmd {
33    cc -o bin/bbox src/C/bbox.c
34}
35
36post-destroot {
37    file copy ${worksrcpath}/bin/bbox ${destroot}${prefix}/bin/bbox
38    file copy ${worksrcpath}/bin/ps2eps ${destroot}${prefix}/bin/ps2eps
39    file copy ${worksrcpath}/doc/man/man1/bbox.1 ${destroot}${prefix}/share/man/man1/bbox.1
40    file copy ${worksrcpath}/doc/man/man1/ps2eps.1 ${destroot}${prefix}/share/man/man1/ps2eps.1
41}