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

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

Port: dcraw
Version: 7.90

Update port graphics/dcraw
Fix version to match new checksum

  • Property svn:eol-style set to native
File size: 952 bytes
Line 
1# $Id: Portfile,v 1.6 2005/12/06 21:52:04 blb Exp $
2
3PortSystem                      1.0
4name                            dcraw
5version                         7.90
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 a4f9796703a45ac93af92afc78229772 \
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.