# -*- 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 cmake 1.1 PortGroup qt5 1.0 PortGroup boost 1.0 name luminance-hdr version 2.6.1.1 revision 1 categories aqua graphics license GPL-2+ maintainers {mcalhoun @MarcusCalhoun-Lopez} openmaintainer description GUI for HDR imaging workflow long_description Qtpfsgui is an open source graphical user interface \ application that aims to provide a workflow for HDR imaging. homepage http://qtpfsgui.sourceforge.net/ master_sites sourceforge:project/qtpfsgui/luminance/${version} use_bzip2 yes depends_lib-append port:exiv2 \ path:share/pkgconfig/eigen3.pc:eigen3 \ port:openexr2 \ port:ilmbase \ port:fftw-3-single \ port:tiff \ port:libraw \ port:gsl \ path:include/turbojpeg.h:libjpeg-turbo \ port:lcms2 \ port:libpng \ port:cfitsio \ port:ccfits qt5.depends_component qtwebengine \ qttools \ sqlite-plugin depends_run-append port:hugin-app checksums rmd160 e001525fd077efd2eabe343d17182827860a6ee1 \ sha256 0c8b6bc162eeb2f88555880d128c2e37504362c48c4f3337f5fca7dbde5330a2 \ size 11569153 compiler.cxx_standard 2011 # see ${worksrcpath}/cmake/Version.cmake for LHDR_NAME and LHDR_OSX_EXECUTABLE_NAME values set ldhr_name "Luminance HDR" # do not put version in name patchfiles-append patch-Version.cmake.diff set executable_name ${ldhr_name} # recognize MacPorts as valid value for CMAKE_BUILD_TYPE patchfiles-append patch-cmake_build_type.diff # remove questionable compiler flags patchfiles-append patch-compiler_settings.diff # only include OpenMP header file if compiler supports it patchfiles-append patch-openmp.diff # do not install libraries provided by MacPorts patchfiles-append patch-no_copy.diff configure.env-append OPENEXR_ROOT_DIR=${prefix}/libexec/openexr2 destroot { file copy "${cmake.build_dir}/${executable_name}.app" ${destroot}${applications_dir} ln -s ${prefix}/bin/align_image_stack "${destroot}${applications_dir}/${executable_name}.app/Contents/MacOS/" ln -s "${applications_dir}/${executable_name}.app/Contents/MacOS/luminance-hdr-cli" ${destroot}${prefix}/bin/ xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name} } livecheck.regex {/qtpfsgui/files/luminance/([a-zA-Z0-9.]+\.[a-zA-Z0-9.]+)/}