summaryrefslogtreecommitdiffstats
path: root/security/rid/Makefile
blob: 1f43c558813d5ad3f81c3b53f4649a7b40b736f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# ex:ts=8
# Ports collection makefile for:  ddos_scan
# Date created:			  Sun Feb 12, 2000
# Whom:				  David O'Brien (obrien@NUXI.com)
#
# $FreeBSD$
#

DISTNAME=	rid-1_0
PKGNAME=	rid-1.0
CATEGORIES=	security
MASTER_SITES=	http://packetstorm.securify.com/distributed/  \
		ftp://ftp.ntua.gr/pub/security/technotronic/denial/
EXTRACT_SUFX=	.tgz

MAINTAINER=	obrien@FreeBSD.org

WRKSRC=		${WRKDIR}/${PKGNAME}
ALL_TARGET=	rid

pre-configure:
	@${PERL} -pi -e 's:config.txt:${PREFIX}/etc/rid.conf:g'  \
		${WRKSRC}/config.h

do-install:
	@${INSTALL_PROGRAM} ${WRKSRC}/rid ${PREFIX}/sbin
	@${INSTALL_DATA} ${WRKSRC}/config.txt ${PREFIX}/etc/rid.conf
.if !defined(NOPORTDOCS)
	@${MKDIR} ${PREFIX}/share/doc/rid
	@${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/rid
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud