# -*- 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 name libraw version 0.21.3 revision 0 checksums rmd160 c59c687d600c8e152124cca45c860e018fd70d26 \ sha256 dba34b7fc1143503942fa32ad9db43e94f714e62a4a856e91617f8f3e1e0aa5c \ size 1483982 description Library for RAW image manipulation long_description A library for reading RAW files obtained from digital photo \ cameras (CRW/CR2, NEF, RAF, DNG, and others). categories graphics license {LGPL-2.1 CDDL} maintainers nomaintainer homepage https://www.libraw.org master_sites ${homepage}/data/ distname LibRaw-${version} depends_build port:pkgconfig depends_lib port:jasper \ path:include/turbojpeg.h:libjpeg-turbo \ port:lcms2 use_autoreconf yes autoreconf.args -fvi # libraw_datastream.h:125:8: error: no template named 'unique_ptr' in namespace 'std' compiler.cxx_standard 2011 # disable openmp as it is not consistently applicable in MacPorts at present configure.args-append --disable-openmp configure.cppflags-append -DUSE_X3FTOOLS # don't hardcode a link against libstc++ patchfiles-append patch-libraw-no-libstdcxx.diff post-destroot { set htmlDir ${destroot}${prefix}/share/doc/${name}/html xinstall -d -m 0755 ${htmlDir} xinstall -m 644 {*}[glob -directory ${worksrcpath}/doc/ *.html] ${htmlDir} } livecheck.type regex livecheck.url ${homepage}/download/ livecheck.regex "LibRaw-(\\d+(?:\\.\\d+)*)${extract.suffix}"