aboutsummaryrefslogtreecommitdiff
path: root/mail/qmailadmin/Makefile
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2009-03-18 16:00:59 +0000
committerPeter Pentchev <roam@FreeBSD.org>2009-03-18 16:00:59 +0000
commit9f4c8814e42d4214d4aa8974c6ce8761d508042a (patch)
tree8f93daade53b6aa7b4910a128f9233f004b6a2d2 /mail/qmailadmin/Makefile
parent564144c68dbebd4ada0b15caed6a27f3edb2875d (diff)
downloadports-9f4c8814e42d4214d4aa8974c6ce8761d508042a.tar.gz
ports-9f4c8814e42d4214d4aa8974c6ce8761d508042a.zip
Notes
Diffstat (limited to 'mail/qmailadmin/Makefile')
-rw-r--r--mail/qmailadmin/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/mail/qmailadmin/Makefile b/mail/qmailadmin/Makefile
index ececc3e865e3..cdb9e965b6f4 100644
--- a/mail/qmailadmin/Makefile
+++ b/mail/qmailadmin/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= qmailadmin
-PORTVERSION= 1.2.10
+PORTVERSION= 1.2.12
PORTEPOCH= 1
CATEGORIES= mail www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
@@ -67,6 +67,8 @@ WANT_QMAIL= yes
# SPAM_COMMAND - the command to use to check for spam;
# default is "|preline /usr/local/bin/maildrop /etc/mailfilter"
# do not forget the "|" at the start
+# WITH_SPAM_NEEDS_EMAIL - append the user's e-mail address as the last
+# argument to the spam command
#
CGIBINDIR?= www/cgi-bin.default
@@ -124,6 +126,11 @@ CONFIGURE_ARGS+= --enable-modify-spam=y
.if defined(SPAM_COMMAND)
CONFIGURE_ARGS+= --enable-spam-command="${SPAM_COMMAND}"
.endif
+.if defined(WITH_SPAM_NEEDS_EMAIL)
+CONFIGURE_ARGS+= --enable-spamcmd-needs-email
+.else
+CONFIGURE_ARGS+= --disable-spamcmd-needs-email
+.endif
.endif
.include <bsd.port.post.mk>