summaryrefslogtreecommitdiffstats
path: root/sysutils/consolekit/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2009-08-27 02:51:45 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2009-08-27 02:51:45 +0800
commitf9447e339a56d396f2f109b312bcdfb32e4d6be9 (patch)
tree6e14ffdb547bbaeef7cf015edce324c92eb0418f /sysutils/consolekit/Makefile
parent6387e0581c9136115888c8cc4def1288df7f4334 (diff)
downloadmarcuscom-ports-f9447e339a56d396f2f109b312bcdfb32e4d6be9.tar
marcuscom-ports-f9447e339a56d396f2f109b312bcdfb32e4d6be9.tar.gz
marcuscom-ports-f9447e339a56d396f2f109b312bcdfb32e4d6be9.tar.bz2
marcuscom-ports-f9447e339a56d396f2f109b312bcdfb32e4d6be9.tar.lz
marcuscom-ports-f9447e339a56d396f2f109b312bcdfb32e4d6be9.tar.xz
marcuscom-ports-f9447e339a56d396f2f109b312bcdfb32e4d6be9.tar.zst
marcuscom-ports-f9447e339a56d396f2f109b312bcdfb32e4d6be9.zip
Update to 0.3.1.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@12738 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils/consolekit/Makefile')
-rw-r--r--sysutils/consolekit/Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/sysutils/consolekit/Makefile b/sysutils/consolekit/Makefile
new file mode 100644
index 000000000..9a3ef7912
--- /dev/null
+++ b/sysutils/consolekit/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: ConsoleKit
+# Date Created: 26 Aug 2006
+# Whom: Florent Thoumie <flz@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom: ports-stable/sysutils/consolekit/Makefile,v 1.2 2009/04/18 22:09:26 marcus Exp $
+
+PORTNAME= consolekit
+PORTVERSION= 0.3.1
+CATEGORIES= sysutils gnome
+MASTER_SITES= http://www.freedesktop.org/software/ConsoleKit/dist/
+DISTFILES= ConsoleKit-${PORTVERSION}${EXTRACT_SUFX}
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Framework for defining and tracking users
+
+LIB_DEPENDS= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
+ polkit-gobject-1.0:${PORTSDIR}/sysutils/polkit
+
+WRKSRC= ${WRKDIR}/ConsoleKit-${PORTVERSION}
+USE_BZIP2= yes
+USE_XORG= x11
+USE_GNOME= gnomehack
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS= --with-pid-file=/var/run/${PORTNAME}.pid \
+ --localstatedir=/var
+
+post-install:
+ ${INSTALL_SCRIPT} ${FILESDIR}/ck-get-x11-display-device \
+ ${PREFIX}/libexec/ck-get-x11-display-device
+ ${INSTALL_SCRIPT} ${FILESDIR}/ck-get-x11-server-pid \
+ ${PREFIX}/libexec/ck-get-x11-server-pid
+ ${MKDIR} /var/log/ConsoleKit
+ ${TOUCH} /var/log/ConsoleKit/history
+
+.include <bsd.port.mk>