a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 20307 2006-11-01 21:21:02Z blair@macports.org $
PortSystem 1.0
PortGroup gnustep 1.0
name pdfkit
version 062906
platforms darwin
maintainers yves@macports.org
homepage http://www.gnustep.it/enrico/pdfkit/
description GNUstep's Workspace Manager.
long_description \
GWorkspace is a clone of the NeXT workspace manager \
with some added features as spatial viewing, \
real-time auditing of the file-system, \
an advanced database based search system, etc.
master_sites ${homepage}
checksums md5 0bf6c2441d8821c4276c4d92691ad1bb
worksrcdir PDFKit-${version}
post-patch {
reinplace "s|ADD_FT|CC=gcc-dp-4.1 CXX=g++-dp-4.1 ADD_FT|" \
${worksrcpath}/xpdf/xpdf-3.01/GNUmakefile.in
reinplace "s|\${CXX}|g++-dp-4.1|" \
${worksrcpath}/GNUmakefile.in \
${worksrcpath}/xpdf/GNUmakefile.in \
${worksrcpath}/xpdf/bridge/GNUmakefile
}
use_configure yes
platform darwin {
array set gnustep.post_flags {
. "-lobjc -lgnustep-base -lgnustep-gui"
}
}