# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
description Translate PostScript and PDF to other vector formats
long_description pstoedit converts PostScript™ and PDF files to other \
vector graphic formats so that they can be edited \
homepage http://www.pstoedit.net/
master_sites sourceforge:project/pstoedit/pstoedit/${version}
checksums rmd160 a031f60c395aea11dd98dd32f9c81b5de9efe69b \
sha256 ad31d13bf4dd1b9e2590dccdbe9e4abe74727aaa16376be85cd5d854f79bf290 \
depends_build port:pkgconfig \
depends_lib port:ImageMagick \
depends_run port:ghostscript
patchfiles patch-config-pstoedit.pc.in.diff \
patch-configure.ac.diff \
configure.args --without-emf \
configure.cppflags-append -Wno-long-long
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
xinstall -m 644 {*}[glob -directory ${worksrcpath}/doc *.htm *.tex *.txt] \
${destroot}${prefix}/share/doc/${name}