From a33166343dc644c83043f38195a4163295156fd6 Mon Sep 17 00:00:00 2001 From: reed Date: Tue, 3 Oct 2006 20:53:38 +0000 Subject: Update PKGREVISION. Make sure use PKG_SYSCONFDIR for the "etc" sed expression. Also do the SUBST_SED on the configuration example file too. --- pkgtools/pkg_select/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'pkgtools') diff --git a/pkgtools/pkg_select/Makefile b/pkgtools/pkg_select/Makefile index 208150f59e9..b17620037c6 100644 --- a/pkgtools/pkg_select/Makefile +++ b/pkgtools/pkg_select/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.6 2006/10/03 20:27:47 reed Exp $ +# $NetBSD: Makefile,v 1.7 2006/10/03 20:53:38 reed Exp $ # DISTNAME= pkg_select-20050817 +PKGREVISION= 1 CATEGORIES= pkgtools MASTER_SITES= http://imil.net/NetBSD/ @@ -34,8 +35,9 @@ do-install: SUBST_CLASSES+= path SUBST_STAGE.path= post-patch -SUBST_FILES.path= Makefile pkg_select.1 +SUBST_FILES.path= Makefile pkg_select.1 ${PKGBASE}.conf.example SUBST_SED.path= -e "s|/usr/pkgsrc|${PKGSRCDIR}|g" \ + -e "s|/usr/pkg/etc|${PKG_SYSCONFDIR}|g" \ -e "s|/usr/pkg|${PREFIX}|g" \ -e "s|/var/db/pkg|${PKG_DBDIR}|g" \ -e "s|/usr/bin/make|${MAKE}|g" -- cgit v1.2.3