Ticket #26773: Portfile

File Portfile, 1.3 KB (added by mklein-de (Michael Klein), 14 years ago)

fixed livecheck once again

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$
3
4PortSystem       1.0
5
6PortGroup        cmake 1.0
7
8name             qlandkartegt-garmindev
9categories       gis
10version          0.3.4
11revision         2
12platforms        darwin
13maintainers      puffin.lb.shuttle.de:michael.klein
14
15description      Garmin device plugins for QLandkarteGT
16long_description Garmin device plugins for QLandkarteGT
17
18depends_run      port:qlandkartegt
19
20homepage         http://www.qlandkarte.org/
21master_sites     sourceforge:qlandkartegt
22distname         garmindev-${version}
23
24patchfiles       GPSMap60CSx+SummitHC.LinuxPPC.diff Disable-DBG.diff
25
26checksums        md5     ff52c697d6e2a720b6b4a9c7544b231d \
27                 sha1    0349f0d9f486de22440d6d028c8e092c32faf83a \
28                 rmd160  f35f4274775bdcac69a1b2973afbde7bec3c78da
29
30set drivers_dir  "${applications_dir}/QLandkarte GT.app/Contents/Resources/Drivers"
31
32destroot {
33    xinstall -d ${destroot}${drivers_dir}
34    foreach plugin [glob ${worksrcpath}/qlandkartegt/*.dylib] {
35        copy ${plugin} ${destroot}${drivers_dir}
36    }
37}
38
39livecheck.url    "http://sourceforge.net/api/file/index/project-id/212192/mtime/desc/rss"
40livecheck.regex  garmindev-(\[0-9.\]+)${extract.suffix}