aboutsummaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-19 11:57:29 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-19 11:57:29 +0000
commit13f7f4ae268a62a770094902a60d6df8539bb4b5 (patch)
treeb7afb4ad60a8377e9056c53f84e8355391242c5c /dns
parent07ae7b115775a1c4ab02bb43f4544295a1077203 (diff)
downloadports-13f7f4ae268a62a770094902a60d6df8539bb4b5.tar.gz
ports-13f7f4ae268a62a770094902a60d6df8539bb4b5.zip
Notes
Diffstat (limited to 'dns')
-rw-r--r--dns/dnsflood/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/dns/dnsflood/Makefile b/dns/dnsflood/Makefile
index 5c6e7ea0e788..e527cbb99d99 100644
--- a/dns/dnsflood/Makefile
+++ b/dns/dnsflood/Makefile
@@ -12,7 +12,6 @@ MAINTAINER= zi@FreeBSD.org
COMMENT= DNS flood detector
LICENSE= GPLv2
-LICENSE_FILE= ${WRKSRC}/LICENSE
WRKSRC= ${WRKDIR}/dns_flood_detector_1.2
@@ -20,19 +19,18 @@ PLIST_FILES= sbin/dns_flood_detector
USE_RC_SUBR= dnsflood
PORTDOCS= README
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
pre-patch:
@${LN} -sf ${WRKSRC}/makefiles/Makefile-FreeBSD ${WRKSRC}/Makefile
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/dns_flood_detector ${PREFIX}/sbin
+ ${INSTALL_PROGRAM} ${WRKSRC}/dns_flood_detector ${STAGEDIR}${PREFIX}/sbin
post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in README
- ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>