source: trunk/dports/gis/qlandkarte/Portfile

Last change on this file was 105658, checked in by jmr@…, 4 years ago

qlandkarte: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
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: Portfile 105658 2013-04-29 23:07:57Z ryandesign@macports.org $
3
4PortSystem       1.0
5PortGroup        qt4 1.0
6
7name             qlandkarte
8categories       gis
9license          GPL-2+
10version          0.7.3
11revision         4
12platforms        darwin
13maintainers      nomaintainer
14
15description      Use your Garmin GPS with Linux/Mac OS X
16long_description "QLandkarte is a QT Application similar to Garmin's MapSource."
17
18homepage         http://qlandkarte.sourceforge.net/
19master_sites     sourceforge:project/qlandkarte/qlandkarte/QLandkarte-${version}
20distname         QLandkarte_${version}
21
22checksums        md5 51f804235511f1c10ae8538f86743135
23
24depends_lib-append port:proj \
25                 port:libusb-compat
26
27configure.args   --with-extra-includes=${prefix}/include\
28                 --with-extra-libs=${prefix}/lib \
29                 --with-qt-dir=${qt_dir}
30
31post-patch {
32    # fix lack of CoreFoundation after libgarmin.a
33    foreach pro_file { EtrexLegendC/EtrexLegendC.pro \
34                       EtrexLegendCx/EtrexLegendCx.pro \
35                       GPSMap60CSx/GPSMap60CSx.pro \
36                       whatGarmin/whatGarmin.pro } {
37        reinplace "s|IOKit|IOKit -framework CoreFoundation|" \
38            ${worksrcpath}/src/device/${pro_file}
39    }
40}
41
42destroot {
43    xinstall -d ${destroot}${applications_dir}
44    copy ${worksrcpath}/bin/QLandkarte.app ${destroot}${applications_dir}
45    ln -s ${applications_dir}/QLandkarte.app/Contents/MacOS/QLandkarte ${destroot}${prefix}/bin
46    foreach plugin [glob -directory ${worksrcpath}/bin/plugins *] {
47        copy ${plugin} ${destroot}${applications_dir}/QLandkarte.app/Contents/Resources/plugins/
48    }
49}
Note: See TracBrowser for help on using the repository browser.