From 2d63e0cf6fde505b14b3a7171b0f3be4ecd40a32 Mon Sep 17 00:00:00 2001 From: Volker Stolz Date: Tue, 15 Feb 2005 21:52:21 +0000 Subject: Fix plist for NOPORTDOCS PR: ports/77560 Submitted by: Jun Mukai (maintainer) --- devel/ocaml-extlib/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'devel/ocaml-extlib/Makefile') 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: -- cgit v1.2.3