freebsd-ports/security/bruteblock/Makefile
Martin Matuska b2c4fbb77a Update PCRE to 8.32
Introduces the UTF-32 library pcre32
Bump PORTREVISION in dependent ports
2012-12-10 19:11:11 +00:00

54 lines
1.3 KiB
Makefile

# New ports collection makefile for: bruteblock
# Date created: 30 Jul 2006
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# $FreeBSD$
#
PORTNAME= bruteblock
PORTVERSION= 0.0.5
PORTREVISION= 4
CATEGORIES= security
MASTER_SITES= http://samm.kiev.ua/bruteblock/ \
http://mirror.amdmi3.ru/distfiles/
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Software for blocking bruteforce attacks with ipfw
LIB_DEPENDS= pcre.3:${PORTSDIR}/devel/pcre
PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_FILES= pkg-message
MAKE_JOBS_SAFE= yes
USE_RC_SUBR= bruteblockd
MAN8= bruteblock.8
CONFDIR= ${PREFIX}/etc/${PORTNAME}
PORTDOCS= FAQ README CHANGES
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bruteblock ${PREFIX}/sbin/
${INSTALL_PROGRAM} ${WRKSRC}/bruteblockd ${PREFIX}/sbin/
${MKDIR} ${PREFIX}/etc/bruteblock
.for file in ssh proftpd
${INSTALL_DATA} ${WRKSRC}/etc/${file}.conf ${CONFDIR}/${file}.conf.dist
if [ ! -f ${CONFDIR}/${file}.conf ]; then \
${INSTALL_DATA} ${CONFDIR}/${file}.conf.dist ${CONFDIR}/${file}.conf; \
fi
.endfor
${INSTALL_MAN} ${WRKSRC}/doc/bruteblock.8 ${PREFIX}/man/man8/
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/doc/FAQ ${DOCSDIR}/
@${INSTALL_DATA} ${WRKSRC}/doc/README ${DOCSDIR}/
@${INSTALL_DATA} ${WRKSRC}/doc/CHANGES ${DOCSDIR}/
.endif
post-install:
.if !defined(BATCH)
@${CAT} ${PKGMESSAGE}
.endif
.include <bsd.port.mk>