1 | # $Id: $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name gphoto2 |
---|
5 | version 2.3.1 |
---|
6 | categories graphics |
---|
7 | maintainers nomaintainer@macports.org |
---|
8 | description command line interface to libgphoto2. |
---|
9 | long_description \ |
---|
10 | gphoto2 is the command line interface to libgphoto2. \ |
---|
11 | It allows almost everything that libgphoto2 can do. |
---|
12 | platforms darwin |
---|
13 | homepage http://www.gphoto.org/proj/gphoto2/ |
---|
14 | master_sites sourceforge:gphoto |
---|
15 | use_bzip2 yes |
---|
16 | checksums md5 00da102280dd5743d8f8b80173b4dd26 \ |
---|
17 | sha1 553668806d45d7db5926eb3963863a58da9032c1 \ |
---|
18 | rmd160 77b4325acbbace03ab5a70251f0b36d6c6d1a586 |
---|
19 | depends_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 | |
---|
29 | configure.env CFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib" \ |
---|
30 | POPT_CFLAGS="-I${prefix}/include" POPT_LIBS="-L${prefix}/lib -lpopt" |
---|
31 | configure.args --without-cdk --without-aalib |
---|
32 | |
---|
33 | destroot.target install-strip |
---|
34 | post-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 | } |
---|