mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
- Make depends on razor-agents optional
PR: ports/81112 Submitted by: Jeremy Chadwick <freebsd@jdc.parodius.com>
This commit is contained in:
parent
3bbc20030d
commit
7ce88f2875
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=136185
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= Mail-SpamAssassin
|
||||
PORTVERSION= 3.0.3
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= mail perl5
|
||||
MASTER_SITES= ${MASTER_SITE_APACHE:S/$/:apache/} ${MASTER_SITE_PERL_CPAN:S/$/:cpan/}
|
||||
MASTER_SITE_SUBDIR= spamassassin/:apache Mail/:cpan
|
||||
@ -20,8 +20,7 @@ COMMENT= A highly efficient mail filter for identifying spam
|
||||
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS \
|
||||
${SITE_PERL}/${PERL_ARCH}/HTML/Parser.pm:${PORTSDIR}/www/p5-HTML-Parser \
|
||||
${SITE_PERL}/Mail/Internet.pm:${PORTSDIR}/mail/p5-Mail-Tools
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS} \
|
||||
razor-client:${PORTSDIR}/mail/razor-agents
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= SYSCONFDIR="${PREFIX}/etc" \
|
||||
@ -32,6 +31,7 @@ OPTIONS= AS_ROOT "Run spamd as root (recommended)" on \
|
||||
SSL "Build with SSL support for spamd/spamc" on \
|
||||
MYSQL "Add MySQL support" off \
|
||||
PGSQL "Add PostreSQL support" off \
|
||||
RAZOR "Add Vipul's Razor support" on \
|
||||
SPF_QUERY "Add SPF query support" off \
|
||||
TOOLS "Install SpamAssassin tools" off
|
||||
|
||||
@ -62,6 +62,10 @@ RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-P
|
||||
USE_SQLDB= yes
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_RAZOR)
|
||||
RUN_DEPENDS+= razor-client:${PORTSDIR}/mail/razor-agents
|
||||
.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 \
|
||||
|
Loading…
Reference in New Issue
Block a user