Package: pstoedit Version: 3.78 Revision: 1 Maintainer: Peter Dyballa Depends: %N-shlibs (= %v-%r), %N-bin (= %v-%r) BuildDependsOnly: true BuildDepends: << fink-package-precedence, pkgconfig (>= 0.23), gd3, ghostscript | ghostscript-nox, libemf (>= 1.0.13-1), libmagick++7.q16.5-dev, libmagickcore7.q16.9-dev, libmagickwand7.q16.9-dev, libming1-dev, libzip2, plotutils-dev (>= 2.4.1-1007) << Source: mirror:sourceforge:/%n/%n-%v.tar.gz Source-Checksum: SHA256(8cc28e34bc7f88d913780f8074e813dd5aaa0ac2056a6b36d4bf004a0e90d801) PatchScript: << # Supports magick6 and magick7 but our 7 doesn't supply the # same .pc name as expected (difference vs 6). perl -pi -e 's/ImageMagick\+\+/Magick++/g' configure << GCC: 4.0 SetCXXFLAGS: -std=c++11 # NOMINMAX tells emf.h not to declare min() and max(). They collide # with std:: functions (but aren't #define). Buggy logic in emf.h, and # also conceptually silly to put public macros for simple things that # aren't part of the lib's interfaces. SetCPPFLAGS: -DNOMINMAX # disable-docs just avoids regenerating files that are already in # tarball (they still get installed) ConfigureParams: << --enable-dependency-tracking \ --disable-docs \ --with-libzip-include=%p/lib/libzip/include << CompileScript: << #! /bin/sh -ex ./configure %c make pkglibdir=%p/lib/%n-%v fink-package-precedence --prohibit-bdep=%n . << Installscript: << mkdir -p %i/share/man/man1/ cp doc/pstoedit.1 %i/share/man/man1/ make install pkglibdir=%p/lib/%n-%v DESTDIR=%d << Splitoff: << Package: %N-shlibs Depends: << gd3-shlibs, libemf-shlibs (>= 1.0.13-1), libmagick++7.q16.5-shlibs, libmagickcore7.q16.9-shlibs, libmagickwand7.q16.9-shlibs, libming1-shlibs, libzip2-shlibs, plotutils-shlibs (>= 2.4.1-1007) << Files: << lib/libpstoedit.0.dylib lib/pstoedit-%v << Shlibs: << %p/lib/libpstoedit.0.dylib 1.0.0 %n (>= 3.4-1001) << Description: Shared libraries for pstoedit DocFiles: copying doc/changelog.htm << Splitoff2: << Package: %N-bin Depends: << %N-shlibs (= %v-%r), gd3-shlibs << Replaces: %N (<< 3.33-19) Files: << bin share/pstoedit share/man << Description: Binary pstoedit utility DocFiles: copying doc/*.htm doc/*.txt << DocFiles: copying doc/changelog.htm Description: PS/PDF converter to other vector formats DescDetail: << pstoedit converts PostScript(TM) and PDF files to other vector graphic formats so that they can be edited graphically. << License: GPL Homepage: http://www.pstoedit.net DescPackaging: << Originally packaged by Peter O'Gorman. Detects libpng, but doesn't use it except to add -lpng to pstoedit.pc. The flag is not actually needed by pkgs linking to pstoedit, so remove in all cases. If tests are built, must add a "TestDepends: cairo, x11-dev" to avoid using X11-cairo. <<