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

Last change on this file since 13710 was 13710, checked in by blb, 13 years ago

Port: dcraw
Version: 7.53

New port graphics/dcraw
Raw Digital Photo Decoding, supporting 181 cameras

  • Property svn:eol-style set to native
File size: 947 bytes
Line 
1# $Id: Portfile,v 1.1 2005/08/25 07:30:30 blb Exp $
2
3PortSystem                      1.0
4name                            dcraw
5version                         7.53
6categories                      graphics
7maintainers                     blb@pobox.com
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 95437b75b4db4313191e8d0b5a62a59e \
18                                        dcraw.1 md5 820272f1b98125d473c62abe4a36cc79
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.