summaryrefslogtreecommitdiff
path: root/security/priv
diff options
context:
space:
mode:
authoruebayasi <uebayasi@pkgsrc.org>2004-04-28 11:27:54 +0000
committeruebayasi <uebayasi@pkgsrc.org>2004-04-28 11:27:54 +0000
commit9a6b55783485281d3cdb2f61e06a051177456c2e (patch)
tree0d8f6f7f2bee6d88000262d4aaf428b5376f4b4b /security/priv
parentb3b780ea83f2053ceddd252b941f28626047e5da (diff)
downloadpkgsrc-9a6b55783485281d3cdb2f61e06a051177456c2e.tar.gz
* Bl3ify.
* Enable pkgviews installation. * Obsolete PRIV_CONF_DIR and follow PKG_SYSCONFDIR, the standard.
Diffstat (limited to 'security/priv')
-rw-r--r--security/priv/Makefile17
1 files changed, 6 insertions, 11 deletions
diff --git a/security/priv/Makefile b/security/priv/Makefile
index e670bd1a920..bba005dda77 100644
--- a/security/priv/Makefile
+++ b/security/priv/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2004/03/04 02:57:00 simonb Exp $
+# $NetBSD: Makefile,v 1.10 2004/04/28 11:27:54 uebayasi Exp $
#
DISTNAME= priv-1.0-beta2
@@ -9,17 +9,12 @@ MASTER_SITES= ftp://ftp.thistledown.com.au/pub/simonb/
MAINTAINER= simonb@NetBSD.org
COMMENT= Execute commands as a different user
-GNU_CONFIGURE= yes
+PKG_INSTALLATION_TYPES= overwrite pkgviews
-PLIST_SRC= ${WRKDIR}/plist
+USE_BUILDLINK3= YES
+GNU_CONFIGURE= YES
+USE_PKGINSTALL= YES
-.include "../../mk/bsd.prefs.mk"
-
-PRIV_CONF_DIR?= ${LOCALBASE}/etc
-
-CONFIGURE_ARGS+= --sysconfdir=${PRIV_CONF_DIR}
-
-post-install:
- ${SED} -e 's|@PRIV_CONF_DIR@|${PRIV_CONF_DIR}|g' ${PKGDIR}/PLIST > ${PLIST_SRC}
+OWN_DIRS= ${PKG_SYSCONFDIR}/priv
.include "../../mk/bsd.pkg.mk"