summaryrefslogtreecommitdiff
path: root/net/geoclue
diff options
context:
space:
mode:
Diffstat (limited to 'net/geoclue')
-rw-r--r--net/geoclue/Makefile25
-rw-r--r--net/geoclue/distinfo2
-rw-r--r--net/geoclue/pkg-descr6
-rw-r--r--net/geoclue/pkg-plist11
4 files changed, 44 insertions, 0 deletions
diff --git a/net/geoclue/Makefile b/net/geoclue/Makefile
new file mode 100644
index 000000000000..c646cb2a353e
--- /dev/null
+++ b/net/geoclue/Makefile
@@ -0,0 +1,25 @@
+# Created by: Gustau Perez i Querol <gustau.perez@gmail.com>
+# $FreeBSD$
+# $MCom: ports/trunk/net/geoclue/Makefile 20032 2014-11-02 21:57:34Z kwm $
+
+PORTNAME= geoclue
+PORTVERSION= 2.1.9
+CATEGORIES= net devel gnome
+MASTER_SITES= http://www.freedesktop.org/software/geoclue/releases/2.1/
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= D-Bus service that provides location information
+
+LIB_DEPENDS= libjson-glib-1.0.so:${PORTSDIR}/devel/json-glib \
+ libsoup-2.4.so:${PORTSDIR}/devel/libsoup
+
+USES= gettext gmake pathfix pkgconfig tar:xz
+USE_GNOME= glib20 intlhack
+GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
+CONFIGURE_ARGS= --disable-3g-source \
+ --disable-modem-gps-source
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+
+.include <bsd.port.mk>
diff --git a/net/geoclue/distinfo b/net/geoclue/distinfo
new file mode 100644
index 000000000000..0abe556c133c
--- /dev/null
+++ b/net/geoclue/distinfo
@@ -0,0 +1,2 @@
+SHA256 (geoclue-2.1.9.tar.xz) = b416eea6042d774359f7a141e4e57704c3220363ab8e0bf5c212b1bd2976092b
+SIZE (geoclue-2.1.9.tar.xz) = 331532
diff --git a/net/geoclue/pkg-descr b/net/geoclue/pkg-descr
new file mode 100644
index 000000000000..309b3a07c86f
--- /dev/null
+++ b/net/geoclue/pkg-descr
@@ -0,0 +1,6 @@
+Geoclue is a D-Bus service that provides location information. The primary goal of
+the Geoclue project is to make creating location-aware applications as simple as
+possible, while the secondary goal is to ensure that no application can access location
+information without explicit permission from user.
+
+WWW: http://geoclue.freedesktop.org/
diff --git a/net/geoclue/pkg-plist b/net/geoclue/pkg-plist
new file mode 100644
index 000000000000..ab7295579269
--- /dev/null
+++ b/net/geoclue/pkg-plist
@@ -0,0 +1,11 @@
+etc/dbus-1/system.d/org.freedesktop.GeoClue2.Agent.conf
+etc/dbus-1/system.d/org.freedesktop.GeoClue2.conf
+%%ETCDIR%%/geoclue.conf
+libdata/pkgconfig/geoclue-2.0.pc
+libexec/geoclue
+libexec/geoclue-2.0/demos/where-am-i
+share/applications/geoclue-demo-agent.desktop
+share/applications/geoclue-where-am-i.desktop
+share/dbus-1/interfaces/org.freedesktop.GeoClue2.Agent.xml
+share/dbus-1/interfaces/org.freedesktop.GeoClue2.xml
+share/dbus-1/system-services/org.freedesktop.GeoClue2.service