aboutsummaryrefslogtreecommitdiff
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
parentf14af944210199936cded98d90223ad92cee482b (diff)
downloadports-eda5ae273bed6330bde24d76063fd9219c966de8.tar.gz
ports-eda5ae273bed6330bde24d76063fd9219c966de8.zip
Notes
-rw-r--r--www/wwwoffle/Makefile10
-rw-r--r--www/wwwoffle/distinfo2
2 files changed, 9 insertions, 3 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>
diff --git a/www/wwwoffle/distinfo b/www/wwwoffle/distinfo
index d010c2b2608c..334853e2618b 100644
--- a/www/wwwoffle/distinfo
+++ b/www/wwwoffle/distinfo
@@ -1,2 +1,2 @@
MD5 (wwwoffle-2.6.tgz) = 40360860c6f57c27316f1a6efcc90457
-MD5 (wwwoffle-26-v6-20001121.diff.gz) = 21704a043ecc8e2cfa0d16ab0b065b62
+MD5 (wwwoffle-26-v6-20001122.diff.gz) = 135cecfa74212c07ddb3479f39b035a1