summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authortron <tron>1999-04-21 10:08:20 +0000
committertron <tron>1999-04-21 10:08:20 +0000
commita8a79e1375512cd5cc75e76bdf331a96c1b22a6d (patch)
tree3648899900be087d76e9890d177f181c088695b2 /www
parentff0e22d849cd305f0916901ce28fbc05a6be765e (diff)
downloadpkgsrc-a8a79e1375512cd5cc75e76bdf331a96c1b22a6d.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".