source: trunk/dports/devel/geoclue2/Portfile

Last change on this file was 152493, checked in by mps@…, 13 months ago

geoclue2: update to version 2.4.4.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.4 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 152493 2016-09-11 14:22:44Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                geoclue2
7set gname           geoclue
8version             2.4.4
9set branch          [join [lrange [split ${version} .] 0 1] .]
10categories          devel net
11license             GPL-2+ LGPL-2.1+
12platforms           darwin
13maintainers         nomaintainer
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            https://www.freedesktop.org/wiki/Software/GeoClue/
18master_sites        https://www.freedesktop.org/software/geoclue/releases/${branch}/
19
20distname            ${gname}-${version}
21
22use_xz              yes
23
24checksums           rmd160  e7aa45164e81390fbd41c5a919fec939216fff80 \
25                    sha256  9c43fb9d0c12067ea64400500abb0640194947d4c2c55e38545afe5d9c5c315c
26
27depends_build       port:intltool \
28                    port:pkgconfig \
29                    port:gtk-doc \
30                    port:autoconf \
31                    port:automake \
32                    port:libtool
33
34depends_lib         path:lib/pkgconfig/glib-2.0.pc:glib2 \
35                    port:json-glib \
36                    port:libsoup
37
38# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
39
40post-patch {
41    xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
42}
43
44configure.cmd       ./autogen.sh
45
46configure.args      --disable-silent-rules \
47                    --disable-3g-source \
48                    --disable-cdma-source \
49                    --disable-modem-gps-source \
50                    --disable-nmea-source \
51                    --with-systemdsystemunitdir=no \
52                    --enable-compile-warnings=minimum
53
54variant debug description {Build with debug support} {
55    configure.args-append   --enable-debug
56}
57
58variant doc description {Build and install gtk-doc API docs} {
59    configure.args-append   --enable-gtk-doc
60}
61
62variant nmea description {Enable support for NMEA GPS sources using Avahi} {
63    depends_lib-append      port:avahi
64    configure.args-delete   --disable-nmea-source
65}
66   
67livecheck.type      regex
68livecheck.name      ${gname}
69livecheck.url       ${master_sites}
70livecheck.regex     ${gname}-(\[\\d.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.