summaryrefslogtreecommitdiff
path: root/www/wwwoffle
diff options
context:
space:
mode:
authorfredb <fredb>2002-03-25 09:17:55 +0000
committerfredb <fredb>2002-03-25 09:17:55 +0000
commite50fb476c4e32735fd7191f91392f61de9ce27a6 (patch)
treef94bc34ce2a5f6f0296d68950665c8654223024d /www/wwwoffle
parent2cde5dd60889efaad626b5c6d0024167621c41cd (diff)
downloadpkgsrc-e50fb476c4e32735fd7191f91392f61de9ce27a6.tar.gz
Add a convenience target to run the INSTALL script, and update the
post-install message accordingly. We have to do it manually after `make package', as explained in the comment.
Diffstat (limited to 'www/wwwoffle')
-rw-r--r--www/wwwoffle/Makefile19
1 files changed, 11 insertions, 8 deletions
diff --git a/www/wwwoffle/Makefile b/www/wwwoffle/Makefile
index af76b2e9e1e..9d27a4d0299 100644
--- a/www/wwwoffle/Makefile
+++ b/www/wwwoffle/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2002/03/25 08:49:59 fredb Exp $
+# $NetBSD: Makefile,v 1.35 2002/03/25 09:17:55 fredb Exp $
DISTNAME= wwwoffle-2.7a
PKGNAME= wwwoffle-2.7.1
@@ -51,22 +51,25 @@ post-install:
# Directories other than html and search are automatically created at run time
${GTAR} czCf / ${PREFIX}/libdata/wwwoffle-spool.tar.gz \
var/wwwoffle/html var/wwwoffle/search
-# We don't do the following automatically, as that would inconvenience
-# package build machines, not to mention putting the wrong information
-# in the "wwwoffle.pac" files.
@${ECHO}
@${ECHO} ==+===+===+===+===+===+===+===+===+===+===+===+===+===+===+=
@${ECHO}
@${ECHO} Attention pkgsrc source users:
@${ECHO}
- @${ECHO} "Running \`sh INSTALL _ POST-INSTALL' from this directory"
- @${ECHO} 'will fix up the installed "wwwoffle.pac" files and convert'
- @${ECHO} 'your old cache to the new format, exactly as in the binary'
- @${ECHO} 'package install.'
+ @${ECHO} 'Please run' "\`make finish'" 'from this directory *after*'
+ @${ECHO} '(optionally) running' "\`make package'", 'in order to fix'
+ @${ECHO} 'up the installed "wwwoffle.pac" files to your hostname'
+ @${ECHO} 'and convert your config file and cache to the new format.'
@${ECHO}
@${ECHO} ==+===+===+===+===+===+===+===+===+===+===+===+===+===+===+=
@${ECHO}
+# We don't do the following automatically, as that would inconvenience
+# package build machines, not to mention putting the wrong information
+# into the "wwwoffle.pac" files.
+finish:
+ ${SH} INSTALL _ POST-INSTALL
+
.include "../../mk/bsd.prefs.mk"
.if ${USE_INET6} == "YES"