1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

Fix plist for NOPORTDOCS

PR:		ports/77560
Submitted by:	Jun Mukai (maintainer)
This commit is contained in:
Volker Stolz 2005-02-15 21:52:21 +00:00
parent a2ac7cbc80
commit 2d63e0cf6f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=128968
2 changed files with 9 additions and 2 deletions

View File

@ -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:

View File

@ -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%%