pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/policykit * Use PolicyKit.conf.NetBSD on Drag...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b5211d6bc1e8
branches:  trunk
changeset: 550677:b5211d6bc1e8
user:      hasso <hasso%pkgsrc.org@localhost>
date:      Wed Nov 26 08:22:24 2008 +0000

description:
* Use PolicyKit.conf.NetBSD on DragonFly as well
* DESTDIR support
* Bump PKGREVISION

diffstat:

 security/policykit/Makefile |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 981284de41a4 -r b5211d6bc1e8 security/policykit/Makefile
--- a/security/policykit/Makefile       Wed Nov 26 08:21:36 2008 +0000
+++ b/security/policykit/Makefile       Wed Nov 26 08:22:24 2008 +0000
@@ -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 @@
 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 @@
 
 .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"



Home | Main Index | Thread Index | Old Index