aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorlippe <lippe@FreeBSD.org>2009-11-22 04:18:14 +0800
committerlippe <lippe@FreeBSD.org>2009-11-22 04:18:14 +0800
commita0d9ffb55ed991ef2ecc6a0481965166fec7ad74 (patch)
treee137f611c35df06c657aa559eafa9632c4705411 /mail
parent7fe69d74575ae29d6060e3a3b4e238a25c9d6fd8 (diff)
downloadfreebsd-ports-gnome-a0d9ffb55ed991ef2ecc6a0481965166fec7ad74.tar.gz
freebsd-ports-gnome-a0d9ffb55ed991ef2ecc6a0481965166fec7ad74.tar.zst
freebsd-ports-gnome-a0d9ffb55ed991ef2ecc6a0481965166fec7ad74.zip
- Add DSPAM to OPTIONS, it will turn on dspam scanning and set off by default.
- Bump PORTREVISION. Noticed by: Peter <fbsdq@peterk.org> (private mail)
Diffstat (limited to 'mail')
-rw-r--r--mail/simscan/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/mail/simscan/Makefile b/mail/simscan/Makefile
index c2982911cd54..7985e063281a 100644
--- a/mail/simscan/Makefile
+++ b/mail/simscan/Makefile
@@ -7,7 +7,7 @@
PORTNAME= simscan
PORTVERSION= 1.4.0
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= mail security
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/rc/}
@@ -37,7 +37,8 @@ OPTIONS= CLAMAV "Support for ClamAV Virus Scanning" on \
ATTACH "Turn On Attachment Scanning (required CLAMAV)" off \
DROPMSG "Drop Message in Case of Virus Found" off \
PASSTHRU "Pass Spam Thru, Do Not Reject (required SPAMD)" off \
- HEADERS "Add a Received Line With Versions of Scanners" off
+ HEADERS "Add a Received Line With Versions of Scanners" off \
+ DSPAM "Turn on DSPAM scanning" off
.include <bsd.port.pre.mk>
@@ -90,6 +91,11 @@ CONFIGURE_ARGS+=--enable-received=y
CONFIGURE_ARGS+=--enable-sigtool-path=${LOCALBASE}/bin/sigtool
.endif
+.if defined(WITH_DSPAM)
+CONFIGURE_ARGS+=--enable-dspam=y
+BUILD_DEPENDS+= dspam:${PORTSDIR}/mail/dspam
+.endif
+
.if defined(SPAM_HITS)
CONFIGURE_ARGS+=--enable-spam-hits=${SPAM_HITS}
.endif