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

Last change on this file since 15420 was 15420, checked in by blb, 14 years ago

Port: dcraw
Version: 7.93

Update port graphics/dcraw
Version bump to 7.93

  • Property svn:eol-style set to native
File size: 952 bytes
Line 
1# $Id: Portfile,v 1.7 2005/12/11 09:12:15 blb Exp $
2
3PortSystem                      1.0
4name                            dcraw
5version                         7.93
6categories                      graphics
7maintainers                     blb@opendarwin.org
8description                     Raw Digital Photo Decoding, supporting 181 cameras
9long_description        ${description}
10
11platforms                       darwin
12
13homepage                        http://www.cybercom.net/~dcoffin/dcraw/
14master_sites            ${homepage}
15distfiles                       dcraw.c dcraw.1
16
17checksums                       dcraw.c md5 7b830a3dfc1a109c99e3193cd6cb5ef3 \
18                                        dcraw.1 md5 9c091d19e6c4cc2d42b1b5624caf9dc5
19
20depends_lib                     lib:libjpeg:jpeg
21
22extract {
23        xinstall -m 755 -d ${worksrcpath}
24}
25
26use_configure           no
27
28build {
29        cd ${worksrcpath}
30        system "cc -o dcraw -O3 ${distpath}/dcraw.c -ljpeg -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 ${distpath} dcraw.1 ${destroot}${prefix}/share/man/man1
39}
40
Note: See TracBrowser for help on using the repository browser.