# -*- 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$ PortSystem 1.0 name geoclue2 set gname geoclue version 2.2.0 set branch [join [lrange [split ${version} .] 0 1] .] 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 http://www.freedesktop.org/wiki/Software/GeoClue master_sites http://www.freedesktop.org/software/geoclue/releases/${branch} distname ${gname}-${version} use_xz yes checksums rmd160 4155d35e452016a9a1c280bdea9b7e744de94a7d \ sha256 a490de0d4f97cb65f81e9fd0f687c7e84ef2c41509c214a1438964f541c7d446 depends_build port:intltool \ port:pkgconfig \ port:gtk-doc \ port:autoconf \ port:automake \ port:libtool depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \ port:json-glib \ port:libsoup # reconfigure using upstream autogen.sh for intltool 0.51 compatibility post-patch { xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath} } configure.cmd ./autogen.sh configure.args --disable-3g-source \ --disable-cdma-source \ --disable-modem-gps-source \ --enable-compile-warnings=minimum post-activate { system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas" } livecheck.type regex livecheck.name ${gname} livecheck.url ${master_sites} livecheck.regex ${gname}-(\[\\d.\]+)${extract.suffix}