diff options
author | mat <mat@FreeBSD.org> | 2003-10-02 16:50:02 +0000 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2003-10-02 16:50:02 +0000 |
commit | 223df3d9e0c4a3f6829c8ecaa88001a0ae4920ab (patch) | |
tree | e389cdc428089dcb06f233982d18d0fa835207fc /math/p5-Math-Base85/Makefile | |
parent | 93ce416364d49234c00fb016845333986dade32d (diff) | |
download | FreeBSD-ports-223df3d9e0c4a3f6829c8ecaa88001a0ae4920ab.zip FreeBSD-ports-223df3d9e0c4a3f6829c8ecaa88001a0ae4920ab.tar.gz |
Update to 0.2
Remove MANPREFIX, fixup WWW, use %%SITE_PERL%%
maintainer timeout (4 months)
PR: 52288
Submitted by: myself
Diffstat (limited to 'math/p5-Math-Base85/Makefile')
-rw-r--r-- | math/p5-Math-Base85/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/math/p5-Math-Base85/Makefile b/math/p5-Math-Base85/Makefile index 4544661..2c09881 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> |