- Update to 2.0.9

- Support stage

PR:		183837
Submitted by:	mohawk <mohawk@bsdsx.fr> (maintainer)
This commit is contained in:
Wen Heping 2013-11-11 15:03:39 +00:00
parent 28ab867281
commit c78f4d0a33
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333509
2 changed files with 8 additions and 11 deletions

View file

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= mohawk
PORTVERSION= 2.0.8
PORTVERSION= 2.0.9
CATEGORIES= www ipv6
MASTER_SITES= http://fossil.etoilebsd.net/mohawk/tarball/ \
http://fossil.bsdsx.fr/mohawk/tarball/
@ -12,7 +12,7 @@ COMMENT= Simple and lightweight HTTP daemon
LICENSE= BSD
LIB_DEPENDS= event-2.0:${PORTSDIR}/devel/libevent2
LIB_DEPENDS= event-2:${PORTSDIR}/devel/libevent2
PLIST_FILES+= bin/mhtpasswd \
sbin/mohawk \
@ -21,8 +21,6 @@ PLIST_FILES+= bin/mhtpasswd \
PORTEXAMPLES= *
USE_RC_SUBR= mohawk
MANCOMPRESSED= yes
MAN5= mohawk.conf.5
MAN8= mhtpasswd.8 \
mohawk.8
@ -30,15 +28,14 @@ MAN8= mhtpasswd.8 \
CFLAGS+= -I${LOCALBASE}/include/event2/compat -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib/event2
NO_STAGE= yes
.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
${INSTALL_DATA} ${WRKSRC}/examples/minimal.conf ${STAGEDIR}${PREFIX}/etc/mohawk.conf.sample
${INSTALL_SCRIPT} ${WRKSRC}/mhtpasswd.sh ${STAGEDIR}${PREFIX}/bin/mhtpasswd
.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.conf ${EXAMPLESDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.conf ${STAGEDIR}${EXAMPLESDIR}
.endif
.include <bsd.port.mk>

View file

@ -1,2 +1,2 @@
SHA256 (mohawk-2.0.8.tar.gz?uuid=2.0.8) = 2d77ba2cdc8b9ea6acfe35aebfbfe3661644fabb72d53df5ea10a26af83ece3c
SIZE (mohawk-2.0.8.tar.gz?uuid=2.0.8) = 37764
SHA256 (mohawk-2.0.9.tar.gz?uuid=2.0.9) = c940e6bdaee60b6665a59d513dce12db91adace8ef9ea70cebd44357e802f95b
SIZE (mohawk-2.0.9.tar.gz?uuid=2.0.9) = 37926