aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2014-03-04 14:44:57 +0800
committerhrs <hrs@FreeBSD.org>2014-03-04 14:44:57 +0800
commita3c39786dd84117d336861e7da5ee06a44234695 (patch)
tree6852705320ec24bca3d0887a005bdd157237a226 /dns
parent45f339627229be4c43339311c061a59b3a6e4165 (diff)
downloadfreebsd-ports-gnome-a3c39786dd84117d336861e7da5ee06a44234695.tar.gz
freebsd-ports-gnome-a3c39786dd84117d336861e7da5ee06a44234695.tar.zst
freebsd-ports-gnome-a3c39786dd84117d336861e7da5ee06a44234695.zip
Add STAGEDIR support.
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>