# -*- 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 PortSystem 1.0 PortGroup cmake 1.1 name podofo version 0.9.8 revision 0 license GPL-2 LGPL-2 categories graphics maintainers {devans @dbevans} openmaintainer 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 5de607e15f192b8ad90738300759d88dea0f5ccdce3bf00048a0c932bc645154 \ rmd160 9de4d9d603a7b087f2acdafccd96804e31d59673 \ size 1012918 depends_lib port:zlib \ port:freetype \ port:fontconfig \ port:libidn \ path:lib/libssl.dylib:openssl \ port:libpng \ port:libunistring \ path:include/turbojpeg.h:libjpeg-turbo \ 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 \ make-tests-optional.patch compiler.cxx_standard 2011 compiler.thread_local_storage yes configure.args-append \ -G \"Unix Makefiles\" \ -DWANT_FONTCONFIG:BOOL=TRUE \ -DPODOFO_BUILD_SHARED:BOOL=TRUE \ -DPODOFO_BUILD_STATIC:BOOL=TRUE \ -DPODOFO_BUILD_TESTS:BOOL=FALSE \ -DCMAKE_INCLUDE_PATH=${prefix}/include \ -DCMAKE_LIBRARY_PATH=${prefix}/lib \ -DCMAKE_EXE_LINKER_FLAGS='' \ -DCMAKE_CXX_FLAGS='-std=c++11' livecheck.type regex livecheck.url http://podofo.sourceforge.net/download.html livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"