Ticket #16377: Portfile

File Portfile, 905 bytes (added by mbarchfe@…, 16 years ago)

Portfile for QLandkarte

Line 
1# $Id$
2
3PortSystem 1.0
4
5name            QLandkarte
6version         0.7.3
7distname        ${name}_${version}
8maintainers             openmaintainer
9description             Use your Garmin GPS with Linux/MacOS
10long_description        QLandkarte is a QT Application similar to Garmin's MapSource.
11homepage        http://qlandkarte.sourceforge.net/
12master_sites    sourceforge:qlandkarte
13checksums       md5 51f804235511f1c10ae8538f86743135
14platforms       darwin
15categories      gis
16depends_lib     port:proj\
17                port:libusb\
18                port:qt4-mac
19configure.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
22if {![info exists applications_dir]} {
23    set applications_dir /Applications/MacPorts
24}
25
26destroot {
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}