source: trunk/dports/graphics/libraw/Portfile

Last change on this file was 148904, checked in by mcalhoun@…, 14 months ago

libraw: update version 0.16.2->0.17.2; add demosaic functionality; install documentation
revbump dependencies since library name changes

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# -*- 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
2# $Id: Portfile 148904 2016-05-22 17:47:18Z ryandesign@macports.org $
3
4PortSystem 1.0
5
6name             libraw
7version          0.17.2
8homepage         http://www.libraw.org/
9description      library for RAW images manipulation
10long_description      a library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others)
11categories       graphics
12platforms        darwin
13license          LGPL-2.1 CDDL GPL-2+ GPL-3+
14maintainers      pvanek openmaintainer
15
16master_sites     http://www.libraw.org/data/
17distname         LibRaw-${version}
18
19distfiles-append \
20    LibRaw-demosaic-pack-GPL2-${version}${extract.suffix} \
21    LibRaw-demosaic-pack-GPL3-${version}${extract.suffix}
22
23checksums \
24    LibRaw-${version}${extract.suffix} \
25    rmd160  92f6cbbcdc64e33b154f680a8dfdfe1ab8d7302f \
26    sha256  92b0c42c7666eca9307e5e1f97d6fefc196cf0b7ee089e22880259a76fafd15c \
27    LibRaw-demosaic-pack-GPL2-${version}${extract.suffix} \
28    rmd160  e6d3120134c723e44539863162918ed41d684128 \
29    sha256  a2e5e9cc04fa8f3e94070110dce8a06aa3b0b2f573ed99c5fc3e327d15f014b7 \
30    LibRaw-demosaic-pack-GPL3-${version}${extract.suffix} \
31    rmd160  b6e3d1cf8edc3c46b003cd52272a617bd1e5acef \
32    sha256  b00cd0f54851bd3c8a66be4cacbf049e4508f1bac8ff85cb4528d8979739ed36
33
34depends_build    port:pkgconfig
35
36depends_lib      port:jasper \
37                 port:jpeg   \
38                 port:lcms2
39
40post-destroot {
41    set htmlDir ${destroot}${prefix}/share/doc/${name}/html
42    xinstall -d -m 0755 ${htmlDir}
43    xinstall -m 644 {*}[glob -directory ${worksrcpath}/doc/ *.html] ${htmlDir}
44}
45
46livecheck.type  regex
47livecheck.url   http://www.libraw.org/download/
48livecheck.regex "LibRaw-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.