aboutsummaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2014-03-04 06:44:57 +0000
committerHiroki Sato <hrs@FreeBSD.org>2014-03-04 06:44:57 +0000
commitf63df01aaf28b62da7eb52bc4da38aa8e84cb1c3 (patch)
tree6852705320ec24bca3d0887a005bdd157237a226 /dns
parentbcabde21feae1aac761c0aa0c171421f6eea8192 (diff)
downloadports-f63df01aaf28b62da7eb52bc4da38aa8e84cb1c3.tar.gz
ports-f63df01aaf28b62da7eb52bc4da38aa8e84cb1c3.zip
Add STAGEDIR support.
Notes
Notes: svn path=/head/; revision=346991
Diffstat (limited to 'dns')
-rw-r--r--dns/dnsperf/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/dns/dnsperf/Makefile b/dns/dnsperf/Makefile
index 15ed6ba31bcf..9c501237fbb4 100644
--- a/dns/dnsperf/Makefile
+++ b/dns/dnsperf/Makefile
@@ -18,8 +18,11 @@ MAKE_ENV= INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
INSTALL_DATA="${INSTALL_DATA}" \
INSTALL_MAN="${INSTALL_MAN}"
-PLIST_FILES= bin/dnsperf bin/resperf bin/resperf-report
-MAN1= dnsperf.1 resperf.1
+PLIST_FILES= bin/dnsperf \
+ bin/resperf \
+ bin/resperf-report \
+ man/man1/dnsperf.1.gz \
+ man/man1/resperf.1.gz
PORTDOCS= caching-dns-performance.pdf \
dnsperf.pdf \
resperf.pdf
@@ -28,7 +31,6 @@ CFLAGS+= -I.
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=DOCS
-NO_STAGE= yes
.include <bsd.port.options.mk>
# This is a workaround for broken isc/stat.h.
@@ -39,8 +41,8 @@ pre-build:
.if ${PORT_OPTIONS:MDOCS}
post-install:
- @${MKDIR} ${DOCSDIR}
- cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>