Ticket #11508: Portfile

File Portfile, 1.1 KB (added by takanori@…, 17 years ago)
Line 
1# $Id: $
2
3PortSystem      1.0
4name            gphoto2
5version         2.3.1
6categories      graphics
7maintainers     nomaintainer@macports.org
8description     command line interface to libgphoto2.
9long_description \
10                gphoto2 is the command line interface to libgphoto2. \
11                It allows almost everything that libgphoto2 can do.
12platforms       darwin
13homepage        http://www.gphoto.org/proj/gphoto2/
14master_sites    sourceforge:gphoto
15use_bzip2       yes
16checksums       md5 00da102280dd5743d8f8b80173b4dd26 \
17                sha1 553668806d45d7db5926eb3963863a58da9032c1 \
18                rmd160 77b4325acbbace03ab5a70251f0b36d6c6d1a586
19depends_lib     port:gettext \
20                port:jpeg \
21                port:libexif \
22                port:libgphoto2 \
23                port:libiconv \
24                port:libusb \
25                port:pkgconfig \
26                port:popt \
27                port:readline
28
29configure.env   CFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib" \
30                POPT_CFLAGS="-I${prefix}/include" POPT_LIBS="-L${prefix}/lib -lpopt"
31configure.args  --without-cdk --without-aalib
32
33destroot.target install-strip
34post-destroot {
35        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
36        xinstall -m 644 -W ${worksrcpath} COPYING ChangeLog INSTALL NEWS README TODO \
37                ${destroot}${prefix}/share/doc/${name}
38}