summaryrefslogtreecommitdiff
path: root/security/priv/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/priv/Makefile')
-rw-r--r--security/priv/Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/security/priv/Makefile b/security/priv/Makefile
index 2aa579936d3..495df895ee1 100644
--- a/security/priv/Makefile
+++ b/security/priv/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2000/07/14 11:48:19 agc Exp $
+# $NetBSD: Makefile,v 1.3 2000/07/14 12:39:30 agc Exp $
#
DISTNAME= priv-1.0-beta
@@ -10,4 +10,15 @@ MAINTAINER= simonb@netbsd.org
GNU_CONFIGURE= yes
+PLIST_SRC= ${WRKDIR}/plist
+
+.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}
+
.include "../../mk/bsd.pkg.mk"