1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/www/mod_evasive/Makefile
Olli Hauer 8136ee5a9f - add stage support
- add license
- minor cleanups

with hat apache@
2013-12-15 22:11:20 +00:00

36 lines
821 B
Makefile

# Created by: Xavier Beaudouin <kiwi@oav.net>
# $FreeBSD$
PORTNAME= mod_evasive
PORTVERSION= 1.10.1
PORTREVISION= 1
CATEGORIES= www security
MASTER_SITES= http://www.zdziarski.com/blog/wp-content/uploads/2010/02/
DISTNAME= mod_evasive_${PORTVERSION}
DIST_SUBDIR= apache2
MAINTAINER= kiwi@oav.net
COMMENT= Apache module to try to protect the HTTP Server from DoS/DDoS attacks
LICENSE= GPLv2
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_APACHE= 22
AP_FAST_BUILD= yes
AP_GENPLIST= yes
MODULENAME= ${PORTNAME}20
PORTDOCS= README test.pl
post-patch:
@${REINPLACE_CMD} -e "s|/bin/mail|/usr/bin/mail|g" \
${WRKSRC}/mod_evasive.c ${WRKSRC}/mod_evasive20.c \
${WRKSRC}/mod_evasiveNSAPI.c
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>