aboutsummaryrefslogtreecommitdiffstats
path: root/mail/p5-Mail-SpamAssassin
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2005-09-29 17:41:46 +0800
committertobez <tobez@FreeBSD.org>2005-09-29 17:41:46 +0800
commit4122d76a2e50bbbe9d5366e1252806907958b9cc (patch)
tree0dfa3bb4102a61973624280e87f509d55ab30cb6 /mail/p5-Mail-SpamAssassin
parented8de7392d80e2ce086c2c2dd37b52960475c76a (diff)
downloadfreebsd-ports-gnome-4122d76a2e50bbbe9d5366e1252806907958b9cc.tar.gz
freebsd-ports-gnome-4122d76a2e50bbbe9d5366e1252806907958b9cc.tar.zst
freebsd-ports-gnome-4122d76a2e50bbbe9d5366e1252806907958b9cc.zip
Add RELAY_COUNTRY support.
Submitted by: Zach Thompson <hideo@lastamericanempire.com> PR: 86689
Diffstat (limited to 'mail/p5-Mail-SpamAssassin')
-rw-r--r--mail/p5-Mail-SpamAssassin/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/mail/p5-Mail-SpamAssassin/Makefile b/mail/p5-Mail-SpamAssassin/Makefile
index 5c9208674ae0..968ee9f0e5e5 100644
--- a/mail/p5-Mail-SpamAssassin/Makefile
+++ b/mail/p5-Mail-SpamAssassin/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Mail-SpamAssassin
PORTVERSION= 3.1.0
+PORTREVISION= 1
CATEGORIES= mail perl5
MASTER_SITES= ${MASTER_SITE_APACHE:S/$/:apache/} ${MASTER_SITE_PERL_CPAN:S/$/:cpan/}
MASTER_SITE_SUBDIR= spamassassin/source/:apache Mail/:cpan
@@ -33,6 +34,7 @@ OPTIONS= AS_ROOT "Run spamd as root (recommended)" on \
PGSQL "Add PostreSQL support" off \
RAZOR "Add Vipul's Razor support" off \
SPF_QUERY "Add SPF query support" off \
+ RELAY_COUNTRY "Relay country support" off \
TOOLS "Install SpamAssassin tools" off
.include <bsd.port.pre.mk>
@@ -68,6 +70,10 @@ RUN_DEPENDS+= razor-client:${PORTSDIR}/mail/razor-agents
RUN_DEPENDS+= ${SITE_PERL}/Mail/DomainKeys.pm:${PORTSDIR}/mail/p5-Mail-DomainKeys
.endif
+.if defined(WITH_RELAY_COUNTRY)
+RUN_DEPENDS= ${SITE_PERL}/IP/Country/Fast.pm:${PORTSDIR}/net/p5-IP-Country
+.endif
+
.if defined(WITH_TOOLS)
RUN_DEPENDS+= ${SITE_PERL}/Parse/Syslog.pm:${PORTSDIR}/textproc/p5-Parse-Syslog \
${SITE_PERL}/Date/Manip.pm:${PORTSDIR}/devel/p5-Date-Manip \