1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00

Add RELAY_COUNTRY support.

Submitted by:	Zach Thompson <hideo@lastamericanempire.com>
PR:		86689
This commit is contained in:
Anton Berezin 2005-09-29 09:41:46 +00:00
parent e676fe9682
commit 871063b018
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=143760

View File

@ -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 \