# -*- 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 cmake.out_of_source yes name podofo version 0.9.4 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 sha256 ccdf505fcb4904617e728b15729da8700ff38442c1dd2f24fbd52934287ff859 \ rmd160 431496b2e4f5d14d05d56f0a5c9bf328fbab1b7a # cppunit required as a build dependency to enable build of podofo command line tools depends_build-append \ port:cppunit depends_lib port:zlib \ port:freetype \ port:fontconfig \ port:libidn \ path:lib/libssl.dylib:openssl \ port:libpng \ port:jpeg \ port:tiff \ port:lua post-extract { # DOS to UNIX line endings so we can patch reinplace "s|\r||g" ${worksrcpath}/cmake/modules/FindFREETYPE.cmake } patchfiles patch-cmake-modules-FindFREETYPE.cmake.diff \ patch-test-unit-EncryptTest.h.diff 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 \ -DCMAKE_EXE_LINKER_FLAGS='' livecheck.type regex livecheck.url http://podofo.sourceforge.net/download.html livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"