# -*- 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 libharu version 2.3.0 categories print platforms darwin maintainers nomaintainer license zlib description a free, cross platform, open source library for generating PDF files long_description ${description} supporting the following features: \ 1. Generating PDF files with lines, text, images. \ 2. Outline, text annotation, link annotation. \ 3. Compressing document with deflate-decode. \ 4. Embedding PNG, Jpeg images. \ 5. Embedding Type1 font and TrueType font. \ 6. Creating encrypted PDF files. \ 7. Using various character sets (ISO8859-1~16, MSCP1250~8, KOI8-R). \ 8. CJK fonts and encodings. homepage http://libharu.org master_sites https://github.com/${name}/${name}/archive/ depends_lib port:libpng \ port:zlib regsub -all {\.} ${version} {_} versu distname RELEASE_${versu} worksrcdir ${name}-${distname} checksums rmd160 c90ec08c3cc04e4d93f6aa9565368dd3a31a74bc \ sha256 8f9e68cc5d5f7d53d1bc61a1ed876add1faf4f91070dbc360d8b259f46d9a4d2 patchfiles patch-CMakeLists.txt.diff cmake.out_of_source yes configure.args-append \ -DPNG_INCLUDE_DIR=${prefix}/include \ -DPNG_LIBRARIES=${prefix}/lib/libpng.dylib \ -DZLIB_INCLUDE_DIR=${prefix}/include \ -DZLIB_LIBRARIES=${prefix}/lib/libz.dylib livecheck.type regex livecheck.url ${homepage} livecheck.regex v(\[0-9.\]+)