# $Id: Portfile 51715 2009-06-01 09:45:36Z and.damore@macports.org $

PortSystem              1.0

name                    libharu
version                 2.1.0
revision    0
categories              print
platforms               darwin
maintainers             and.damore openmaintainer
description             libHaru is a free, cross platform, open source library for generating PDF \
files. 
long_description        ${description} \
                        It supports 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.      Supporting CJK fonts and encodings.

homepage                http://libharu.org
master_sites            ${homepage}/files/
use_bzip2               yes

depends_lib             port:libpng

checksums   md5  f6ceb28bd538757398b2180fe200faed \
      sha1  1656f5ffeeb566240be2b24ade3849d22e2a0594 \
      rmd160  923684a2f127ef0a738d840bc50112f8eb829249

configure.args-append --with-png=${prefix} \
                      --with-zlib=${prefix}
