the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: pstoedit
Version: 3.60
Revision: 1
GCC: 4.0
Maintainer: Peter Dyballa
Depends: %N-shlibs (= %v-%r), %N-bin (= %v-%r)
BuildDepends: <<
fink (>= 0.24.12),
fink-package-precedence,
gd2 (>= 2.0.35-2),
ghostscript,
imagemagick2-dev,
libemf (>= 1.0.2-1012),
libming1-dev,
libpng15,
pkgconfig (>= 0.23),
plotutils-dev (>= 2.4.1-1007),
x11-dev
<<
BuildDependsOnly: true
Source: mirror:sourceforge:/%n/%n-%v.tar.gz
Source-MD5: 1bd14f33c1cf57bf6880e2f8f3f93080
SetCPPFLAGS: -I/usr/X11R6/include/ -D__unix__
NoSetMAKEFLAGS: true
#SetMAKEFLAGS: -j1
ConfigureParams: --enable-dependency-tracking --with-libemf-include=%p/include/libEMF --mandir=%p/share/man
CompileScript: <<
#! /bin/sh -ex
if [ `sw_vers -productVersion | cut -f2 -d.` == 5 ] ; then export CC=gcc-4.2 CXX=g++-4.2 ; fi
./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: <<
gd2-shlibs (>= 2.0.35-2),
imagemagick2-shlibs,
libemf-shlibs (>= 1.0.2-1012),
libming1-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),
gd2-shlibs
<<
Replaces: %N (<< 3.33-19)
Files: <<
bin/pstoedit
share/pstoedit
share/man/man1
<<
Description: binary pstoedit utility
DocFiles: copying doc/changelog.htm doc/index.htm doc/Makefile.l2m doc/pstoedit.htm doc/pstoedit.tex doc/pstoedit.trans doc/readme.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.
<<
Homepage: http://www.pstoedit.net/pstoedit
License: GPL
DescPackaging: <<
Originally packaged by Peter O'Gorman.
Detects libpng but doesn't seem to link against it or activate
sources to use it (missing config.h.in flag?). Not fixing.
It's because libgd.2.dylib needs libpng! (Pete)
<<