aboutsummaryrefslogtreecommitdiffstats
path: root/math/qhull5
diff options
context:
space:
mode:
Diffstat (limited to 'math/qhull5')
-rw-r--r--math/qhull5/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/math/qhull5/Makefile b/math/qhull5/Makefile
index d94fe506348a..3e47d4588bd5 100644
--- a/math/qhull5/Makefile
+++ b/math/qhull5/Makefile
@@ -22,8 +22,12 @@ USES= libtool gmake
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
+
pre-configure:
-.if defined(NOPORTDOCS)
+.if empty(PORT_OPTIONS:MDOCS)
@${REINPLACE_CMD} -e "s|src html eg config|src config|" \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e "s|install-docDATA install-examplesDATA||" \