diff options
Diffstat (limited to 'mail/spamstats/Makefile')
-rw-r--r-- | mail/spamstats/Makefile | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/mail/spamstats/Makefile b/mail/spamstats/Makefile index 2649d8076ff1..e78c56b2b01d 100644 --- a/mail/spamstats/Makefile +++ b/mail/spamstats/Makefile @@ -7,15 +7,14 @@ PORTNAME= spamstats PORTVERSION= 0.6c +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= http://www.inl.fr/download/ MAINTAINER= leeym@FreeBSD.org COMMENT= A tool to generate statistics for spamd of Mail::SpamAssassin -RUN_DEPENDS= ${SITE_PERL}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \ - ${SITE_PERL}/${PERL_ARCH}/Compress/Bzip2.pm:${PORTSDIR}/archivers/p5-Compress-Bzip2 \ - ${SITE_PERL}/Date/Manip.pm:${PORTSDIR}/devel/p5-Date-Manip +RUN_DEPENDS= ${SITE_PERL}/Date/Manip.pm:${PORTSDIR}/devel/p5-Date-Manip USE_PERL5= yes NO_BUILD= yes @@ -34,4 +33,10 @@ do-install: .endfor .endif -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500903 +RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress +.endif + +.include <bsd.port.post.mk> |