diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2004-05-07 14:06:04 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2004-05-07 14:06:04 +0000 |
commit | 7c844f2feafb5bfc8be2d7e32d7261ea1be3173a (patch) | |
tree | 8acbd2132b5b50243e66f4ffacde248e3660fe40 /www/p5-HTML-Template-JIT | |
parent | 62359007359736256af6b25c072a79e3bd154df7 (diff) |
Notes
Diffstat (limited to 'www/p5-HTML-Template-JIT')
-rw-r--r-- | www/p5-HTML-Template-JIT/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/www/p5-HTML-Template-JIT/Makefile b/www/p5-HTML-Template-JIT/Makefile index 899ab99f6376..712f2499eec5 100644 --- a/www/p5-HTML-Template-JIT/Makefile +++ b/www/p5-HTML-Template-JIT/Makefile @@ -7,6 +7,7 @@ PORTNAME= HTML-Template-JIT PORTVERSION= 0.04 +PORTREVISION= 1 CATEGORIES= www perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= HTML @@ -27,13 +28,16 @@ MAN3= HTML::Template::JIT.3 HTML::Template::JIT::Compiler.3 \ .include <bsd.port.pre.mk> -.if ${PERL_LEVEL} < 500600 -EXTRA_PATCHES= ${PATCHDIR}/5.005-JIT-Compiler.pm post-patch: + @${PERL} -i -pe 's/indent -kr/indent/' \ + ${WRKSRC}/JIT/Compiler.pm +.if ${PERL_LEVEL} < 500600 @${PERL} -i -pe '$$_ = "" if /warnings|5\.006/g;' \ -e 's/\bour ([^ ;]+)/use vars qw{$$1};$$1/g;' \ ${WRKSRC}/Makefile.PL ${WRKSRC}/JIT.pm \ ${WRKSRC}/JIT/Base.pm ${WRKSRC}/JIT/Compiler.pm + +EXTRA_PATCHES= ${PATCHDIR}/5.005-JIT-Compiler.pm .endif .include <bsd.port.post.mk> |