diff options
author | mm <mm@FreeBSD.org> | 2010-09-21 15:56:43 +0800 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2010-09-21 15:56:43 +0800 |
commit | a447d3207d987ddc5b4cb16345ffd07b474aea9c (patch) | |
tree | 740d2c4dbf9c6b5d7e0a621cb113b01436081f94 /sysutils/p5-arclog | |
parent | 755a0561c300f159d88d880440dc70a9ae0425e2 (diff) | |
download | freebsd-ports-graphics-a447d3207d987ddc5b4cb16345ffd07b474aea9c.tar.gz freebsd-ports-graphics-a447d3207d987ddc5b4cb16345ffd07b474aea9c.tar.zst freebsd-ports-graphics-a447d3207d987ddc5b4cb16345ffd07b474aea9c.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
Diffstat (limited to 'sysutils/p5-arclog')
-rw-r--r-- | sysutils/p5-arclog/Makefile | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/sysutils/p5-arclog/Makefile b/sysutils/p5-arclog/Makefile index cce3d2f47a9..324ec87f1f1 100644 --- a/sysutils/p5-arclog/Makefile +++ b/sysutils/p5-arclog/Makefile @@ -7,7 +7,7 @@ PORTNAME= arclog PORTVERSION= 3.04 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= Locale/IMACAT @@ -16,12 +16,11 @@ PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Archive the log files monthly -BUILD_DEPENDS= p5-TimeDate>=0:${PORTSDIR}/devel/p5-TimeDate \ +RUN_DEPENDS= p5-TimeDate>=0:${PORTSDIR}/devel/p5-TimeDate \ p5-Compress-Bzip2>=0:${PORTSDIR}/archivers/p5-Compress-Bzip2 \ - p5-Compress-Zlib>=0:${PORTSDIR}/archivers/p5-Compress-Zlib \ p5-File-MMagic>=0:${PORTSDIR}/devel/p5-File-MMagic \ p5-Term-ReadKey>=0:${PORTSDIR}/devel/p5-Term-ReadKey -RUN_DEPENDS= ${BUILD_DEPENDS} +BUILD_DEPENDS= ${RUN_DEPENDS} PERL_CONFIGURE= yes MAN1= arclog.1 @@ -30,4 +29,10 @@ PLIST_FILES= bin/arclog \ %%SITE_PERL%%/%%PERL_ARCH%%/auto/arclog/.packlist PLIST_DIRS= %%SITE_PERL%%/%%PERL_ARCH%%/auto/arclog -.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> |