From f835b4e9f47fe04bbc4163d5a3be10842ef90442 Mon Sep 17 00:00:00 2001 From: Emmanuel Vadot Date: Wed, 10 Aug 2016 10:21:09 +0000 Subject: [PATCH] Use DOCS_CMAKE_* variable as it should have been in r419993 Approved by: koobs --- net/nanomsg/Makefile | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/net/nanomsg/Makefile b/net/nanomsg/Makefile index c64984f21f3f..8521f725f630 100644 --- a/net/nanomsg/Makefile +++ b/net/nanomsg/Makefile @@ -22,13 +22,7 @@ OPTIONS_SUB= yes DOCS_DESC= Build and/or install HTML and manpages DOCS_BUILD_DEPENDS= asciidoctor:textproc/rubygem-asciidoctor - -.include - -.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