# $Id: Portfile 20421 2006-11-03 02:16:50Z jberry@macports.org $ PortSystem 1.0 name pstoedit version 3.40 categories graphics maintainers nomaintainer@macports.org description Translate PostScript and PDF to other vector formats long_description \ pstoedit converts Postscript(TM) and PDF files to other vector graphic \ formats so that they can be edited graphically. platforms darwin homepage http://www.pstoedit.net/ master_sites opendarwin checksums md5 cfad18cec035a3b8a13c1e2b960a24fe depends_lib lib:libMagick:ImageMagick lib:libplotter:plotutils \ lib:libpng:libpng lib:libz:zlib depends_run bin:gs:ghostscript configure.env CPPFLAGS="-I${prefix}/include -Wno-long-long" \ LDFLAGS="-L${prefix}/lib" post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/man/man1 \ ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath}/doc pstoedit.1 \ ${destroot}${prefix}/share/man/man1 eval xinstall -m 644 [glob ${worksrcpath}/doc/*.htm] \ [glob ${worksrcpath}/doc/*.tex] [glob ${worksrcpath}/doc/*.txt] \ ${destroot}${prefix}/share/doc/${name} } platform darwin 6 { depends_lib-append lib:libdl:dlcompat }