source: trunk/dports/print/ps2eps/Portfile

Last change on this file was 119007, checked in by aschenke@…, 3 years ago

Retiring as maintainer (aschenke -> nomaintainer)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 119007 2014-04-15 03:54:28Z ryandesign@macports.org $
2
3PortSystem                      1.0
4name                            ps2eps
5version                         1.68
6categories                      print
7platforms                       darwin
8license                         GPL-2+
9maintainers                     nomaintainer
10homepage                        http://www.tm.uka.de/~bless/ps2eps
11description                     PostScript to Encapsulated PostScript (EPS) conversion utility
12
13long_description        ps2eps is a tool (written in Perl) to produce Encapsulated \
14                                        PostScript Files (EPS/EPSF) from usual one-paged PostScript \
15                                        documents. It calculates correct bounding boxes for those \
16                                        EPS files and filters some special PostScript command \
17                                        sequences that can produce erroneous results on printers. \
18                                        EPS files are often needed for including (scalable) graphics \
19                                        of high quality into TeX/LaTeX (or even Word) documents.
20                 
21master_sites            http://www.tm.uka.de/~bless/
22checksums                       md5 d6d2932b9d0399317a7382c94c108c44 \
23                                        sha1 253b949b70e73beb68760aafc5a20357db17371a \
24                                        rmd160 1e367201898922ffc9e92b7c4839c561e951e022
25
26depends_run                     port:ghostscript \
27                    bin:perl:perl5
28
29worksrcdir          ${name}
30
31use_configure       no
32
33variant universal {}
34if {[variant_isset universal]} {
35    set archflags ${configure.universal_cflags}
36} else {
37    set archflags ${configure.cc_archflags}
38}
39
40build.cmd           ${configure.cc} ${archflags} src/C/bbox.c -o bin/bbox
41build.target
42
43destroot {
44        xinstall -m 755 ${worksrcpath}/bin/bbox ${destroot}${prefix}/bin
45        xinstall -m 755 ${worksrcpath}/bin/ps2eps ${destroot}${prefix}/bin
46        xinstall -m 644 -W ${worksrcpath}/doc/man/man1/ bbox.1 ps2eps.1 \
47                ${destroot}${prefix}/share/man/man1/
48}
Note: See TracBrowser for help on using the repository browser.