aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorBartek Rutkowski <robak@FreeBSD.org>2015-03-09 01:56:30 +0800
committerBartek Rutkowski <robak@FreeBSD.org>2015-03-09 01:56:30 +0800
commit25c38be69f3fc1a8c7c4e2a47167cf5225e1b25f (patch)
tree335282852639f7b74fc0ccd6fccbfd577c7b70bb /x11-toolkits
parente4f93844ec932bc0ee0bc8d5c3f4b7cd85f9e562 (diff)
downloadfreebsd-ports-gnome-25c38be69f3fc1a8c7c4e2a47167cf5225e1b25f.tar.gz
freebsd-ports-gnome-25c38be69f3fc1a8c7c4e2a47167cf5225e1b25f.tar.zst
freebsd-ports-gnome-25c38be69f3fc1a8c7c4e2a47167cf5225e1b25f.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}" \