summaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-02-24 18:00:51 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-02-24 18:00:51 +0800
commit52abf93ad649b2c30d10adbecf3f845fe965e3b3 (patch)
tree7e5cf1680f067bb7890f99a2b072e3f68c632104 /sysutils
parent4a74cf9e057966634ac1b7ab637f0464daced523 (diff)
downloadmarcuscom-ports-52abf93ad649b2c30d10adbecf3f845fe965e3b3.tar
marcuscom-ports-52abf93ad649b2c30d10adbecf3f845fe965e3b3.tar.gz
marcuscom-ports-52abf93ad649b2c30d10adbecf3f845fe965e3b3.tar.bz2
marcuscom-ports-52abf93ad649b2c30d10adbecf3f845fe965e3b3.tar.lz
marcuscom-ports-52abf93ad649b2c30d10adbecf3f845fe965e3b3.tar.xz
marcuscom-ports-52abf93ad649b2c30d10adbecf3f845fe965e3b3.tar.zst
marcuscom-ports-52abf93ad649b2c30d10adbecf3f845fe965e3b3.zip
Update to 0.9.8.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@15297 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/upower/Makefile50
-rw-r--r--sysutils/upower/distinfo2
-rw-r--r--sysutils/upower/pkg-descr6
-rw-r--r--sysutils/upower/pkg-plist40
4 files changed, 98 insertions, 0 deletions
diff --git a/sysutils/upower/Makefile b/sysutils/upower/Makefile
new file mode 100644
index 000000000..4397c75f0
--- /dev/null
+++ b/sysutils/upower/Makefile
@@ -0,0 +1,50 @@
+# New ports collection makefile for: DeviceKit-power
+# Date Created: 30 December 2009
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom: ports/sysutils/upower/Makefile,v 1.19 2010/10/05 08:30:15 kwm Exp $
+#
+
+PORTNAME= upower
+PORTVERSION= 0.9.8
+CATEGORIES= sysutils
+MASTER_SITES= http://upower.freedesktop.org/releases/
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= D-Bus daemon for simplifying power management tasks
+
+BUILD_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
+LIB_DEPENDS= polkit-gobject-1.0:${PORTSDIR}/sysutils/polkit \
+ dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
+RUN_DEPENDS= ${LOCALBASE}/lib/girepository-1.0/GObject-2.0.typelib:${PORTSDIR}/devel/gobject-introspection
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+USE_GETTEXT= yes
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_GNOME= gnomehack intlhack ltverhack glib20
+USE_AUTOTOOLS= libtool
+USE_LDCONFIG= yes
+USE_PYTHON= yes
+CONFIGURE_ARGS= --disable-gtk-doc \
+ --with-backend=freebsd \
+ --localstatedir=/var
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib" \
+ GTKDOC="false"
+
+.if defined(NO_INSTALL_MANPAGES)
+CONFIGURE_ARGS+=--disable-man-pages
+.else
+BUILD_DEPENDS+= ${LOCALBASE}/share/sgml/docbook/4.1/dtd/catalog:${PORTSDIR}/textproc/docbook-410 \
+ ${LOCALBASE}/share/xml/docbook/4.1.2/docbookx.dtd:${PORTSDIR}/textproc/docbook-sk \
+ xsltproc:${PORTSDIR}/textproc/libxslt \
+ ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl
+MAN1= upower.1
+MAN7= UPower.7
+MAN8= upowerd.8
+.endif
+
+.include <bsd.port.mk>
diff --git a/sysutils/upower/distinfo b/sysutils/upower/distinfo
new file mode 100644
index 000000000..3693792ee
--- /dev/null
+++ b/sysutils/upower/distinfo
@@ -0,0 +1,2 @@
+SHA256 (upower-0.9.8.tar.bz2) = 7afaec3cb10ebbc898308c7abd250c27fd58e10379a42e80444d7a4b32f2eb91
+SIZE (upower-0.9.8.tar.bz2) = 462754
diff --git a/sysutils/upower/pkg-descr b/sysutils/upower/pkg-descr
new file mode 100644
index 000000000..348f53146
--- /dev/null
+++ b/sysutils/upower/pkg-descr
@@ -0,0 +1,6 @@
+UPower is an abstraction for enumerating power devices,
+listening to device events and querying history and statistics.
+Any application or service on the system can access the
+org.freedesktop.DeviceKit.Power service via the system message bus.
+
+WWW: http://upower.freedesktop.org/
diff --git a/sysutils/upower/pkg-plist b/sysutils/upower/pkg-plist
new file mode 100644
index 000000000..cef11a612
--- /dev/null
+++ b/sysutils/upower/pkg-plist
@@ -0,0 +1,40 @@
+bin/devkit-power
+bin/upower
+etc/UPower/UPower.conf
+etc/dbus-1/system.d/org.freedesktop.UPower.conf
+include/libupower-glib/up-client.h
+include/libupower-glib/up-device.h
+include/libupower-glib/up-history-item.h
+include/libupower-glib/up-qos-item.h
+include/libupower-glib/up-stats-item.h
+include/libupower-glib/up-types.h
+include/libupower-glib/up-version.h
+include/libupower-glib/up-wakeup-item.h
+include/libupower-glib/up-wakeups.h
+include/libupower-glib/upower.h
+lib/girepository-1.0/UPowerGlib-1.0.typelib
+lib/libupower-glib.a
+lib/libupower-glib.la
+lib/libupower-glib.so
+lib/libupower-glib.so.1
+libdata/pkgconfig/upower-glib.pc
+libexec/devkit-power-daemon
+libexec/upowerd
+share/dbus-1/interfaces/org.freedesktop.UPower.Device.xml
+share/dbus-1/interfaces/org.freedesktop.UPower.KbdBacklight.xml
+share/dbus-1/interfaces/org.freedesktop.UPower.QoS.xml
+share/dbus-1/interfaces/org.freedesktop.UPower.Wakeups.xml
+share/dbus-1/interfaces/org.freedesktop.UPower.xml
+share/dbus-1/system-services/org.freedesktop.UPower.service
+share/gir-1.0/UPowerGlib-1.0.gir
+share/locale/fr/LC_MESSAGES/upower.mo
+share/locale/it/LC_MESSAGES/upower.mo
+share/locale/pl/LC_MESSAGES/upower.mo
+share/locale/sv/LC_MESSAGES/upower.mo
+share/polkit-1/actions/org.freedesktop.upower.policy
+share/polkit-1/actions/org.freedesktop.upower.qos.policy
+@exec mkdir -p /var/lib/DeviceKit-power
+@dirrm include/libupower-glib
+@dirrm etc/UPower
+@unexec rmdir /var/lib/DeviceKit-power 2>/dev/null || true
+@unexec rmdir /var/lib 2>/dev/null || true