Ticket #41559: Portfile

File Portfile, 1.5 KB (added by dbevans (David B. Evans), 10 years ago)

Preliminary Portfile for geocode2

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 112023 2013-10-09 22:55:42Z devans@macports.org $
3
4PortSystem          1.0
5
6name                geoclue2
7set gname           geoclue
8version             2.0.0
9set branch          [join [lrange [split ${version} .] 0 1] .]
10categories          devel net
11license             LGPL-2.1+
12platforms           darwin
13maintainers         jeremyhu openmaintainer
14description         Geolocation library
15long_description    Geoclue is a modular geoinformation service built on top of the D-Bus messaging system. The goal of the Geoclue project is to make creating location-aware applications as simple as possible.
16
17homepage            http://www.freedesktop.org/wiki/Software/GeoClue
18master_sites        http://www.freedesktop.org/software/geoclue/releases/${branch}
19
20distname            ${gname}-${version}
21
22use_xz              yes
23
24checksums           rmd160  19fee4e09a1999f0a9e63d35cf3aa149772523ea \
25                    sha256  4a82f184e55a163d86e0ad69bbe1bba9960bb5094220fe1f01350bceda8c67a1
26
27depends_build   \
28        port:pkgconfig
29
30depends_lib     \
31        port:gpsd \
32        port:gtk2 \
33        port:dbus-glib \
34        port:libsoup
35
36configure.args      --disable-schemas-compile
37
38post-activate {
39        system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas" 
40}
41
42livecheck.type      regex
43livecheck.name      ${gname}
44livecheck.url       ${master_sites}
45livecheck.regex     ${gname}-(\[\\d.\]+)${extract.suffix}