# $Id$ PortSystem 1.0 name ps2eps version 1.68 categories print platforms darwin license GPL-2+ maintainers nomaintainer 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 d6d2932b9d0399317a7382c94c108c44 \ sha1 253b949b70e73beb68760aafc5a20357db17371a \ rmd160 1e367201898922ffc9e92b7c4839c561e951e022 depends_run port:ghostscript \ bin:perl:perl5 worksrcdir ${name} use_configure no variant universal {} if {[variant_isset universal]} { set archflags ${configure.universal_cflags} } else { set archflags ${configure.cc_archflags} } build.cmd ${configure.cc} ${archflags} 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/ }