1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Update to 0.2

Remove MANPREFIX, fixup WWW, use %%SITE_PERL%%
maintainer timeout (4 months)

PR:		52288
Submitted by:	myself
This commit is contained in:
Mathieu Arnold 2003-10-02 16:50:02 +00:00
parent 8192ec1a37
commit 241b776f8f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=90044
4 changed files with 15 additions and 12 deletions

View File

@ -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>

View File

@ -1 +1 @@
MD5 (Math-Base85-0.1.tar.gz) = b5354a29f8272b8d57b7e54f0d6204da
MD5 (Math-Base85-0.2.tar.gz) = 3a2914651dc680fd22661f35213211d3

View File

@ -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

View File

@ -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