aboutsummaryrefslogtreecommitdiff
path: root/mail/p5-Mail-SpamAssassin
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2006-12-25 13:38:41 +0000
committerErwin Lansing <erwin@FreeBSD.org>2006-12-25 13:38:41 +0000
commitf64eca9ca0ef47cf5916681f83d78d01a0582118 (patch)
tree62b2e473454a5937ac7196985c05bd442d317b0d /mail/p5-Mail-SpamAssassin
parent378c1ed875ba8d3ad9ac7059d1997c987f44c94f (diff)
downloadports-f64eca9ca0ef47cf5916681f83d78d01a0582118.tar.gz
ports-f64eca9ca0ef47cf5916681f83d78d01a0582118.zip
Make GnuPG support for sa-update optional.
PR: 105692 Submitted by: shaun
Notes
Notes: svn path=/head/; revision=180702
Diffstat (limited to 'mail/p5-Mail-SpamAssassin')
-rw-r--r--mail/p5-Mail-SpamAssassin/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/mail/p5-Mail-SpamAssassin/Makefile b/mail/p5-Mail-SpamAssassin/Makefile
index c54c46abb7b0..f6aadc35370f 100644
--- a/mail/p5-Mail-SpamAssassin/Makefile
+++ b/mail/p5-Mail-SpamAssassin/Makefile
@@ -22,8 +22,7 @@ BUILD_DEPENDS= p5-Net-DNS>=0.53:${PORTSDIR}/dns/p5-Net-DNS \
${SITE_PERL}/Mail/Internet.pm:${PORTSDIR}/mail/p5-Mail-Tools
RUN_DEPENDS= ${BUILD_DEPENDS} \
${SITE_PERL}/Bundle/LWP.pm:${PORTSDIR}/www/p5-libwww \
- ${SITE_PERL}/Archive/Tar.pm:${PORTSDIR}/archivers/p5-Archive-Tar \
- gpgv:${PORTSDIR}/security/gnupg1
+ ${SITE_PERL}/Archive/Tar.pm:${PORTSDIR}/archivers/p5-Archive-Tar
PERL_CONFIGURE= yes
CONFIGURE_ARGS= SYSCONFDIR="${PREFIX}/etc" \
@@ -36,6 +35,7 @@ CONTACT_ADDRESS?= The administrator of that system
OPTIONS= AS_ROOT "Run spamd as root (recommended)" on \
DOMAINKEYS "DomainKeys support" off \
SSL "Build with SSL support for spamd/spamc" on \
+ GNUPG "Install GnuPG (for sa-update)" on \
MYSQL "Add MySQL support" off \
PGSQL "Add PostreSQL support" off \
RAZOR "Add Vipul's Razor support" on \
@@ -60,6 +60,10 @@ CONFIGURE_ARGS+= ENABLE_SSL=yes
CONFIGURE_ARGS+= ENABLE_SSL=no
.endif
+.if !defined(WITHOUT_GNUPG)
+RUN_DEPENDS+= gpgv:${PORTSDIR}/security/gnupg1
+.endif
+
.if defined(WITH_MYSQL)
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
.endif