diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2006-04-28 01:30:45 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2006-04-28 01:30:45 +0800 |
commit | 8ed18dca5610180ea70d752f38d419e47c696916 (patch) | |
tree | 2d67ca21e5ddae88f21369759df99a622ef86c5a /mail/mailscanner/Makefile | |
parent | b7b27cae751c86f3f4115307cbb75303c9ee2b2f (diff) | |
download | freebsd-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/Makefile | 11 |
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;' \ |