diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2006-04-27 14:17:32 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2006-04-27 14:17:32 +0000 |
commit | 8b841983d7bfce557c4fdc696d6d0f57f85bcb17 (patch) | |
tree | e3af4e7d71960232e5b88786cc15477926b8bfb2 /textproc/p5-Number-Format/Makefile | |
parent | 35ebbadc953d9efbdbc698cb0b4fd0d0af996ff4 (diff) |
Notes
Diffstat (limited to 'textproc/p5-Number-Format/Makefile')
-rw-r--r-- | textproc/p5-Number-Format/Makefile | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/textproc/p5-Number-Format/Makefile b/textproc/p5-Number-Format/Makefile index fe4610a741f1..7099e00fbfe4 100644 --- a/textproc/p5-Number-Format/Makefile +++ b/textproc/p5-Number-Format/Makefile @@ -6,17 +6,27 @@ # PORTNAME= Number-Format -PORTVERSION= 1.45 +PORTVERSION= 1.51 CATEGORIES= textproc perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Number PKGNAMEPREFIX= p5- -MAINTAINER= ports@FreeBSD.org +MAINTAINER= perl@FreeBSD.org COMMENT= Perl extension for formatting numbers PERL_CONFIGURE= yes MAN3= Number::Format.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +post-patch: +.if ${PERL_LEVEL} < 500800 + ${PERL} -pi -e '$$_="" if m{5.008}' ${WRKSRC}/Format.pm +.endif +.if ${PERL_LEVEL} < 500600 + ${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1);$$1/;' ${WRKSRC}/Format.pm +.endif + +.include <bsd.port.post.mk> |