From 241b776f8f84c12d2a7e573001ce9732a21e1037 Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Thu, 2 Oct 2003 16:50:02 +0000 Subject: Update to 0.2 Remove MANPREFIX, fixup WWW, use %%SITE_PERL%% maintainer timeout (4 months) PR: 52288 Submitted by: myself --- math/p5-Math-Base85/Makefile | 13 ++++++++----- math/p5-Math-Base85/distinfo | 2 +- math/p5-Math-Base85/pkg-descr | 2 +- math/p5-Math-Base85/pkg-plist | 10 +++++----- 4 files changed, 15 insertions(+), 12 deletions(-) (limited to 'math') diff --git a/math/p5-Math-Base85/Makefile b/math/p5-Math-Base85/Makefile index 454466154cbd..2c098814f8db 100644 --- a/math/p5-Math-Base85/Makefile +++ b/math/p5-Math-Base85/Makefile @@ -6,7 +6,7 @@ # PORTNAME= Math-Base85 -PORTVERSION= 0.1 +PORTVERSION= 0.2 CATEGORIES= math perl5 converters net MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Math @@ -18,10 +18,13 @@ COMMENT= Perl extension for base 85 numbers, as referenced by RFC 1924 PERL_CONFIGURE= yes MAN3= Math::Base85.3 -MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} -# workaround the bug in 5.005_03 and 5.6.0 :-( +.include + +.if ${PERL_LEVEL} < 500601 post-patch: - ${PERL} -pi -e 's|^use constant\s*(.*?)\s*=>.s*(.*)$$|sub $$1 { $$2 }|' ${WRKSRC}/Base85.pm + @${PERL} -pi -e 's/use Math::Big/#$$&/;' \ + -e 's|^use constant\s*(.*?)\s*=>.s*(.*)$$|sub $$1 { $$2 }|' ${WRKSRC}/Base85.pm +.endif -.include +.include diff --git a/math/p5-Math-Base85/distinfo b/math/p5-Math-Base85/distinfo index db55fd17c58f..d3d935591d5c 100644 --- a/math/p5-Math-Base85/distinfo +++ b/math/p5-Math-Base85/distinfo @@ -1 +1 @@ -MD5 (Math-Base85-0.1.tar.gz) = b5354a29f8272b8d57b7e54f0d6204da +MD5 (Math-Base85-0.2.tar.gz) = 3a2914651dc680fd22661f35213211d3 diff --git a/math/p5-Math-Base85/pkg-descr b/math/p5-Math-Base85/pkg-descr index bab64ed1e24b..ef4ecda53677 100644 --- a/math/p5-Math-Base85/pkg-descr +++ b/math/p5-Math-Base85/pkg-descr @@ -9,6 +9,6 @@ The base 85 numbers (from 0 to 84) are as follows: At the moment, there's not much in this module. But it should be sufficient for the purposes of RFC 1924. -WWW: http://search.cpan.org/search?dist=Math::Base85 +WWW: http://search.cpan.org/dist/Math-Base85/ -Anton diff --git a/math/p5-Math-Base85/pkg-plist b/math/p5-Math-Base85/pkg-plist index 18a8d827d407..613bf3f6048f 100644 --- a/math/p5-Math-Base85/pkg-plist +++ b/math/p5-Math-Base85/pkg-plist @@ -1,5 +1,5 @@ -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/Base85/.packlist -lib/perl5/site_perl/%%PERL_VER%%/Math/Base85.pm -@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/Base85 -@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math 2>/dev/null || true -@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Math 2>/dev/null || true +%%SITE_PERL%%/Math/Base85.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Base85/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Base85 +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math +@dirrm %%SITE_PERL%%/Math -- cgit v1.2.3