aboutsummaryrefslogtreecommitdiff
path: root/sysutils/consolekit/Makefile
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2008-03-24 03:52:36 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2008-03-24 03:52:36 +0000
commit6f32add9a75efb180e462ffbdb0b080bc88088e3 (patch)
tree0fc7af36e22fc0dc7c1dc8aacabf6fe117e881da /sysutils/consolekit/Makefile
parentb8d245fedd5842fb6d68d0bdc6539885555a84e3 (diff)
downloadports-6f32add9a75efb180e462ffbdb0b080bc88088e3.tar.gz
ports-6f32add9a75efb180e462ffbdb0b080bc88088e3.zip
Notes
Diffstat (limited to 'sysutils/consolekit/Makefile')
-rw-r--r--sysutils/consolekit/Makefile26
1 files changed, 14 insertions, 12 deletions
diff --git a/sysutils/consolekit/Makefile b/sysutils/consolekit/Makefile
index e5e11082ce5a..a46bd13ef669 100644
--- a/sysutils/consolekit/Makefile
+++ b/sysutils/consolekit/Makefile
@@ -3,24 +3,21 @@
# Whom: Florent Thoumie <flz@FreeBSD.org>
#
# $FreeBSD$
-#
+# $MCom: ports/sysutils/consolekit/Makefile,v 1.12 2008/02/27 15:13:25 ahze Exp $
PORTNAME= consolekit
-PORTVERSION= ${RELVERSION}.${SNAPSHOT}
+PORTVERSION= 0.2.10
CATEGORIES= sysutils gnome
-MASTER_SITES= http://people.freebsd.org/~flz/local/
+MASTER_SITES= http://people.freedesktop.org/~mccann/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
-
-RELVERSION= 0.2.2
-SNAPSHOT= 20070906
+LIB_DEPENDS= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
+ polkit.2:${PORTSDIR}/sysutils/policykit
-WRKSRC= ${WRKDIR}/ConsoleKit-${RELVERSION}
-USE_BZIP2= yes
+WRKSRC= ${WRKDIR}/ConsoleKit-${PORTVERSION}
USE_XORG= x11
USE_GNOME= gnomehack gnometarget
USE_GMAKE= yes
@@ -28,9 +25,14 @@ 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
+CONFIGURE_ARGS= --with-pid-file=/var/run/${PORTNAME}.pid \
+ --localstatedir=/var
-USE_RC_SUBR= consolekit
-USE_GNOME_SUBR= yes
+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
.include <bsd.port.mk>