aboutsummaryrefslogtreecommitdiff
path: root/www/mohawk
diff options
context:
space:
mode:
Diffstat (limited to 'www/mohawk')
-rw-r--r--www/mohawk/Makefile13
-rw-r--r--www/mohawk/distinfo4
2 files changed, 9 insertions, 8 deletions
diff --git a/www/mohawk/Makefile b/www/mohawk/Makefile
index d939b6169e91..d4e38237c51f 100644
--- a/www/mohawk/Makefile
+++ b/www/mohawk/Makefile
@@ -2,11 +2,10 @@
# $FreeBSD$
PORTNAME= mohawk
-PORTVERSION= 2.0.2
+PORTVERSION= 2.0.5
CATEGORIES= www ipv6
MASTER_SITES= http://fossil.etoilebsd.net/mohawk/tarball/ \
http://fossil.bsdsx.fr/mohawk/tarball/
-DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}?uuid=${PORTVERSION}
MAINTAINER= mohawk@bsdsx.fr
COMMENT= Simple and lightweight HTTP daemon
@@ -31,12 +30,14 @@ MAN8= mhtpasswd.8 \
CFLAGS+= -I${LOCALBASE}/include/event2/compat -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib/event2
+.include <bsd.port.options.mk>
+
post-install:
- @${INSTALL_DATA} ${WRKSRC}/examples/minimal.conf ${PREFIX}/etc/mohawk.conf.sample
- @${INSTALL_SCRIPT} ${WRKSRC}/mhtpasswd.sh ${PREFIX}/bin/mhtpasswd
-.if !defined(NOPORTEXAMPLES)
+ ${INSTALL_DATA} ${WRKSRC}/examples/minimal.conf ${PREFIX}/etc/mohawk.conf.sample
+ ${INSTALL_SCRIPT} ${WRKSRC}/mhtpasswd.sh ${PREFIX}/bin/mhtpasswd
+.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
- @${INSTALL_DATA} ${WRKSRC}/examples/*.conf ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/*.conf ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>
diff --git a/www/mohawk/distinfo b/www/mohawk/distinfo
index 7c0ea7237056..4d33cd071119 100644
--- a/www/mohawk/distinfo
+++ b/www/mohawk/distinfo
@@ -1,2 +1,2 @@
-SHA256 (mohawk-2.0.2.tar.gz?uuid=2.0.2) = 8fa238a99cb5565d4eb84c0cb583e437484cecb1d0b673f0c0ed2d77c37963cb
-SIZE (mohawk-2.0.2.tar.gz?uuid=2.0.2) = 34244
+SHA256 (mohawk-2.0.5.tar.gz) = 6698f065347c29f102ddd57125f3eb20bacb3c483deecae59fb7f6287d005a04
+SIZE (mohawk-2.0.5.tar.gz) = 36380