# $Id: Portfile 75828 2011-02-10 02:51:29Z jmr@macports.org $

PortSystem          1.0

name                exact-image
version             0.8.4
categories          graphics
license             GPL-2
maintainers         tobias-elze.de:macports openmaintainer
description         a fast, modern and generic image processing library
long_description \
   ExactImage is ${description}.

platforms           darwin

homepage            http://www.exactcode.de/site/open_source/exactimage/
master_sites        http://dl.exactcode.de/oss/exact-image/

use_bzip2           yes
checksums           md5 a7f18ca4d2970d9e2d74bdea84990c78 \
                    sha1 36d946be607699e166e81fc451ee878f646a94c5 \
                    rmd160 0e60d5fc30c6d88ea4ae8e1a5c34e119c281204a

depends_lib         port:antigraingeometry \
                    port:libpng \
                    port:jasper \
                    port:expat \
                    port:lcms

patchfiles          codecs_png.cc.diff

configure.args      --with-freetype \
                    --with-libjpeg \
                    --with-libtiff \
                    --with-libpng \
                    --with-jasper \
                    --with-expat \
                    --with-lcms \
                    --without-libungif \
                    --without-lua \
                    --without-swig \
                    --without-perl \
                    --without-python \
                    --without-php \
                    --without-ruby
