aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mailscanner/Makefile
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2006-04-28 01:30:45 +0800
committerehaupt <ehaupt@FreeBSD.org>2006-04-28 01:30:45 +0800
commit8ed18dca5610180ea70d752f38d419e47c696916 (patch)
tree2d67ca21e5ddae88f21369759df99a622ef86c5a /mail/mailscanner/Makefile
parentb7b27cae751c86f3f4115307cbb75303c9ee2b2f (diff)
downloadfreebsd-ports-gnome-8ed18dca5610180ea70d752f38d419e47c696916.tar.gz
freebsd-ports-gnome-8ed18dca5610180ea70d752f38d419e47c696916.tar.zst
freebsd-ports-gnome-8ed18dca5610180ea70d752f38d419e47c696916.zip
- Fix bug in mta.sh
- Fix rc.subr reference in update_phishing_sites.cron and update_virus_scanners.cron - Patch for changed queue file format of Exim 4.61 - Mark IGNORE for PERL_LEVEL < 500600 which is required by databases/p5-DBI (dependency) PR: 96351 Submitted by: Jan-Peter Koopmann <j.koopmann@seceidos.de> (maintainer)
Diffstat (limited to 'mail/mailscanner/Makefile')
-rw-r--r--mail/mailscanner/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/mail/mailscanner/Makefile b/mail/mailscanner/Makefile
index ad83732903f5..f10307709c82 100644
--- a/mail/mailscanner/Makefile
+++ b/mail/mailscanner/Makefile
@@ -7,6 +7,7 @@
PORTNAME= MailScanner
PORTVERSION= 4.52.2
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.sng.ecs.soton.ac.uk/mailscanner/files/4/tar/
DISTNAME= ${PORTNAME}-install-${PORTVERSION}-${PATCHLEVEL}
@@ -63,6 +64,10 @@ MLINKS= MailScanner.8 mailscanner.8 \
.include <bsd.port.pre.mk>
+.if ${PERL_LEVEL} < 500600
+IGNORE= dependency requires newer Perl
+.endif
+
.if defined(WITH_SPAMASSASSIN)
RUN_DEPENDS+= spamassassin:${PORTSDIR}/mail/p5-Mail-SpamAssassin
PLIST_SUB+= SPAMASSASSIN=""
@@ -146,7 +151,8 @@ do-build:
${WRKSRC}/bin/update_virus_scanners
${PERL} -pi -e \
's,/bin/bash,${LOCALBASE}/bin/bash,g; \
- s,/opt/MailScanner/bin,${PREFIX}/libexec/MailScanner,g;' \
+ s,/opt/MailScanner/bin,${PREFIX}/libexec/MailScanner,g; \
+ s,%%RC_SUBR%%,${RC_SUBR},g;' \
${WRKSRC}/bin/cron/update_virus_scanners.cron
${PERL} -pi -e \
's,/bin/bash,${LOCALBASE}/bin/bash,g; \
@@ -154,7 +160,8 @@ do-build:
${WRKSRC}/bin/update_phishing_sites
${PERL} -pi -e \
's,/bin/bash,${LOCALBASE}/bin/bash,g; \
- s,/opt/MailScanner/bin,${PREFIX}/libexec/MailScanner,g;' \
+ s,/opt/MailScanner/bin,${PREFIX}/libexec/MailScanner,g; \
+ s,%%RC_SUBR%%,${RC_SUBR},g;' \
${WRKSRC}/bin/cron/update_phishing_sites.cron
${PERL} -pi -e \
's,/etc/MailScanner/MailScanner.conf,${PREFIX}/etc/MailScanner/MailScanner.conf,g;' \