source: trunk/dports/graphics/dcraw/Portfile @ 17254

Last change on this file since 17254 was 17254, checked in by blb, 12 years ago

Port: dcraw
Version: 8.10

Update port graphics/dcraw
Version bump to 8.10; add sha1 and rmd160

  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
1# $Id: Portfile,v 1.11 2006/03/31 08:05:09 blb Exp $
2
3PortSystem                      1.0
4name                            dcraw
5version                         8.10
6categories                      graphics
7maintainers                     blb@opendarwin.org
8description                     Raw Digital Photo Decoding, supporting 205 cameras
9long_description        ${description}
10
11platforms                       darwin
12
13homepage                        http://www.cybercom.net/~dcoffin/dcraw/
14# dcraw is provided as raw source and man page (no tarball/zipfile), so
15# a tarball is placed here to avoid the regular checksum issues when the .c
16# file is updated to a new version
17master_sites            http://www.opendarwin.org/~blb/
18use_bzip2                       yes
19
20checksums                       md5 902142155dbd5e12297caacfd40bce93 \
21                                        sha1 cc11e3928f1223422358ff628d8eed0b4b8e9045 \
22                                        rmd160 e4d1a3a72a5ff6a52f971752d5f90eeffe2cc43b
23
24depends_lib                     port:jpeg port:lcms
25
26use_configure           no
27
28build {
29        cd ${worksrcpath}
30        system "cc -o dcraw -O3 dcraw.c -ljpeg -llcms -I${prefix}/include \
31                -L${prefix}/lib"
32}
33
34destroot {
35        xinstall -m 755 -d ${destroot}${prefix}/bin \
36                ${destroot}${prefix}/share/man/man1
37        xinstall -m 755 -W ${worksrcpath} dcraw ${destroot}${prefix}/bin
38        xinstall -m 644 -W ${worksrcpath} dcraw.1 \
39                ${destroot}${prefix}/share/man/man1
40}
41
Note: See TracBrowser for help on using the repository browser.