a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 22242 2007-02-23 17:48:12Z pipping@macports.org $
PortSystem 1.0
name ps2eps
version 1.64
categories print
maintainers aschenke@tampabay.rr.com
homepage http://www.tm.uka.de/~bless/ps2eps
description PostScript to Encapsulated Postscript (EPS) conversion utility
long_description ps2eps is a tool (written in Perl) to produce Encapsulated \
Postscript Files (EPS/EPSF) from usual one-paged Postscript \
documents. It calculates correct bounding boxes for those \
EPS files and filters some special postscript command \
sequences that can produce erroneous results on printers. \
EPS files are often needed for including (scalable) graphics \
of high quality into TeX/LaTeX (or even Word) documents.
master_sites http://www.tm.uka.de/~bless/
checksums md5 89aec3f075cee662f2367b12337b5c3e \
sha1 3fb21d1109700b80d2b8248e5d9df9de1cefb8e4 \
rmd160 e205a2f7b8e2ad58e9c26cc9a261dbd0c2da1dd4
depends_run port:ghostscript \
bin:perl:perl5.8
worksrcdir ${name}
use_configure no
build.cmd gcc src/C/bbox.c -o bin/bbox
build.target
destroot {
xinstall -m 755 ${worksrcpath}/bin/bbox ${destroot}${prefix}/bin
xinstall -m 755 ${worksrcpath}/bin/ps2eps ${destroot}${prefix}/bin
xinstall -m 644 -W ${worksrcpath}/doc/man/man1/ bbox.1 ps2eps.1 \
${destroot}${prefix}/share/man/man1/
}