diff options
Diffstat (limited to 'www/wwwoffle/Makefile')
-rw-r--r-- | www/wwwoffle/Makefile | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/www/wwwoffle/Makefile b/www/wwwoffle/Makefile index 86428e3fe91..e185ac8db0c 100644 --- a/www/wwwoffle/Makefile +++ b/www/wwwoffle/Makefile @@ -1,10 +1,10 @@ -# $NetBSD: Makefile,v 1.43 2002/08/21 02:43:45 grant Exp $ +# $NetBSD: Makefile,v 1.44 2002/09/05 16:56:54 fredb Exp $ -DISTNAME= wwwoffle-2.7d +DISTNAME= wwwoffle-2.7e CATEGORIES= www -MASTER_SITES= ftp://ftp.demon.co.uk/pub/unix/httpd/ \ - http://www.gedanken.freeserve.co.uk/download-wwwoffle/ \ - ${MASTER_SITE_SUNSITE:=apps/www/servers/} +MASTER_SITES= ${MASTER_SITE_SUNSITE:=apps/www/servers/} \ + ftp://ftp.demon.co.uk/pub/unix/httpd/ \ + http://www.gedanken.freeserve.co.uk/download-wwwoffle/ EXTRACT_SUFX= .tgz MAINTAINER= fredb@netbsd.org @@ -35,6 +35,13 @@ post-build: ${SED} -e 's#@PKG_SYSCONFDIR@#${PKG_SYSCONFDIR}#g' \ INSTALL > ${WRKDIR}/INSTALL +# For bulk-build machines: a one-time install/deinstall, if wwwoffle +# is never run, leaves an incomplete cache directory, which the install +# target incorrectly calculates to be a pre-2.2 cache. This tricks it +# into setting up the cache directory properly. +pre-install: + ${MKDIR} /var/wwwoffle/prevtime1 + post-install: if [ -f ${PKG_SYSCONFDIR}/wwwoffle.conf.install ]; then \ ${CP} -p ${PKG_SYSCONFDIR}/wwwoffle.conf.install \ |