diff --git a/geo/geoclue2/Makefile b/geo/geoclue2/Makefile new file mode 100644 index 00000000000..92e0c8eb974 --- /dev/null +++ b/geo/geoclue2/Makefile @@ -0,0 +1,43 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2013/09/26 08:41:46 jasper Exp $ + +COMMENT= modular geoinformation service on top of D-Bus + +VERSION= 2.0.0 +DISTNAME= geoclue-${VERSION} +PKGNAME= geoclue2-${VERSION} +CATEGORIES= geo devel + +HOMEPAGE= http://geoclue.freedesktop.org/ + +# LGPLv2 +PERMIT_PACKAGE_CDROM= Yes + +MASTER_SITES= http://freedesktop.org/software/geoclue/releases/${VERSION:R}/ +EXTRACT_SUFX= .tar.xz + +WANTLIB += c ffi gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 json-glib-1.0 +WANTLIB += m pcre pthread soup-2.4 sqlite3 xml2 z + +MODULES= devel/gettext \ + textproc/intltool + +LIB_DEPENDS = devel/libsoup \ + devel/json-glib + +USE_GMAKE= Yes + +CONFIGURE_STYLE= gnu +CONFIGURE_ARGS= ${CONFIGURE_SHARED} \ + --disable-gtk-doc +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +FAKE_FLAGS+= DBUS_SYS_DIR=${PREFIX}/share/examples/geoclue/ + +# If one of these tools is found at configure stage, it might be used, +# no matter whether we use --disable-gtk-doc or not. +CONFIGURE_ENV +=ac_cv_path_GTKDOC_CHECK="" \ + ac_cv_path_GTKDOC_REBASE="" \ + ac_cv_path_GTKDOC_MKPDF="" + +.include diff --git a/geo/geoclue2/distinfo b/geo/geoclue2/distinfo new file mode 100644 index 00000000000..206e754926e --- /dev/null +++ b/geo/geoclue2/distinfo @@ -0,0 +1,2 @@ +SHA256 (geoclue-2.0.0.tar.xz) = SoLxhOVaFj2G4K1pu+G7qZYLtQlCIP4fATULztqMZ6E= +SIZE (geoclue-2.0.0.tar.xz) = 284592 diff --git a/geo/geoclue2/pkg/DESCR b/geo/geoclue2/pkg/DESCR new file mode 100644 index 00000000000..711c3a1610d --- /dev/null +++ b/geo/geoclue2/pkg/DESCR @@ -0,0 +1,4 @@ +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. diff --git a/geo/geoclue2/pkg/PLIST b/geo/geoclue2/pkg/PLIST new file mode 100644 index 00000000000..0657476aef5 --- /dev/null +++ b/geo/geoclue2/pkg/PLIST @@ -0,0 +1,14 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2013/09/26 08:41:46 jasper Exp $ +lib/pkgconfig/ +lib/pkgconfig/geoclue-2.0.pc +@bin libexec/geoclue +share/dbus-1/ +share/dbus-1/system-services/ +share/dbus-1/system-services/org.freedesktop.GeoClue2.service +share/examples/geoclue/ +@sample ${SYSCONFDIR}/dbus-1/ +@sample ${SYSCONFDIR}/dbus-1/system.d/ +share/examples/geoclue/org.freedesktop.GeoClue2.conf +@sample ${SYSCONFDIR}/dbus-1/system.d/org.freedesktop.GeoClue2.conf +share/geoclue-2.0/ +share/geoclue-2.0/geoclue-interface.xml