freebsd-ports/www/mohawk/Makefile
Jan Beich f18538b989 devel/libevent2: update to 2.1.11
Changes:	https://github.com/libevent/libevent/releases/tag/release-2.1.11-stable
ABI:		https://abi-laboratory.pro/tracker/timeline/libevent/
PR:		239599
Reported by:	GitHub (watch releases)
Approved by:	zeising (maintainer)
MFH:		2019Q3 (maybe security, partially restores 2.1.8 ABI)
Differential Revision:	https://reviews.freebsd.org/D21133
2019-08-02 13:30:40 +00:00

44 lines
1 KiB
Makefile

# $FreeBSD$
PORTNAME= mohawk
PORTVERSION= 2.0.19
PORTREVISION= 2
CATEGORIES= www ipv6
MASTER_SITES= http://fossil.bsdsx.fr/mohawk/tarball/ \
http://fossil.etoilebsd.net/mohawk/tarball/
DISTFILES= ${DISTNAME}.tar.gz?uuid=${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple and lightweight HTTP daemon
LICENSE= BSD2CLAUSE
LIB_DEPENDS= libevent.so:devel/libevent
PLIST_FILES+= bin/mhtpasswd \
man/man5/mohawk.conf.5.gz \
man/man8/mhtpasswd.8.gz \
man/man8/mohawk.8.gz \
sbin/mohawk \
etc/mohawk.conf.sample
USES= uidfix
PORTEXAMPLES= *
USE_RC_SUBR= mohawk
CFLAGS+= -I${LOCALBASE}/include/event2/compat -I${LOCALBASE}/include
OPTIONS_DEFINE= EXAMPLES
.include <bsd.port.options.mk>
post-install:
${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} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.conf ${STAGEDIR}${EXAMPLESDIR}
.endif
.include <bsd.port.mk>