From 8d9d1f0878a1a620596d13737b9fae5d5ac699c3 Mon Sep 17 00:00:00 2001 From: Greg Lewis Date: Fri, 5 Mar 2004 21:55:55 +0000 Subject: [PATCH] . Update to 0.42. . Fix File::Spec dependency . Make PREFIX-clean under perl 5.005_03 PR: 63620 Submitted by: Lars Thegler (maintainer) --- devel/p5-Log-Log4perl/Makefile | 19 ++++++++++++++++--- devel/p5-Log-Log4perl/distinfo | 3 ++- devel/p5-Log-Log4perl/pkg-plist | 1 + 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/devel/p5-Log-Log4perl/Makefile b/devel/p5-Log-Log4perl/Makefile index afba23be1807..6241133be636 100644 --- a/devel/p5-Log-Log4perl/Makefile +++ b/devel/p5-Log-Log4perl/Makefile @@ -6,7 +6,7 @@ # PORTNAME= Log-Log4perl -PORTVERSION= 0.41 +PORTVERSION= 0.42 CATEGORIES= devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Log @@ -53,6 +53,19 @@ MAN3= Log::Log4perl.3 \ Log::Log4perl::Level.3 \ Log::Log4perl::Logger.3 \ Log::Log4perl::MDC.3 \ - Log::Log4perl::NDC.3 + Log::Log4perl::NDC.3 \ + Log::Log4perl::Util.3 -.include +.include + +.if ${PERL_LEVEL} < 500601 +BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec +.endif + +.if ${PERL_LEVEL} <= 500503 +# make PREFIX-clean under perl 5.005_03 +post-configure: + @${PERL} -pi -e 's,/usr/local/,\$${PREFIX}/,g' ${WRKSRC}/Makefile +.endif + +.include diff --git a/devel/p5-Log-Log4perl/distinfo b/devel/p5-Log-Log4perl/distinfo index 2f493eb23230..7e6aec39fda1 100644 --- a/devel/p5-Log-Log4perl/distinfo +++ b/devel/p5-Log-Log4perl/distinfo @@ -1 +1,2 @@ -MD5 (Log-Log4perl-0.41.tar.gz) = 4d553fabdc84ff9da387c2364a2a83e6 +MD5 (Log-Log4perl-0.42.tar.gz) = f6b196fa877aaad8c45c3174fb16382e +SIZE (Log-Log4perl-0.42.tar.gz) = 178943 diff --git a/devel/p5-Log-Log4perl/pkg-plist b/devel/p5-Log-Log4perl/pkg-plist index 3f7b8aa810eb..5d2980ed66f0 100644 --- a/devel/p5-Log-Log4perl/pkg-plist +++ b/devel/p5-Log-Log4perl/pkg-plist @@ -36,6 +36,7 @@ %%SITE_PERL%%/Log/Log4perl/Logger.pm %%SITE_PERL%%/Log/Log4perl/MDC.pm %%SITE_PERL%%/Log/Log4perl/NDC.pm +%%SITE_PERL%%/Log/Log4perl/Util.pm @dirrm %%SITE_PERL%%/Log/Log4perl/Appender @dirrm %%SITE_PERL%%/Log/Log4perl/Config @dirrm %%SITE_PERL%%/Log/Log4perl/Filter