1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00

Use DOCS_CMAKE_* variable as it should have been in r419993

Approved by:	koobs
This commit is contained in:
Emmanuel Vadot 2016-08-10 10:21:09 +00:00
parent 10c2b53cf1
commit f835b4e9f4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=420006

View File

@ -22,13 +22,7 @@ OPTIONS_SUB= yes
DOCS_DESC= Build and/or install HTML and manpages
DOCS_BUILD_DEPENDS= asciidoctor:textproc/rubygem-asciidoctor
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
CMAKE_ARGS+= -DCMAKE_INSTALL_MANDIR:STRING=man
.else
CMAKE_ARGS+= -DNN_ENABLE_DOC=OFF
.endif
DOCS_CMAKE_BOOL= NN_ENABLE_DOC
DOCS_CMAKE_ON= -DCMAKE_INSTALL_MANDIR:STRING=man
.include <bsd.port.mk>