# $Id: Portfile 20373 2006-11-02 19:27:25Z blair@macports.org $ PortSystem 1.0 name pdflib version 7.0.0 categories print platforms darwin maintainers mww@opendarwin.org description library of C routines to programmatically generate PDF files long_description PDFlib is a library of C routines which allow you to \ programmatically generate files in Adobe's Portable Document \ format PDF. homepage http://www.pdflib.com/products/pdflib/ master_sites http://www.pdflib.de/binaries/PDFlib/700/ \ freebsd distname PDFlib-Lite-${version} checksums sha1 c8d53901d8e2fbf9e188fc7854c8730ea79d7514 patchfiles patch-config-mkcommon.inc.in patch-libs__pdcore__pc_util.h configure.args --without-java --without-perl --without-py --without-tcl post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/doc/ file copy ${worksrcpath}/doc/pdflib ${destroot}${prefix}/share/doc/${name} } variant java { configure.args-delete --without-java configure.args-append --with-java=yes } variant perl { depends_lib path:${prefix}/bin/perl:perl5.8 configure.args-delete --without-perl configure.args-append --with-perl=${prefix}/bin/perl } variant python { depends_lib path:${prefix}/bin/python:python24 configure.args-delete --without-py configure.args-append --with-py=${prefix} } variant tcl { depends_lib path:${prefix}/bin/tclsh:tcl configure.args-delete --without-tcl configure.args-append --with-tcl=${prefix}/bin/tclsh } platform darwin 8 { configure.env CC="/usr/bin/gcc-4.0 -DPDF_TARGET_API_MAC_CLASSIC" CPP="/usr/bin/cpp-4.0 -DPDF_TARGET_API_MAC_CLASSIC" CXX="/usr/bin/g++-4.0 -DPDF_TARGET_API_MAC_CLASSIC" }