aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/qwt6
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/qwt6')
-rw-r--r--x11-toolkits/qwt6/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/x11-toolkits/qwt6/Makefile b/x11-toolkits/qwt6/Makefile
index 906e02ae5bbf..922e8721d073 100644
--- a/x11-toolkits/qwt6/Makefile
+++ b/x11-toolkits/qwt6/Makefile
@@ -32,12 +32,14 @@ PLIST_SUB= INCLUDEDIR=include/${LATEST_LINK} \
STRIP_FILES= lib/libqwt6.so.${PORTVERSION} \
lib/libqwtmathml.so.${PORTVERSION}
+.include <bsd.port.options.mk>
+
do-configure:
(cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKEFLAGS} ${QMAKE_ARGS})
post-install:
${STRIP_CMD} ${STRIP_FILES:S,^,${PREFIX}/,}
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
(cd ${WRKSRC}/doc/html/ && ${COPYTREE_SHARE} \* ${DOCSDIR})
.endif