# -*- 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 # $Id$ PortSystem 1.0 name libraw version 0.17.2 homepage http://www.libraw.org/ description library for RAW images manipulation long_description a library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others) categories graphics platforms darwin license LGPL-2.1 CDDL GPL-2+ GPL-3+ maintainers pvanek openmaintainer master_sites http://www.libraw.org/data/ distname LibRaw-${version} distfiles-append \ LibRaw-demosaic-pack-GPL2-${version}${extract.suffix} \ LibRaw-demosaic-pack-GPL3-${version}${extract.suffix} checksums \ LibRaw-${version}${extract.suffix} \ rmd160 92f6cbbcdc64e33b154f680a8dfdfe1ab8d7302f \ sha256 92b0c42c7666eca9307e5e1f97d6fefc196cf0b7ee089e22880259a76fafd15c \ LibRaw-demosaic-pack-GPL2-${version}${extract.suffix} \ rmd160 e6d3120134c723e44539863162918ed41d684128 \ sha256 a2e5e9cc04fa8f3e94070110dce8a06aa3b0b2f573ed99c5fc3e327d15f014b7 \ LibRaw-demosaic-pack-GPL3-${version}${extract.suffix} \ rmd160 b6e3d1cf8edc3c46b003cd52272a617bd1e5acef \ sha256 b00cd0f54851bd3c8a66be4cacbf049e4508f1bac8ff85cb4528d8979739ed36 depends_build port:pkgconfig depends_lib port:jasper \ port:jpeg \ port:lcms2 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 http://www.libraw.org/download/ livecheck.regex "LibRaw-(\\d+(?:\\.\\d+)*)${extract.suffix}"