aboutsummaryrefslogtreecommitdiff
path: root/devel/ocaml-extlib
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2005-02-15 21:52:21 +0000
committerVolker Stolz <vs@FreeBSD.org>2005-02-15 21:52:21 +0000
commit2d63e0cf6fde505b14b3a7171b0f3be4ecd40a32 (patch)
tree4d01d9c164785724c1dbf232bf84fa8ce3f92bab /devel/ocaml-extlib
parenta2ac7cbc80538ff228ca86ca20f567f2ef251b8d (diff)
downloadports-2d63e0cf6fde505b14b3a7171b0f3be4ecd40a32.tar.gz
ports-2d63e0cf6fde505b14b3a7171b0f3be4ecd40a32.zip
Notes
Diffstat (limited to 'devel/ocaml-extlib')
-rw-r--r--devel/ocaml-extlib/Makefile9
-rw-r--r--devel/ocaml-extlib/pkg-plist2
2 files changed, 9 insertions, 2 deletions
diff --git a/devel/ocaml-extlib/Makefile b/devel/ocaml-extlib/Makefile
index a2b3134a9389..40c93ee0bbce 100644
--- a/devel/ocaml-extlib/Makefile
+++ b/devel/ocaml-extlib/Makefile
@@ -20,7 +20,14 @@ BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml \
ocamlfind:${PORTSDIR}/devel/ocaml-findlib
USE_GMAKE= yes
-ALL_TARGET= all opt doc
+ALL_TARGET= all opt
+ALL_TARGET= all opt
+.if !defined(NOPORTDOCS)
+ALL_TARGET+= doc
+PLIST_SUB+= PORTDOCS=""
+.else
+PLIST_SUB+= PORTDOCS="@comment "
+.endif
DOCSDIR= ${PREFIX}/share/doc/ocaml/${PORTNAME}
post-install:
diff --git a/devel/ocaml-extlib/pkg-plist b/devel/ocaml-extlib/pkg-plist
index 1369f0beac9e..becbca961d46 100644
--- a/devel/ocaml-extlib/pkg-plist
+++ b/devel/ocaml-extlib/pkg-plist
@@ -106,4 +106,4 @@ lib/ocaml/site-lib/extlib/META
%%PORTDOCS%%%%DOCSDIR%%/type_UTF8.html
%%PORTDOCS%%%%DOCSDIR%%/type_Unzip.html
@dirrm lib/ocaml/site-lib/extlib
-@dirrm %%DOCSDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%