From a447d3207d987ddc5b4cb16345ffd07b474aea9c Mon Sep 17 00:00:00 2001 From: mm Date: Tue, 21 Sep 2010 07:56:43 +0000 Subject: 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 --- sysutils/p5-arclog/Makefile | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'sysutils/p5-arclog') 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 +.include + +.if ${PERL_LEVEL} < 500903 +RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress +.endif + +.include -- cgit