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

Last change on this file since 20309 was 20309, checked in by blair@…, 13 years ago

Set the svn:keywords property to 'Id' for all Portfile's. This
re-enables the Id keyword substitution that was present in the CVS
repository.

See this thread for more information:
http://lists.macosforge.org/pipermail/macports-dev/2006-October/000180.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 20309 2006-11-01 21:25:57Z blair@macports.org $
2
3PortSystem                      1.0
4name                            dcraw
5version                         8.19
6categories                      graphics
7maintainers                     darwinports@opendarwin.org
8description                     Raw Digital Photo Decoding, supporting 209 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 fc0c316efc0babf2efaab49b9ac6d048 \
21                                        sha1 3879b53b9a032f11e653f5342be9cde00d9fceb1 \
22                                        rmd160 1a454ab230ca5fe950bf664cccf24a939cf59fdb
23
24
25depends_lib                     port:jpeg port:lcms
26
27use_configure           no
28
29build {
30        cd ${worksrcpath}
31        system "cc -o dcraw -O3 dcraw.c -ljpeg -llcms -I${prefix}/include \
32                -L${prefix}/lib"
33}
34
35destroot {
36        xinstall -m 755 -d ${destroot}${prefix}/bin \
37                ${destroot}${prefix}/share/man/man1
38        xinstall -m 755 -W ${worksrcpath} dcraw ${destroot}${prefix}/bin
39        xinstall -m 644 -W ${worksrcpath} dcraw.1 \
40                ${destroot}${prefix}/share/man/man1
41}
42
Note: See TracBrowser for help on using the repository browser.