# -*- 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 PortGroup conflicts_build 1.0 name podofo version 0.9.2 revision 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 465191618c57da9ae9230e7919e1985a242ddc7d1045cfdb6fb066140ed0a3f3 \ rmd160 69bf1035f2466ba95208830038c6f8e303580a5b depends_lib port:zlib \ port:freetype \ port:fontconfig \ port:libidn \ port:openssl \ port:libpng \ port:jpeg \ port:tiff \ port:cppunit \ port:lua post-extract { # DOS to UNIX line endings so we can patch reinplace "s|\r||g" ${worksrcpath}/cmake/modules/FindFREETYPE.cmake } conflicts_build ${name} patchfiles patch-src-base-PdfEncrypt.cpp.diff \ patch-cmake-modules-FindFREETYPE.cmake.diff \ patch-lua-tools.diff \ patch-ios_include.diff use_parallel_build no 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 livecheck.type regex livecheck.url http://podofo.sourceforge.net/download.html livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"