# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup boost 1.0 PortGroup compiler_blacklist_versions 1.0 name enblend version 4.2 revision 5 set branch [join [lrange [split ${version} .] 0 1] .] categories graphics maintainers nomaintainer license GPL-2+ 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} platforms darwin distname enblend-enfuse-${version} checksums rmd160 997a849a39da3f367b666c6d0d344059d97738d7 \ sha256 8703e324939ebd70d76afd350e56800f5ea2c053a040a5f5218b2a1a4300bd48 \ size 777747 depends_build port:pkgconfig \ port:texlive-latex \ port:help2man depends_lib port:glew \ port:gnuplot \ port:gsl \ path:include/turbojpeg.h:libjpeg-turbo \ port:lcms2 \ port:libpng \ port:libxmi \ port:mesa \ port:openexr2 \ port:vigra configure.args --with-openexr configure.pkg_config_path-append \ ${prefix}/libexec/openexr2/lib/pkgconfig # vigra header file requires C++11 compiler.cxx_standard 2011 configure.cxxflags-append -std=c++11 # Avoid Xcode Clang 9 and earlier, due to crash # See: https://trac.macports.org/ticket/65694 compiler.blacklist-append \ {clang < 1000} post-patch { # avoid c++17 header collision move ${worksrcpath}/VERSION ${worksrcpath}/VERSION.txt } post-destroot { 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}