summaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authoragc <agc>1998-09-17 15:39:53 +0000
committeragc <agc>1998-09-17 15:39:53 +0000
commit56d40d459c9f6f0570c7ebd7f298a274c540f503 (patch)
tree6db4c022ba59382c33a99ec9688cc413ab5d59c0 /news
parentdf670c56c784aa7b204fb078f24b481d799a35f2 (diff)
downloadpkgsrc-56d40d459c9f6f0570c7ebd7f298a274c540f503.tar.gz
Define and use INSTALL_FILE.
Diffstat (limited to 'news')
-rw-r--r--news/inn/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/news/inn/Makefile b/news/inn/Makefile
index e9b18fe5396..a72ffc0f17f 100644
--- a/news/inn/Makefile
+++ b/news/inn/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 1998/09/05 03:21:11 garbled Exp $
+# $NetBSD: Makefile,v 1.2 1998/09/17 15:39:53 agc Exp $
DISTNAME= inn-2.1
CATEGORIES= news
@@ -19,9 +19,12 @@ CONFIGURE_ARGS+= --with-perl --with-spool-dir=${INN_SPOOL}
CONFIGURE_ARGS+= --with-tmp-path=/tmp
GNU_CONFIGURE= yes
+INSTALL_FILE= ${WRKDIR}/.INSTALL
+
post-patch:
${SED} -e 's@XXXINN_SPOOLXXX@${INN_SPOOL}@g' \
- -e 's@XXXPREFIXXXX@${PREFIX}@g' <${PKGDIR}/install >${PKGDIR}/INSTALL
+ -e 's@XXXPREFIXXXX@${PREFIX}@g' \
+ ${PKGDIR}/install > ${INSTALL_FILE}
post-install:
${MKDIR} ${PREFIX}/share/examples/inn