aboutsummaryrefslogtreecommitdiff
path: root/comms/kb
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-01-03 16:06:00 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-01-03 16:06:00 +0000
commitfbd9122a40a8aef04301c3d176bb2573a5e66fa6 (patch)
tree20fb46a71453f65c9a7021567c09766245990eb3 /comms/kb
parent7796094ddfe2830f75237ae54c7edf21e9033350 (diff)
downloadports-fbd9122a40a8aef04301c3d176bb2573a5e66fa6.tar.gz
ports-fbd9122a40a8aef04301c3d176bb2573a5e66fa6.zip
Convert comms to MDOCS and MEXAMPLES.
Hold-out shame list: perl
Notes
Notes: svn path=/head/; revision=338555
Diffstat (limited to 'comms/kb')
-rw-r--r--comms/kb/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/comms/kb/Makefile b/comms/kb/Makefile
index a76b61d86fac..15c2db60508b 100644
--- a/comms/kb/Makefile
+++ b/comms/kb/Makefile
@@ -27,6 +27,9 @@ DESKTOP_ENTRIES="KB" \
true
NO_STAGE= yes
+
+.include <bsd.port.options.mk>
+
pre-configure:
@${CP} ${FILESDIR}/Makefile ${WRKSRC}
.if !exists(/usr/include/dev/speaker/speaker.h)
@@ -47,7 +50,7 @@ do-install:
${MKDIR} ${PREFIX}/share/pixmaps/kb/icons
${INSTALL_DATA} ${FILESDIR}/kb-icon.png \
${PREFIX}/share/pixmaps/kb/icons/kb-icon.png
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${FILESDIR}/README_TIPS ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/kb_bsd/README_BSD ${DOCSDIR}