From a8a79e1375512cd5cc75e76bdf331a96c1b22a6d Mon Sep 17 00:00:00 2001 From: tron Date: Wed, 21 Apr 1999 10:08:20 +0000 Subject: Replace "${PREFIX}" with real installation path in message file. --- www/wwwoffle/Makefile | 5 ++++- www/wwwoffle/pkg/MESSAGE | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'www') 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". -- cgit v1.2.3