1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00
freebsd-ports/dns/dnsflood/Makefile
Mathieu Arnold f899c758a6 When there is a do-install target, do not use a post-install target, do
everything at once.  Sometime, rename post-install into a options helper
target.

I did not fix ports that were such a mess that I could not figure out
what they really wanted to do.  I also did not change ports that had
some version of an auto-plist code in post-install, for the same reason.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-19 11:04:13 +00:00

37 lines
714 B
Makefile

# 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-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in README
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>