summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1999-04-21 10:08:20 +0000
committertron <tron@pkgsrc.org>1999-04-21 10:08:20 +0000
commit566e7a43383bf5603edf63472047a19fc9bb89d0 (patch)
tree3648899900be087d76e9890d177f181c088695b2 /www
parent1ce1d11dafe04255a4f1a092dba6a6896a529a79 (diff)
downloadpkgsrc-566e7a43383bf5603edf63472047a19fc9bb89d0.tar.gz
Replace "${PREFIX}" with real installation path in message file.
Diffstat (limited to 'www')
-rw-r--r--www/wwwoffle/Makefile5
-rw-r--r--www/wwwoffle/pkg/MESSAGE2
2 files changed, 5 insertions, 2 deletions
diff --git a/www/wwwoffle/Makefile b/www/wwwoffle/Makefile
index 84840958fa5..100f374e09b 100644
--- a/www/wwwoffle/Makefile
+++ b/www/wwwoffle/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 1999/04/20 20:06:49 tron Exp $
+# $NetBSD: Makefile,v 1.7 1999/04/21 10:08:20 tron Exp $
DISTNAME= wwwoffle-2.2
CATEGORIES= www
@@ -12,11 +12,14 @@ HOMEPAGE= http://www.gedanken.demon.co.uk/wwwoffle/
USE_GMAKE= yes
NO_CONFIGURE= yes
+MESSAGE_FILE= ${WRKDIR}/MESSAGE
PLIST_SRC= ${WRKDIR}/PLIST
post-build:
@${SED} -e 's#@PREFIX@#${PREFIX}#g' <${FILESDIR}/wwwoffle.sh \
>${WRKDIR}/wwwoffle.sh
+ @${SED} -e 's#@PREFIX@#${PREFIX}#g' <${PKGDIR}/MESSAGE \
+ >${MESSAGE_FILE}
@${SED} -e 's#@GTAR@#${GTAR}#g' <${PKGDIR}/PLIST >${PLIST_SRC}
pre-install:
diff --git a/www/wwwoffle/pkg/MESSAGE b/www/wwwoffle/pkg/MESSAGE
index 7e658685aaf..cb4c297d524 100644
--- a/www/wwwoffle/pkg/MESSAGE
+++ b/www/wwwoffle/pkg/MESSAGE
@@ -1 +1 @@
-Please add "${PREFIX}/etc/rc.d/wwwoffle.sh" to "/etc/rc.local".
+Please add "@PREFIX@/etc/rc.d/wwwoffle.sh" to "/etc/rc.local".