1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/dns/dnsflood/Makefile
2012-05-17 18:56:53 +00:00

44 lines
887 B
Makefile

# New ports collection makefile for: dnsflood
# Date created: 17.10.2003
# Whom: 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
LICENSE_FILE= ${WRKSRC}/LICENSE
WRKSRC= ${WRKDIR}/dns_flood_detector_1.2
PLIST_FILES= sbin/dns_flood_detector
USE_RC_SUBR= dnsflood
PORTDOCS= README
pre-patch:
@${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g' \
${WRKSRC}/makefiles/Makefile-FreeBSD
@${LN} -sf ${WRKSRC}/makefiles/Makefile-FreeBSD ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/dns_flood_detector ${PREFIX}/sbin
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for i in README
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>