set branch [join [lrange [split ${version} .] 0 1] .]
description a tool to composite images
long_description Enblend is a tool to composite overlapping images \
with invisible (or very difficult to see) seams. Enfuse is a \
tool for automatic exposure and contrast blending.
homepage http://enblend.sourceforge.net/
master_sites sourceforge:project/enblend/enblend-enfuse/enblend-enfuse-${branch}
distname enblend-enfuse-${version}
checksums rmd160 997a849a39da3f367b666c6d0d344059d97738d7 \
sha256 8703e324939ebd70d76afd350e56800f5ea2c053a040a5f5218b2a1a4300bd48 \
depends_build port:pkgconfig \
configure.args --with-openexr
# vigra header file requires C++11
compiler.cxx_standard 2011
configure.cxxflags-append -std=c++11
xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath} \
AUTHORS COPYING NEWS README \
${destroot}${prefix}/share/doc/${name}
livecheck.regex /enblend-enfuse-(\[0-9.\]+)${extract.suffix}