aboutsummaryrefslogtreecommitdiff
path: root/www/mohawk
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2013-06-06 11:04:18 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2013-06-06 11:04:18 +0000
commit00c9ab957db9ba835f5e652f0da29683c98a95a7 (patch)
treee401139e3ed5fa7e8248aeb0b266ab92d83f0fc0 /www/mohawk
parenteeb09ba13b6f7c1d3d71a174cbdd3c41fa6711be (diff)
downloadports-00c9ab957db9ba835f5e652f0da29683c98a95a7.tar.gz
ports-00c9ab957db9ba835f5e652f0da29683c98a95a7.zip
- Update to 2.0.5 [1]
- NOPORTEXAMPLES -> PORT_OPTIONS:MEXAMPLES - Unmute install commands PR: ports/179350 [1] Submitted by: mohawk <mohawk@bsdsx.fr> (maintainer) [1] Approved by: culot / jpaetzel (mentors, implicit)
Notes
Notes: svn path=/head/; revision=320082
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