aboutsummaryrefslogtreecommitdiff
path: root/mail/qmail-contrib/Makefile
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2012-08-03 15:34:45 +0000
committerRenato Botelho <garga@FreeBSD.org>2012-08-03 15:34:45 +0000
commit90d97bb7c0b335bf482b1243aaab6676246ab4ea (patch)
tree840e8379f841715c5db9a647458ff49f7766d803 /mail/qmail-contrib/Makefile
parent3699fb2fba0a69c608a43ba48f60a0bf905f0f1c (diff)
downloadports-90d97bb7c0b335bf482b1243aaab6676246ab4ea.tar.gz
ports-90d97bb7c0b335bf482b1243aaab6676246ab4ea.zip
Notes
Diffstat (limited to 'mail/qmail-contrib/Makefile')
-rw-r--r--mail/qmail-contrib/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/mail/qmail-contrib/Makefile b/mail/qmail-contrib/Makefile
index b512b9763ead..07c7ff99d423 100644
--- a/mail/qmail-contrib/Makefile
+++ b/mail/qmail-contrib/Makefile
@@ -18,6 +18,9 @@ DISTFILES= dot-forward-${DF_VER}.tar.gz \
MAINTAINER= garga@FreeBSD.org
COMMENT= Contributed programs for qmail
+OPTIONS_DEFINE= DOCS
+OPTIONS_DEFAULT=DOCS
+
USE_QMAIL_RUN= yes
MAKE_JOBS_SAFE= yes
@@ -59,7 +62,7 @@ post-patch:
@${REINPLACE_CMD} -e "s|-O2|${CFLAGS}|" \
${WRKFF}/conf-cc \
${WRKDF}/conf-cc
-.if defined(NOPORTDOCS)
+.if empty(PORT_OPTIONS:MDOCS)
@${REINPLACE_CMD} -E 's|^(.*${DOCSDIR})|// \1|g' \
${WRKFF}/hier.c
.endif