1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00
freebsd-ports/www/mohawk/Makefile
Guido Falsi 61694be5f7 - Update to 2.0.2
- Remove check for unsupported FreeBSD versions
- Trim Makefile header
- Use space instead of tab for WWW line in pkg-descr

PR:		ports/177986
Submitted by:	mohawk <mohawk@bsdsx.fr> (maintainer)
2013-04-22 17:58:03 +00:00

43 lines
1.0 KiB
Makefile

# Created by: Baptiste Daroussin <bapt@FreeBSD.org>
# $FreeBSD$
PORTNAME= mohawk
PORTVERSION= 2.0.2
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
LICENSE= BSD
LIB_DEPENDS= event-2.0:${PORTSDIR}/devel/libevent2
PLIST_FILES+= bin/mhtpasswd \
sbin/mohawk \
etc/mohawk.conf.sample
PORTEXAMPLES= *
USE_RC_SUBR= mohawk
MANCOMPRESSED= yes
MAN5= mohawk.conf.5
MAN8= mhtpasswd.8 \
mohawk.8
CFLAGS+= -I${LOCALBASE}/include/event2/compat -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib/event2
post-install:
@${INSTALL_DATA} ${WRKSRC}/examples/minimal.conf ${PREFIX}/etc/mohawk.conf.sample
@${INSTALL_SCRIPT} ${WRKSRC}/mhtpasswd.sh ${PREFIX}/bin/mhtpasswd
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/examples/*.conf ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>