# $Id: Portfile 147230 2016-03-31 19:52:33Z cal@macports.org $ PortSystem 1.0 name epstool version 3.08 revision 9 categories print maintainers iaas.msu.ru:master description create or extract preview images in EPS files, fix bounding boxes and convert to bitmaps long_description \ Add EPSI, DOS (MS Word!) EPS or Mac PICT previews. \ Extract PostScript from DOS EPS files. \ Uses Ghostscript to create preview bitmaps. \ Create a TIFF, WMF, PICT or Interchange preview from part of a bitmap created by Ghostscript. platforms darwin homepage http://www.cs.wisc.edu/~ghost/gsview/epstool.htm master_sites http://pkgs.fedoraproject.org/repo/pkgs/epstool/${distfiles}/465a57a598dbef411f4ecbfbd7d4c8d7/ checksums md5 465a57a598dbef411f4ecbfbd7d4c8d7 depends_lib bin:gs:ghostscript use_configure no use_parallel_build no variant universal {} set cflags "${configure.cflags} ${configure.cppflags}" set ldflags ${configure.ldflags} if {[variant_isset universal]} { lappend cflags ${configure.universal_cflags} ${configure.universal_cppflags} lappend ldflags ${configure.universal_ldflags} } else { lappend cflags ${configure.cc_archflags} lappend ldflags ${configure.ld_archflags} } build.env CFLAGS="[join ${cflags} " "]" \ LDFLAGS="[join ${ldflags} " "]" build.args-append CC=${configure.cc} \ CXX=${configure.cxx} \ CPP=${configure.cpp} patchfiles patch-epstool.mak patch-makefile patch-src_unixcom_mak.diff destroot.destdir prefix=${destroot}${prefix} livecheck.type none