aboutsummaryrefslogtreecommitdiff
path: root/www/wwwoffle/Makefile
diff options
context:
space:
mode:
authorMunechika SUMIKAWA <sumikawa@FreeBSD.org>2000-12-26 18:12:15 +0000
committerMunechika SUMIKAWA <sumikawa@FreeBSD.org>2000-12-26 18:12:15 +0000
commiteda5ae273bed6330bde24d76063fd9219c966de8 (patch)
treef333004c5d99b334517b3a06b17472df20026713 /www/wwwoffle/Makefile
parentf14af944210199936cded98d90223ad92cee482b (diff)
Notes
Diffstat (limited to 'www/wwwoffle/Makefile')
-rw-r--r--www/wwwoffle/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/www/wwwoffle/Makefile b/www/wwwoffle/Makefile
index 6fae4eb40347..dbe249c598c3 100644
--- a/www/wwwoffle/Makefile
+++ b/www/wwwoffle/Makefile
@@ -7,16 +7,21 @@
PORTNAME= wwwoffle
PORTVERSION= 2.6
+PORTREVISION= 1
CATEGORIES= www ipv6
MASTER_SITES= ftp://ftp.demon.co.uk/pub/unix/httpd/ \
${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= apps/www/servers
EXTRACT_SUFX= .tgz
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 400014
PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/ \
ftp://ftp.pasta.cs.uit.no/pub/IPv6/misc/
-PATCHFILES= wwwoffle-26-v6-20001121.diff.gz
+PATCHFILES= wwwoffle-26-v6-20001122.diff.gz
PATCH_DIST_STRIP= -p1
+.endif
MAINTAINER= sumikawa@FreeBSD.org
@@ -57,6 +62,7 @@ post-install:
@${MKDIR} ${SPOOL}/wwwoffle
@${INSTALL_SCRIPT} ${WRKSRC}/upgrade-config.pl ${SPOOL}/wwwoffle
@${SED} 's@%PREFIX%@${LOCALBASE}@' ${FILESDIR}/wwwoffled.sh > ${PREFIX}/etc/rc.d/wwwoffled.sh
+ @${CHMOD} +x ${PREFIX}/etc/rc.d/wwwoffled.sh
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>