summaryrefslogtreecommitdiff
path: root/security/policykit
diff options
context:
space:
mode:
authorhasso <hasso@pkgsrc.org>2008-11-26 08:22:24 +0000
committerhasso <hasso@pkgsrc.org>2008-11-26 08:22:24 +0000
commitfb4dee82acd49162757782c7c679b4b7e1486edf (patch)
treea70cf56b830c7ce2a0bdd39246154ac1be2f28de /security/policykit
parent71ba4cc9acb145507871a06599f5a57387d41f3f (diff)
downloadpkgsrc-fb4dee82acd49162757782c7c679b4b7e1486edf.tar.gz
* Use PolicyKit.conf.NetBSD on DragonFly as well
* DESTDIR support * Bump PKGREVISION
Diffstat (limited to 'security/policykit')
-rw-r--r--security/policykit/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/security/policykit/Makefile b/security/policykit/Makefile
index 91eace5d305..934ee6776d6 100644
--- a/security/policykit/Makefile
+++ b/security/policykit/Makefile
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.4 2008/11/24 14:50:43 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2008/11/26 08:22:24 hasso Exp $
#
POLICYKIT_VER= 0.9
DISTNAME= PolicyKit-${POLICYKIT_VER}
PKGNAME= policykit-${POLICYKIT_VER}
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= security
MASTER_SITES= http://hal.freedesktop.org/releases/
@@ -12,6 +12,7 @@ MAINTAINER= jmcneill@NetBSD.org
HOMEPAGE= http://hal.freedesktop.org/
COMMENT= Framework for managing admin policies and privileges
+PKG_DESTDIR_SUPPORT= user-destdir
BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl
@@ -46,9 +47,9 @@ CONFIGURE_ARGS+= --with-polkit-group=${POLICYKIT_GROUP}
.include "../../mk/bsd.prefs.mk"
-.if ${OPSYS} == "NetBSD"
+.if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly"
post-install:
- ${INSTALL_DATA} ${FILESDIR}/PolicyKit.conf.NetBSD ${EGDIR}/PolicyKit.conf
+ ${INSTALL_DATA} ${FILESDIR}/PolicyKit.conf.NetBSD ${DESTDIR}${EGDIR}/PolicyKit.conf
.endif
.include "../../devel/gettext-lib/buildlink3.mk"