aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2004-05-07 22:06:04 +0800
committermat <mat@FreeBSD.org>2004-05-07 22:06:04 +0800
commitd8f6ad452fc512d402bb4ab284506ff43f3c3127 (patch)
tree0519ad85d3ab857765bfbc9de62bb3428070b72c /www
parentb6ea4ebba6224bbd1a134816bde3ddca666a42b7 (diff)
downloadfreebsd-ports-gnome-d8f6ad452fc512d402bb4ab284506ff43f3c3127.tar.gz
freebsd-ports-gnome-d8f6ad452fc512d402bb4ab284506ff43f3c3127.tar.zst
freebsd-ports-gnome-d8f6ad452fc512d402bb4ab284506ff43f3c3127.zip
Fix a indent issue
Submitted by: alex@kapranoff.ru Forgotten by: me
Diffstat (limited to 'www')
-rw-r--r--www/p5-HTML-Template-JIT/Makefile8
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>