aboutsummaryrefslogtreecommitdiff
path: root/www/mhonarc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/mhonarc/Makefile')
-rw-r--r--www/mhonarc/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/www/mhonarc/Makefile b/www/mhonarc/Makefile
index b4b7148fa314..816ab010eaca 100644
--- a/www/mhonarc/Makefile
+++ b/www/mhonarc/Makefile
@@ -20,7 +20,11 @@ INSTALL_ARGS= -prefix ${STAGEDIR} -binpath ${STAGEDIR}${PREFIX}/bin \
-manpath ${STAGEDIR}${PREFIX}/man \
-batch
-.if !defined(NOPORTDOCS)
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
THEDOCSDIR= ${STAGEDIR}${PREFIX}/share/doc/MHonArc
DOCSDIR=${PREFIX}/share/doc/MHonArc
INSTALL_ARGS+= -docpath ${THEDOCSDIR}