aboutsummaryrefslogtreecommitdiff
path: root/mail/emil
diff options
context:
space:
mode:
Diffstat (limited to 'mail/emil')
-rw-r--r--mail/emil/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/mail/emil/Makefile b/mail/emil/Makefile
index 770fd35860f3..4b436091ba60 100644
--- a/mail/emil/Makefile
+++ b/mail/emil/Makefile
@@ -18,8 +18,12 @@ COMMENT= Mail format/encoding converter
GNU_CONFIGURE= yes
CONFIGURE_ENV= YACC=byacc
-.if defined(NOPORTDOCS)
-MAKE_ENV= NOPORTDOCS=${NOPORTDOCS}
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
+
+.if empty(PORT_OPTIONS:MDOCS)
+MAKE_ENV= NOPORTDOCS=yes
.endif
.include <bsd.port.mk>