1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name QLandkarte |
---|
6 | version 0.7.3 |
---|
7 | distname ${name}_${version} |
---|
8 | maintainers openmaintainer |
---|
9 | description Use your Garmin GPS with Linux/MacOS |
---|
10 | long_description QLandkarte is a QT Application similar to Garmin's MapSource. |
---|
11 | homepage http://qlandkarte.sourceforge.net/ |
---|
12 | master_sites sourceforge:qlandkarte |
---|
13 | checksums md5 51f804235511f1c10ae8538f86743135 |
---|
14 | platforms darwin |
---|
15 | categories gis |
---|
16 | depends_lib port:proj\ |
---|
17 | port:libusb\ |
---|
18 | port:qt4-mac |
---|
19 | configure.args --with-extra-includes=/opt/local/include\ |
---|
20 | --with-extra-libs=/opt/local/lib |
---|
21 | # Can be removed once MacPorts 1.7.0 is released |
---|
22 | if {![info exists applications_dir]} { |
---|
23 | set applications_dir /Applications/MacPorts |
---|
24 | } |
---|
25 | |
---|
26 | destroot { |
---|
27 | xinstall -d ${destroot}${applications_dir} |
---|
28 | copy ${worksrcpath}/bin/${name}.app ${destroot}${applications_dir} |
---|
29 | system "ln -s ${applications_dir}/${name}.app/Contents/MacOS/${name} ${destroot}${prefix}/bin" |
---|
30 | } |
---|