# $Id: $ PortSystem 1.0 name ps2eps version 1.58 categories print maintainers darwinports@opendarwin.org 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 9ef4c529aff70fb37b2afe3f5bbd66c5 depends_run port:ghostscript \ bin:perl:perl5.8 worksrcdir ${name} configure { } build.target destroot.target build.cmd { cc -o bin/bbox src/C/bbox.c } post-destroot { file copy ${worksrcpath}/bin/bbox ${destroot}${prefix}/bin/bbox file copy ${worksrcpath}/bin/ps2eps ${destroot}${prefix}/bin/ps2eps file copy ${worksrcpath}/doc/man/man1/bbox.1 ${destroot}${prefix}/share/man/man1/bbox.1 file copy ${worksrcpath}/doc/man/man1/ps2eps.1 ${destroot}${prefix}/share/man/man1/ps2eps.1 }