aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2005-09-30 08:31:51 +0800
committerleeym <leeym@FreeBSD.org>2005-09-30 08:31:51 +0800
commit14d56cdeabd41b8f0a64a1db237d590f2ba75ba6 (patch)
tree3dd6dac169b932df7e74a08fbd3021484f4f58b6 /mail
parenta472650cfc3594a134c5ba2d397be3daa9458a7b (diff)
downloadfreebsd-ports-gnome-14d56cdeabd41b8f0a64a1db237d590f2ba75ba6.tar.gz
freebsd-ports-gnome-14d56cdeabd41b8f0a64a1db237d590f2ba75ba6.tar.zst
freebsd-ports-gnome-14d56cdeabd41b8f0a64a1db237d590f2ba75ba6.zip
- enable RelayCountry if WITH_RELAY_COUNTRY is defined
- bump PORTREVISION
Diffstat (limited to 'mail')
-rw-r--r--mail/p5-Mail-SpamAssassin/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/mail/p5-Mail-SpamAssassin/Makefile b/mail/p5-Mail-SpamAssassin/Makefile
index 968ee9f0e5e5..a475a791df4d 100644
--- a/mail/p5-Mail-SpamAssassin/Makefile
+++ b/mail/p5-Mail-SpamAssassin/Makefile
@@ -7,7 +7,7 @@
PORTNAME= Mail-SpamAssassin
PORTVERSION= 3.1.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail perl5
MASTER_SITES= ${MASTER_SITE_APACHE:S/$/:apache/} ${MASTER_SITE_PERL_CPAN:S/$/:cpan/}
MASTER_SITE_SUBDIR= spamassassin/source/:apache Mail/:cpan
@@ -172,6 +172,9 @@ post-patch:
.if defined(WITH_DOMAINKEYS)
${REINPLACE_CMD} -e '/DomainKeys/s/^#loadplugin/loadplugin/' ${WRKSRC}/rules/v310.pre
.endif
+.if defined(WITH_RELAY_COUNTRY)
+ ${REINPLACE_CMD} -e '/RelayCountry/s/^#loadplugin/loadplugin/' ${WRKSRC}/rules/init.pre
+.endif
post-build:
@${SED} ${SED_SCRIPT} ${FILESDIR}/spamd.sh > ${WRKDIR}/sa-spamd.sh