From 9a6b55783485281d3cdb2f61e06a051177456c2e Mon Sep 17 00:00:00 2001 From: uebayasi Date: Wed, 28 Apr 2004 11:27:54 +0000 Subject: * Bl3ify. * Enable pkgviews installation. * Obsolete PRIV_CONF_DIR and follow PKG_SYSCONFDIR, the standard. --- security/priv/Makefile | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) (limited to 'security') 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" -- cgit v1.2.3