summaryrefslogtreecommitdiff
path: root/sysutils/consolekit/Makefile
diff options
context:
space:
mode:
authorjmcneill <jmcneill@pkgsrc.org>2008-11-22 03:32:22 +0000
committerjmcneill <jmcneill@pkgsrc.org>2008-11-22 03:32:22 +0000
commit14366e28f35055465779ea871901af3157e4706b (patch)
tree6bc7864def73aa811b2db76906136e0d6d71fa81 /sysutils/consolekit/Makefile
parent30593624d301a4e2956daf3ec3b891f9fa228ad5 (diff)
downloadpkgsrc-14366e28f35055465779ea871901af3157e4706b.tar.gz
Import consolekit version 0.3.0.
ConsoleKit is a framework for keeping track of the various users, sessions, and seats present on a system. It provides a mechanism for software to react to changes of any of these items or of any of the metadata associated with them.
Diffstat (limited to 'sysutils/consolekit/Makefile')
-rw-r--r--sysutils/consolekit/Makefile46
1 files changed, 46 insertions, 0 deletions
diff --git a/sysutils/consolekit/Makefile b/sysutils/consolekit/Makefile
new file mode 100644
index 00000000000..fc2f00565f1
--- /dev/null
+++ b/sysutils/consolekit/Makefile
@@ -0,0 +1,46 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/11/22 03:32:22 jmcneill Exp $
+#
+
+CONSOLEKIT_VER= 0.3.0
+DISTNAME= ConsoleKit-${CONSOLEKIT_VER}
+PKGNAME= consolekit-${CONSOLEKIT_VER}
+CATEGORIES= sysutils
+MASTER_SITES= http://people.freedesktop.org/~mccann/dist/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= jmcneill@NetBSD.org
+HOMEPAGE= http://www.freedesktop.org/wiki/Software/ConsoleKit
+COMMENT= Framework for defining and tracking users, login sessions, and seats
+
+PKG_SYSCONFSUBDIR= ConsoleKit
+
+EGDIR= ${PREFIX}/share/examples/consolekit
+CONF_FILES+= ${EGDIR}/00-primary.seat ${PKG_SYSCONFDIR}/seats.d/00-primary.seat
+CONF_FILES+= ${EGDIR}/ConsoleKit.conf ${PKG_SYSCONFBASE}/dbus-1/system.d/ConsoleKit.conf
+
+MAKE_DIRS= ${PKG_SYSCONFDIR}/seats.d
+
+BUILD_DEFS+= VARBASE
+BUILD_DEFS+= PKG_SYSCONFBASE
+
+GNU_CONFIGURE= YES
+USE_DIRS+= xdg-1.4
+USE_PKGLOCALEDIR= YES
+USE_TOOLS+= gmake intltool msgfmt perl pkg-config
+USE_TOOLS+= autoconf automake autoreconf
+USE_LIBTOOL= YES
+
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASE:Q}
+CONFIGURE_ARGS+= --localstatedir=${VARBASE}
+
+post-extract:
+ cp ${FILESDIR}/ck-sysdeps-netbsd.c ${WRKSRC}/src/
+
+pre-configure:
+ cd ${WRKSRC} && autoreconf -vi
+
+.include "../../security/policykit/buildlink3.mk"
+.include "../../sysutils/dbus/buildlink3.mk"
+.include "../../sysutils/dbus-glib/buildlink3.mk"
+.include "../../mk/pam.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"