# -*- 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
maintainers {devans @dbevans} openmaintainer
homepage http://podofo.sourceforge.net/
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 854981cb897ebc14bac854ea0f25305372261a48a205363fe1c61659ba7b5304 \
rmd160 a557330766b1795dd010937eb5c08ce7df671122
# cppunit required as a build dependency to enable build of podofo command line tools
path:lib/libssl.dylib:openssl \
# 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
-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='' \
-DCMAKE_CXX_FLAGS='-std=c++11'
livecheck.url http://podofo.sourceforge.net/download.html