aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2014-03-09 05:48:53 +0800
committerrene <rene@FreeBSD.org>2014-03-09 05:48:53 +0800
commitdea1adc4c73f117d278a4c750c22de2486cf9196 (patch)
tree2e807971622e3605420219d955446eaa1bfd9be6
parent4d5a3a0a47958ce4b8d5bd4c265045502674f903 (diff)
downloadfreebsd-ports-gnome-dea1adc4c73f117d278a4c750c22de2486cf9196.tar.gz
freebsd-ports-gnome-dea1adc4c73f117d278a4c750c22de2486cf9196.tar.zst
freebsd-ports-gnome-dea1adc4c73f117d278a4c750c22de2486cf9196.zip
net-mgmt/netmond: Fix build when DOCS is selected.
Submitted by: Vsevolod Volkov <vvv@colocall.net>
-rw-r--r--net-mgmt/netmond/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/net-mgmt/netmond/Makefile b/net-mgmt/netmond/Makefile
index 42083a77f1ba..55d1a38c7174 100644
--- a/net-mgmt/netmond/Makefile
+++ b/net-mgmt/netmond/Makefile
@@ -47,7 +47,9 @@ do-install:
${INSTALL_SCRIPT} ${WRKDIR}/netmond_watchdog ${STAGEDIR}${PREFIX}/sbin/netmond_watchdog
${INSTALL_SCRIPT} ${WRKDIR}/netmondctl ${STAGEDIR}${PREFIX}/sbin/netmondctl
${INSTALL_DATA} ${WRKSRC}/netmon.conf.sample ${STAGEDIR}${PREFIX}/etc/netmond.conf.sample
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${TAR} -zxf ${DISTDIR}/${PORTNAME}-2.2-b6.docs${EXTRACT_SUFX} -C ${STAGEDIR}${DOCSDIR}
+.endif
.include <bsd.port.mk>