aboutsummaryrefslogtreecommitdiff
path: root/math/qhull
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-04 00:52:39 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-04 00:52:39 +0000
commitd9b51276267edffe96f5dfa613e9010e8b20d481 (patch)
tree71cbf3545f3c46063cafedf3043c72b11789854f /math/qhull
parent3b13c98a60e823f1bc3e1f443d21e61fcb8dcbcc (diff)
downloadports-d9b51276267edffe96f5dfa613e9010e8b20d481.tar.gz
ports-d9b51276267edffe96f5dfa613e9010e8b20d481.zip
Notes
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