aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2013-05-03 18:48:58 +0800
committergahr <gahr@FreeBSD.org>2013-05-03 18:48:58 +0800
commitd8d7837684e310f12f00f4945423580d3e82a4c5 (patch)
tree8c9a4f4ab3236f72e9f9e7789c4cb013c00da1bf /devel
parentfce59748f6bafb3c5fc9bbeb32c1246a7c8accb0 (diff)
downloadfreebsd-ports-gnome-d8d7837684e310f12f00f4945423580d3e82a4c5.tar.gz
freebsd-ports-gnome-d8d7837684e310f12f00f4945423580d3e82a4c5.tar.zst
freebsd-ports-gnome-d8d7837684e310f12f00f4945423580d3e82a4c5.zip
- Make sure html / man-pages do not get installed if the OPTION was unset
Submitted by: QAT
Diffstat (limited to 'devel')
-rw-r--r--devel/tcllib/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/devel/tcllib/Makefile b/devel/tcllib/Makefile
index 3028c4d7489f..8fd0e55f3fa8 100644
--- a/devel/tcllib/Makefile
+++ b/devel/tcllib/Makefile
@@ -33,6 +33,8 @@ INSTALL_ARGS= -pkgs -pkg-path ${PREFIX}/lib/tcllib \
ALL_TARGET+= nroff-doc
INSTALL_ARGS+= -nroff-path ${MANPREFIX}/man/mann
.include "Makefile.man"
+.else
+INSTALL_ARGS+= -no-nroff
.endif
#
@@ -41,6 +43,8 @@ INSTALL_ARGS+= -nroff-path ${MANPREFIX}/man/mann
.if ${PORT_OPTIONS:MDOCS}
ALL_TARGET+= html-doc
INSTALL_ARGS+= -html-path ${DOCSDIR}
+.else
+INSTALL_ARGS+= -no-html
.endif
post-patch: