summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2004-03-05 21:55:55 +0000
committerGreg Lewis <glewis@FreeBSD.org>2004-03-05 21:55:55 +0000
commit8d9d1f0878a1a620596d13737b9fae5d5ac699c3 (patch)
tree9fcb14f8bb30623818c384912dee8515045d690f /devel
parentRespect OSVERSION in the pkg-install script. This allows package building (diff)
. Update to 0.42.
. Fix File::Spec dependency . Make PREFIX-clean under perl 5.005_03 PR: 63620 Submitted by: Lars Thegler <lars@thegler.dk> (maintainer)
Notes
Notes: svn path=/head/; revision=103052
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-Log-Log4perl/Makefile19
-rw-r--r--devel/p5-Log-Log4perl/distinfo3
-rw-r--r--devel/p5-Log-Log4perl/pkg-plist1
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 <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.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 <bsd.port.post.mk>
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