# $Id: Portfile 64763 2010-03-15 16:31:33Z nox@macports.org $

PortSystem          1.0

name                vigra
version             1.6.0
revision            3
categories          graphics
platforms           darwin
maintainers         gmail.com:benjamin.seppke
description         Generic Image Processing Library for C++
long_description    VIGRA stands for \"Vision with Generic Algorithms\". \
                    It's a novel computer vision library that puts its \
                    main emphasis on customizable algorithms and data \
                    structures. By using template techniques similar to \
                    those in the C++ Standard Template Library, you can \
                    easily adapt any VIGRA component to the needs of your \
                    application, without thereby giving up execution speed.
homepage            http://kogs-www.informatik.uni-hamburg.de/~koethe/vigra/
master_sites        ${homepage}
distname            ${name}${version}
use_parallel_build  yes
universal_variant   no

checksums           md5 d62650a6f908e85643e557a236ea989c \
                    sha1 9714a0c4efb77726a1140329e98e5db057f9a69f \
                    rmd160 cc9f6626801182a0ee71ec9eb8fa34c38f8777a7

depends_lib         port:jpeg \
                    port:tiff \
                    port:libpng \
                    port:zlib \
                    port:fftw-3 \
                    port:doxygen

configure.args      --docdir=\\\${prefix}/share/doc/${name}-${version} \
                    --with-jpeg \
                    --with-tiff \
                    --with-png \
                    --with-zlib \
                    --with-fftw

destroot.destdir    prefix=${destroot}${prefix}

livecheck.type      regex
livecheck.url       ${homepage}
livecheck.regex     ${name}(\[0-9.\]+)\\.tar
