aboutsummaryrefslogtreecommitdiff
path: root/math/qhull
diff options
context:
space:
mode:
Diffstat (limited to 'math/qhull')
-rw-r--r--math/qhull/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/math/qhull/Makefile b/math/qhull/Makefile
index a3f4fe8542c2..207e7350cecb 100644
--- a/math/qhull/Makefile
+++ b/math/qhull/Makefile
@@ -17,11 +17,15 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
CONFLICTS= qhull-1.0* afni-[0-9]* qhull5-*
+OPTIONS_DEFINE= DOCS
+
post-patch:
${REINPLACE_CMD} -e 's#share/man/man#man/man#g' \
${WRKSRC}/CMakeLists.txt
-.if defined(NOPORTDOCS)
+.include <bsd.port.options.mk>
+
+.if empty(PORT_OPTIONS:MDOCS)
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-CMakeLists.txt
.endif