# $Id: Portfile 30229 2007-10-22 23:01:24Z jmpp@macports.org $ PortSystem 1.0 PortGroup gnustep 1.0 name pdfkit version 062906 platforms darwin maintainers nomaintainer 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-mp-4.1 CXX=g++-mp-4.1 ADD_FT|" \ ${worksrcpath}/xpdf/xpdf-3.01/GNUmakefile.in reinplace "s|\${CXX}|g++-mp-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" } }