freebsd-ports/dns/dnsflood/Makefile
Andrej Zverev a02df25c27 - Remove deprecated USE_REINPLACE
- Remove no longer exist core.inec.ru from MASTER_SITES list - R.I.P
2006-02-22 08:35:50 +00:00

42 lines
844 B
Makefile

# New ports collection makefile for: dnsflood
# Date created: 17.10.2003
# Whom: krion
#
# $FreeBSD$
#
PORTNAME= dnsflood
PORTVERSION= 1.11
CATEGORIES= dns
MASTER_SITES= http://www.adotout.com/
EXTRACT_SUFX= .tgz
MAINTAINER= az@FreeBSD.org
COMMENT= DNS flood detector
USE_GETOPT_LONG= yes
WRKSRC= ${WRKDIR}/dns_flood_detector
PLIST_FILES= sbin/dns_flood_detector %%PORTDOCS%%%%DOCSDIR%%/README
PLIST_DIRS= %%PORTDOCS%%%%DOCSDIR%%
pre-patch:
${CP} ${WRKSRC}/makefiles/Makefile-FreeBSD ${WRKSRC}/Makefile
post-patch:
@${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g' \
${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>