PortSystem 1.0

name             pngmeta
version          1.11
revision         4
categories       graphics
license          zlib
description      Pngmeta is a tool for extracting metadata from PNG (Portable Network Graphics) files.
long_description ${description}
homepage         http://pmt.sourceforge.net/pngmeta/
platforms        darwin freebsd
maintainers      nomaintainer
master_sites     sourceforge:pmt
checksums        md5 5d495f7668f7ccc64a1576c8cfd15506
depends_lib      port:libpng port:zlib

patchfiles          patch-pngmeta.c.diff

configure.args   --with-png-includes="${prefix}/include" \
                  --with-png-lib="${prefix}/lib" \
                  --with-png="${prefix}/include" --with-zlib="${prefix}/include" \
                  --with-zlib-includes="${prefix}/include" \
                  --with-zlib-lib="${prefix}/lib"
test.run         yes
test.target      check