aboutsummaryrefslogtreecommitdiffstats
path: root/www/thttpd/Makefile
diff options
context:
space:
mode:
authormharo <mharo@FreeBSD.org>2001-05-01 08:34:46 +0800
committermharo <mharo@FreeBSD.org>2001-05-01 08:34:46 +0800
commitbb69329bce53a5e9204472711a1ee931fe9cec4d (patch)
treefa706badfc0328b27686e7a33dfc960f092862e0 /www/thttpd/Makefile
parent9ce401221484b708ea3079183c78a0ab4a1f13d8 (diff)
downloadfreebsd-ports-gnome-bb69329bce53a5e9204472711a1ee931fe9cec4d.tar.gz
freebsd-ports-gnome-bb69329bce53a5e9204472711a1ee931fe9cec4d.tar.zst
freebsd-ports-gnome-bb69329bce53a5e9204472711a1ee931fe9cec4d.zip
Updates the port to the latest verion: 2.21b. Brings in interesting stuff like
kqueue and accept filtering support. PR: 26822 Submitted by: maintainer
Diffstat (limited to 'www/thttpd/Makefile')
-rw-r--r--www/thttpd/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/www/thttpd/Makefile b/www/thttpd/Makefile
index f844358c6918..3aaa6dca43e8 100644
--- a/www/thttpd/Makefile
+++ b/www/thttpd/Makefile
@@ -6,19 +6,26 @@
#
PORTNAME= thttpd
-PORTVERSION= 2.20b
+PORTVERSION= 2.21b
CATEGORIES= www ipv6
MASTER_SITES= http://www.acme.com/software/thttpd/ \
http://www.freenix.no/~anders/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} notes.html
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= anders@fix.no
IGNOREFILES= notes.html
-EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
GNU_CONFIGURE= yes
+.include <bsd.port.pre.mk>
+
+# Kqueue doesn't work in -current with thttpd.
+.if ${OSVERSION} >= 500000
+CFLAGS+= -DHAVE_FREEBSD_CURRENT
+.endif
+
MAN1= makeweb.1 htpasswd.1
MAN8= thttpd.8 redirect.8 ssi.8 syslogtocern.8
@@ -80,4 +87,4 @@ config-message:
@${ECHO} ""
@${ECHO} "====================================================================="
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>