aboutsummaryrefslogtreecommitdiffstats
path: root/dns/dnsflood/Makefile
blob: e527cbb99d999593de17e74440e17df1dfea8724 (plain) (blame)
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
34
35
36
# Created by: krion
# $FreeBSD$

PORTNAME=   dnsflood
PORTVERSION=    1.20
CATEGORIES= dns
MASTER_SITES=   http://www.adotout.com/ \
        http://mirrors.rit.edu/zi/
EXTRACT_SUFX=   .tgz

MAINTAINER= zi@FreeBSD.org
COMMENT=    DNS flood detector

LICENSE=    GPLv2

WRKSRC=     ${WRKDIR}/dns_flood_detector_1.2

PLIST_FILES=    sbin/dns_flood_detector
USE_RC_SUBR=    dnsflood
PORTDOCS=   README

OPTIONS_DEFINE= DOCS

pre-patch:
    @${LN} -sf ${WRKSRC}/makefiles/Makefile-FreeBSD ${WRKSRC}/Makefile

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/dns_flood_detector ${STAGEDIR}${PREFIX}/sbin

post-install:
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in README
    ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>