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 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name geoclue2 |
---|
7 | set gname geoclue |
---|
8 | version 2.0.0 |
---|
9 | set branch [join [lrange [split ${version} .] 0 1] .] |
---|
10 | categories devel net |
---|
11 | license LGPL-2.1+ |
---|
12 | platforms darwin |
---|
13 | maintainers jeremyhu openmaintainer |
---|
14 | description Geolocation library |
---|
15 | long_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 | |
---|
17 | homepage http://www.freedesktop.org/wiki/Software/GeoClue |
---|
18 | master_sites http://www.freedesktop.org/software/geoclue/releases/${branch} |
---|
19 | |
---|
20 | distname ${gname}-${version} |
---|
21 | |
---|
22 | use_xz yes |
---|
23 | |
---|
24 | checksums rmd160 19fee4e09a1999f0a9e63d35cf3aa149772523ea \ |
---|
25 | sha256 4a82f184e55a163d86e0ad69bbe1bba9960bb5094220fe1f01350bceda8c67a1 |
---|
26 | |
---|
27 | depends_build \ |
---|
28 | port:pkgconfig |
---|
29 | |
---|
30 | depends_lib \ |
---|
31 | port:gpsd \ |
---|
32 | port:gtk2 \ |
---|
33 | port:dbus-glib \ |
---|
34 | port:libsoup |
---|
35 | |
---|
36 | configure.args --disable-schemas-compile |
---|
37 | |
---|
38 | post-activate { |
---|
39 | system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas" |
---|
40 | } |
---|
41 | |
---|
42 | livecheck.type regex |
---|
43 | livecheck.name ${gname} |
---|
44 | livecheck.url ${master_sites} |
---|
45 | livecheck.regex ${gname}-(\[\\d.\]+)${extract.suffix} |
---|