summaryrefslogtreecommitdiffstats
path: root/sysutils/upower/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2009-12-31 05:58:31 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2009-12-31 05:58:31 +0800
commit713de880bd6bf8837d8c0580de7cfeee7e571d2b (patch)
treeea2e87fb9267b883c4c2ac7f9cb5e6d8c0eccd86 /sysutils/upower/Makefile
parentfeebe2d2e61ccb4fc2868531609278381dbb4039 (diff)
downloadmarcuscom-ports-713de880bd6bf8837d8c0580de7cfeee7e571d2b.tar.gz
marcuscom-ports-713de880bd6bf8837d8c0580de7cfeee7e571d2b.tar.zst
marcuscom-ports-713de880bd6bf8837d8c0580de7cfeee7e571d2b.zip
Add DeviceKit-power at version 013.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@13327 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils/upower/Makefile')
-rw-r--r--sysutils/upower/Makefile45
1 files changed, 45 insertions, 0 deletions
diff --git a/sysutils/upower/Makefile b/sysutils/upower/Makefile
new file mode 100644
index 000000000..6786b2535
--- /dev/null
+++ b/sysutils/upower/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: DeviceKit-power
+# Date Created: 30 December 2009
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom$
+#
+
+PORTNAME= DeviceKit-power
+DISTVERSION= 013
+CATEGORIES= sysutils
+MASTER_SITES= http://www.marcuscom.com/downloads/
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= D-Bus daemon for simplifying power management tasks
+
+LIB_DEPENDS= polkit-gobject-1.0:${PORTSDIR}/sysutils/polkit \
+ dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
+
+USE_BZIP2= yes
+USE_GETTEXT= yes
+USE_GMAKE= yes
+USE_GNOME= gnomehack intlhack ltverhack glib20
+USE_AUTOTOOLS= libtool:22
+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/catalog:${PORTSDIR}/textproc/docbook-410 \
+ xsltproc:${PORTSDIR}/textproc/libxslt \
+ ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl
+MAN1= devkit-power.1
+MAN7= DeviceKit-power.7
+MAN8= devkit-power-daemon.8
+.endif
+
+.include <bsd.port.mk>