1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name gpsphoto |
---|
6 | version 1.157 |
---|
7 | categories gis |
---|
8 | maintainers puffin.lb.shuttle.de:michael.klein openmaintainer |
---|
9 | description geotagging utility for digital photos |
---|
10 | long_description ${name} geotags digital photos by using GPS track \ |
---|
11 | data recorded at the same time. Matches are based on \ |
---|
12 | closest timestamps. An optionally generated Google \ |
---|
13 | Earth KML or KMZ file contains the GPS tracks and the \ |
---|
14 | geotagged photos. |
---|
15 | |
---|
16 | platforms darwin |
---|
17 | supported_archs noarch |
---|
18 | homepage http://www.carto.net/projects/photoTools/gpsPhoto |
---|
19 | |
---|
20 | master_sites http://gps2photo.cvs.sourceforge.net/viewvc/gps2photo/gpsPhoto/src |
---|
21 | |
---|
22 | extract.suffix |
---|
23 | use_configure no |
---|
24 | |
---|
25 | dist_subdir ${name}/${version} |
---|
26 | distname gpsPhoto.pl |
---|
27 | worksrcdir . |
---|
28 | |
---|
29 | checksums rmd160 2ee71e9d76b66e3f595a77d51901c365a232fd16 \ |
---|
30 | sha256 642e00054a7a877cf0bdd1107d5a92950fd2f20c6ceeeeaa9fba018d8515644e |
---|
31 | |
---|
32 | depends_lib port:p5-image-exiftool port:p5-xml-parser |
---|
33 | |
---|
34 | fetch { |
---|
35 | eval curl fetch ${master_sites}/${distname}?revision=${version} ${distpath}/${distname} |
---|
36 | } |
---|
37 | |
---|
38 | extract { |
---|
39 | file copy ${distpath}/${distname} ${worksrcpath} |
---|
40 | } |
---|
41 | |
---|
42 | patch { |
---|
43 | reinplace "s,/usr/bin/perl,${prefix}/bin/perl," ${worksrcpath}/${distname} |
---|
44 | } |
---|
45 | |
---|
46 | build { |
---|
47 | system "cd ${worksrcpath} && pod2man < ${distname} > ${distname}.1" |
---|
48 | } |
---|
49 | |
---|
50 | destroot { |
---|
51 | xinstall -m 755 ${worksrcpath}/${distname} ${destroot}/${prefix}/bin |
---|
52 | xinstall -m 444 ${worksrcpath}/${distname}.1 ${destroot}/${prefix}/share/man/man1 |
---|
53 | } |
---|
54 | |
---|
55 | livecheck.type regex |
---|
56 | livecheck.url ${master_sites} |
---|
57 | livecheck.regex {^# \$Id: gpsPhoto.pl,v ([0-9.]+)} |
---|