# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup cmake 1.0 name podofo version 0.9.1 license GPL-2 LGPL-2 categories graphics maintainers devans openmaintainer platforms darwin homepage http://podofo.sourceforge.net/ master_sites sourceforge description \ PoDoFo is a library to work with the PDF file format. long_description \ PoDoFo is a library to work with the PDF file format. The PoDoFo library \ is a free, portable C++ library which includes classes to parse PDF files and \ modify their contents into memory. The changes can be written back to disk easily. \ The parser can also be used to extract information from a PDF file. checksums sha1 d04c26b93dcf5f82a8dd90e02df6de95fb98ef47 \ rmd160 4d65f78cf4929eda44b5f27d518d104380e58160 depends_build port:cmake depends_lib port:fontconfig \ port:libpng \ port:tiff \ port:cppunit \ port:openssl \ port:lua configure.cmd cmake configure.args-append -G \"Unix Makefiles\" \ -DWANT_FONTCONFIG:BOOL=TRUE \ -DPODOFO_BUILD_SHARED:BOOL=TRUE \ -DPODOFO_BUILD_STATIC:BOOL=TRUE \ -DCMAKE_INCLUDE_PATH=${prefix}/include/ \ -DCMAKE_LIBRARY_PATH=${prefix}/lib pre-build { if {[file exists ${prefix}/lib/libpodofo.dylib]} { ui_error "${name} cannot be built while a previous version is installed and active." ui_error "Please deactivate the currently active version of ${name} first." return -code error "previous ${name} version active" } } livecheck.type regex livecheck.url http://podofo.sourceforge.net/download.html livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"