aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorrobak <robak@FreeBSD.org>2015-03-09 01:56:30 +0800
committerrobak <robak@FreeBSD.org>2015-03-09 01:56:30 +0800
commit0a3751e4dec99db37c42fc70143abd86bbb215a9 (patch)
tree335282852639f7b74fc0ccd6fccbfd577c7b70bb /x11-toolkits
parent92125eed21a294ddfbe91b9c557adaf3f1c5b66d (diff)
downloadfreebsd-ports-gnome-0a3751e4dec99db37c42fc70143abd86bbb215a9.tar.gz
freebsd-ports-gnome-0a3751e4dec99db37c42fc70143abd86bbb215a9.tar.zst
freebsd-ports-gnome-0a3751e4dec99db37c42fc70143abd86bbb215a9.zip
x11-toolkits/ocaml-lablgtk2: fix build without DOCS
- Maintainer's timeout (bf@FreeBSD.org) PR: 195907 Submitted by: Kevin Zheng <kevinz5000@gmail.com>
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/ocaml-lablgtk2/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/x11-toolkits/ocaml-lablgtk2/Makefile b/x11-toolkits/ocaml-lablgtk2/Makefile
index 3b71923e62df..50f8aad0f6fd 100644
--- a/x11-toolkits/ocaml-lablgtk2/Makefile
+++ b/x11-toolkits/ocaml-lablgtk2/Makefile
@@ -135,7 +135,9 @@ post-patch:
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
+.endif
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \
"*.ml *.png *.rgb *.xpm text ${EXAMPLES_SUBDIRS}" \