diff options
author | Martin Matuska <mm@FreeBSD.org> | 2010-09-21 07:56:43 +0000 |
---|---|---|
committer | Martin Matuska <mm@FreeBSD.org> | 2010-09-21 07:56:43 +0000 |
commit | ddcc0de9218039c78eb34c7bc64fadb4dfe7a707 (patch) | |
tree | bee4ba075b3a0b4d3276fe1e92c704118abdbfe3 /mail/spamstats | |
parent | fc366adb105b7bb2dc40e2a7e3e8c2022e37efe2 (diff) | |
download | ports-ddcc0de9218039c78eb34c7bc64fadb4dfe7a707.tar.gz ports-ddcc0de9218039c78eb34c7bc64fadb4dfe7a707.zip |
Change dependency on old p5-Compress-Zlib, p5-IO-Compress-Base,
p5-IO-Compress-Zlib and p5-IO-Compress-Bzip2 modules to p5-IO-Compress.
Explicitly depend on p5-IO-Compress only if PERL_LEVEL < 500903
Bump PORTREVISION
Notes
Notes:
svn path=/head/; revision=261530
Diffstat (limited to 'mail/spamstats')
-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> |