# -*- 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 # $Id: Portfile 147899 2016-04-20 04:13:59Z ryandesign@macports.org $ PortSystem 1.0 name geoclue version 0.12.99 revision 5 categories devel net license LGPL-2.1+ platforms darwin maintainers nomaintainer description Geolocation library 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. homepage https://www.freedesktop.org/wiki/Software/GeoClue/ master_sites https://people.freedesktop.org/~hadess/ checksums sha1 32958b36e679c9fb9b35b25d29c43d5ae6a0be27 \ rmd160 f95c8a0aac9ef1d0a011fc2cfc151f62bf400a6c \ sha256 fe396c91cb52de4219281f4d9223156338fc03670d34700281e86d1399b80a72 patchfiles \ geoclue-0.12.99-gpsd.patch depends_build \ port:pkgconfig depends_lib \ port:gtk2 \ port:dbus-glib \ port:libsoup # this old version of geoclue will not build with gpsd API 6.0+ (gpsd 3.12+) # current geoclue2 versions no longer support gpsd, drop gpsd support here as well # https://trac.macports.org/ticket/47459 configure.args --disable-gpsd \ --disable-schemas-compile \ --disable-silent-rules post-activate { system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas" } livecheck.type regex livecheck.url ${master_sites} livecheck.regex ${name}-(\[\\d.\]+)${extract.suffix}