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:
parent
a2ac7cbc80
commit
2d63e0cf6f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=128968
@ -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:
|
||||
|
@ -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%%
|
||||
|
Loading…
Reference in New Issue
Block a user