summaryrefslogtreecommitdiff
path: root/security/priv
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-01-27 16:52:13 +0000
committerjoerg <joerg@pkgsrc.org>2010-01-27 16:52:13 +0000
commit693ec8bb1691dba5fb19266be3a686bf78df25f8 (patch)
tree9d6ef92caa3f4da88fc91862fe8a5c808dff16ed /security/priv
parent53e12bf31faa6efecb30c73112ce8bc6ea046721 (diff)
downloadpkgsrc-693ec8bb1691dba5fb19266be3a686bf78df25f8.tar.gz
DESTDIR support
Diffstat (limited to 'security/priv')
-rw-r--r--security/priv/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/security/priv/Makefile b/security/priv/Makefile
index ca889610ae2..a1de53554c6 100644
--- a/security/priv/Makefile
+++ b/security/priv/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2007/03/20 17:04:13 jlam Exp $
+# $NetBSD: Makefile,v 1.17 2010/01/27 17:02:16 joerg Exp $
#
DISTNAME= priv-1.0-beta2
@@ -11,6 +11,7 @@ MAINTAINER= simonb@NetBSD.org
COMMENT= Execute commands as a different user
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= YES
@@ -20,7 +21,8 @@ SUBST_STAGE.sysconfdir= post-configure
SUBST_FILES.sysconfdir= priv.1
SUBST_SED.sysconfdir= -e "s|/usr/local/etc/|${PKG_SYSCONFDIR}/|g"
-INSTALL_MAKE_FLAGS= mandir=${PREFIX}/${PKGMANDIR}/man1
+INSTALL_MAKE_FLAGS= bindir=${DESTDIR}${PREFIX}/bin \
+ mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
OWN_DIRS= ${PKG_SYSCONFDIR}/priv