summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2003-10-02 16:50:02 +0000
committerMathieu Arnold <mat@FreeBSD.org>2003-10-02 16:50:02 +0000
commit241b776f8f84c12d2a7e573001ce9732a21e1037 (patch)
tree6bffa54eb7ac78e556950e57f4174563e41ee47f /math
parentBack the space-saving out again, the tag has been slipped. (diff)
Update to 0.2
Remove MANPREFIX, fixup WWW, use %%SITE_PERL%% maintainer timeout (4 months) PR: 52288 Submitted by: myself
Notes
Notes: svn path=/head/; revision=90044
Diffstat (limited to 'math')
-rw-r--r--math/p5-Math-Base85/Makefile13
-rw-r--r--math/p5-Math-Base85/distinfo2
-rw-r--r--math/p5-Math-Base85/pkg-descr2
-rw-r--r--math/p5-Math-Base85/pkg-plist10
4 files changed, 15 insertions, 12 deletions
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 <bsd.port.pre.mk>
+
+.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 <bsd.port.mk>
+.include <bsd.port.post.mk>
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