# $Id: Portfile 26254 2007-06-17 17:10:58Z yves@macports.org $ PortSystem 1.0 name poppler version 0.5.4 maintainers nomaintainer@macports.org categories graphics platforms darwin homepage http://${name}.freedesktop.org/ description Poppler is a PDF rendering library based on the xpdf-3.0 code base. long_description \ ${description} master_sites ${homepage} checksums md5 053fdfd70533ecce1a06353fa945f061 depends_lib port:cairo port:gtk2 port:poppler-data post-patch { reinplace "s|-flat_namespace -undefined suppress||g" \ ${worksrcpath}/configure reinplace "s|\$includedir|${prefix}/include|g" \ ${worksrcpath}/configure } configure.args --enable-xpdf-headers --enable-zlib --mandir=${prefix}/share/man configure.env CPPFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib"