aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/nsca
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-07-05 05:53:52 +0800
committeradamw <adamw@FreeBSD.org>2014-07-05 05:53:52 +0800
commitffc3e95129c0d4d6adb87d9afa075f6f55064da8 (patch)
tree8a1a922343cd8227b33057cb5027da284a6f29ad /net-mgmt/nsca
parentc8d55c787a5c40f017bfb68abe3d99cbb3a79c09 (diff)
downloadfreebsd-ports-gnome-ffc3e95129c0d4d6adb87d9afa075f6f55064da8.tar.gz
freebsd-ports-gnome-ffc3e95129c0d4d6adb87d9afa075f6f55064da8.tar.zst
freebsd-ports-gnome-ffc3e95129c0d4d6adb87d9afa075f6f55064da8.zip
Remove NOPORTDOCS and NOPORTEXAMPLES.
Diffstat (limited to 'net-mgmt/nsca')
-rw-r--r--net-mgmt/nsca/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-mgmt/nsca/Makefile b/net-mgmt/nsca/Makefile
index 7fac87adec86..d1d0b9ecba29 100644
--- a/net-mgmt/nsca/Makefile
+++ b/net-mgmt/nsca/Makefile
@@ -29,6 +29,8 @@ USES= perl5
CONFIGURE_ARGS= --prefix=${PREFIX} --localstatedir=/var/spool/nagios
DOCSDIR?= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
+OPTIONS_DEFINE= DOCS
+
.if !defined(_BUILDING_NSCA_CLIENT)
USE_RC_SUBR= nsca
PLIST_SUB+= SERVER=""
@@ -61,10 +63,8 @@ do-install:
.endif
post-install:
-.if !defined(NOPORTDOCS)
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
-.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>