summaryrefslogtreecommitdiff
path: root/news/inn/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2001-03-01 19:07:51 +0000
committerjlam <jlam>2001-03-01 19:07:51 +0000
commit320e8f7fede68077036a0a9be3e7cda5ec9ee7c2 (patch)
tree8c75cb691a81d82bdd8cb966e72c0edff08c628f /news/inn/Makefile
parentaa09ed7ba2554da06ab8a87dacfb7e7c86e656ed (diff)
downloadpkgsrc-320e8f7fede68077036a0a9be3e7cda5ec9ee7c2.tar.gz
Mechanical changes to use ${PKG_PREFIX} instead of substituting for
@PREFIX@ in DEINSTALL/INSTALL scripts.
Diffstat (limited to 'news/inn/Makefile')
-rw-r--r--news/inn/Makefile5
1 files changed, 2 insertions, 3 deletions
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"