1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/security/rid/Makefile
Martin Wilke d2d7c7dc32 - Respect NOPORTDOCS/NOPORTEXAMPLES
Approved by:	portmgr (erwin)
2008-09-12 08:51:36 +00:00

36 lines
881 B
Makefile

# ex:ts=8
# Ports collection makefile for: ddos_scan
# Date created: Sun Feb 12, 2000
# Whom: David O'Brien (obrien@NUXI.com)
#
# $FreeBSD$
#
PORTNAME= rid
PORTVERSION= 1.0
CATEGORIES= security
MASTER_SITES= http://www.phreak.org/archives/exploits/denial/ \
ftp://ftp.ntua.gr/pub/security/technotronic/denial/
DISTFILES= ${PORTNAME}-${PORTVERSION:S/./_/}.tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Configurable remote distributed denial of service tool detector
ALL_TARGET= rid
DOCS= README
pre-configure:
@${REINPLACE_CMD} -e 's:config.txt:${PREFIX}/etc/rid.conf.sample:g' \
${WRKSRC}/config.h
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/rid ${PREFIX}/sbin
@${INSTALL_DATA} ${WRKSRC}/config.txt ${PREFIX}/etc/rid.conf.sample
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
.endif
.include <bsd.port.mk>