diff options
author | mat <mat@FreeBSD.org> | 2003-10-03 00:50:02 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2003-10-03 00:50:02 +0800 |
commit | 223df3d9e0c4a3f6829c8ecaa88001a0ae4920ab (patch) | |
tree | e389cdc428089dcb06f233982d18d0fa835207fc /math | |
parent | 93ce416364d49234c00fb016845333986dade32d (diff) | |
download | freebsd-ports-gnome-223df3d9e0c4a3f6829c8ecaa88001a0ae4920ab.tar.gz freebsd-ports-gnome-223df3d9e0c4a3f6829c8ecaa88001a0ae4920ab.tar.zst freebsd-ports-gnome-223df3d9e0c4a3f6829c8ecaa88001a0ae4920ab.zip |
Update to 0.2
Remove MANPREFIX, fixup WWW, use %%SITE_PERL%%
maintainer timeout (4 months)
PR: 52288
Submitted by: myself
Diffstat (limited to 'math')
-rw-r--r-- | math/p5-Math-Base85/Makefile | 13 | ||||
-rw-r--r-- | math/p5-Math-Base85/distinfo | 2 | ||||
-rw-r--r-- | math/p5-Math-Base85/pkg-descr | 2 | ||||
-rw-r--r-- | math/p5-Math-Base85/pkg-plist | 10 |
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 |