1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name geotrans |
---|
7 | version 3.2 |
---|
8 | platforms darwin |
---|
9 | categories gis |
---|
10 | |
---|
11 | license NGA |
---|
12 | # http://earth-info.nga.mil/GandG/geotrans/docs/MSP_GeoTrans_Terms_of_Use.pdf |
---|
13 | |
---|
14 | maintainers openmaintainer mit.edu:klee hadronindustries.com:klee.dienes |
---|
15 | description MSP GEOTRANS (Geographic Translator) |
---|
16 | long_description Convert geographic coordinates among a wide variety of coordinate systems, map projections, and datums. |
---|
17 | |
---|
18 | homepage http://earth-info.nga.mil/GandG/geotrans/ |
---|
19 | master_sites http://earth-info.nga.mil/GandG/geotrans/geotrans3.2/ |
---|
20 | |
---|
21 | distfiles master.tgz |
---|
22 | |
---|
23 | checksums rmd160 f748001737becc4ac9e2e6aec00104e06ab17b9d \ |
---|
24 | sha256 0806d8f492e2698e1617093d4e7eb7b74ad8a28d6581dc6675e36067299e399f |
---|
25 | |
---|
26 | patchfiles autotools.diff datadir.diff |
---|
27 | worksrcdir ${name}${version} |
---|
28 | |
---|
29 | use_autoreconf yes |
---|
30 | autoreconf.dir ${worksrcpath}/CCS/autotools |
---|
31 | automake.dir ${worksrcpath}/CCS/autotools |
---|
32 | autoconf.dir ${worksrcpath}/CCS/autotools |
---|
33 | configure.dir ${worksrcpath}/CCS/autotools |
---|
34 | build.dir ${worksrcpath}/CCS/autotools |
---|
35 | |
---|
36 | variant debug description { Include debug symbols } { |
---|
37 | configure.args-append --enable-debug |
---|
38 | configure.cflags-append -g |
---|
39 | configure.cxxflags-append -g |
---|
40 | configure.cflags-delete -O1 -O2 -O3 -mtune=native |
---|
41 | configure.cxxflags-delete -O1 -O2 -O3 -mtune=native |
---|
42 | post-destroot { |
---|
43 | ui_debug "Generating debug symbols: find ${destroot}${prefix} -type f -name '*.dylib' -exec dsymutil {} +" |
---|
44 | system -W ${destroot}${prefix} "find . -type f -name *.dylib -exec dsymutil {} +" |
---|
45 | } |
---|
46 | } |
---|