From 320e8f7fede68077036a0a9be3e7cda5ec9ee7c2 Mon Sep 17 00:00:00 2001 From: jlam Date: Thu, 1 Mar 2001 19:07:51 +0000 Subject: Mechanical changes to use ${PKG_PREFIX} instead of substituting for @PREFIX@ in DEINSTALL/INSTALL scripts. --- news/inn/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'news/inn/Makefile') diff --git a/news/inn/Makefile b/news/inn/Makefile index 744020ec6ca..8db4eccad5f 100644 --- a/news/inn/Makefile +++ b/news/inn/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.25 2001/02/25 04:18:10 hubertf Exp $ +# $NetBSD: Makefile,v 1.26 2001/03/01 19:07:53 jlam Exp $ DISTNAME= inn-2.3.1 CATEGORIES= news @@ -57,7 +57,6 @@ post-build: ${FILESDIR}/innd.sh >${WRKDIR}/innd.sh .for FILE in DEINSTALL INSTALL ${SED} -e 's#@@INN_DATA_DIR@@#${INN_DATA_DIR}#g' \ - -e 's#@@PREFIX@@#${PREFIX}#g' \ ${PKGDIR}/${FILE} >${WRKDIR}/${FILE} .endfor for DIR in backends expire frontends innd innfeed lib nnrpd \ @@ -82,6 +81,6 @@ post-install: done cd ${WRKSRC}/site && \ ${INSTALL_SCRIPT} ${WRKDIR}/innd.sh ${PREFIX}/etc/rc.d/innd - @${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL + PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3