summaryrefslogtreecommitdiffstats
path: root/www/p5-HTML-Template-JIT/Makefile
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2004-08-19 16:20:11 +0000
committermat <mat@FreeBSD.org>2004-08-19 16:20:11 +0000
commit621881a1fe2b4e68160300af38f5bdc8396d2d40 (patch)
tree64d1fb4e58485567d5eefab8904a068c4490d30b /www/p5-HTML-Template-JIT/Makefile
parent6205c6b433bccb5cbb99c4024f57a289fd195b73 (diff)
downloadFreeBSD-ports-621881a1fe2b4e68160300af38f5bdc8396d2d40.zip
FreeBSD-ports-621881a1fe2b4e68160300af38f5bdc8396d2d40.tar.gz
Add some patches :
+ Fix 8bit symbols escaping. + Allow blessed hashrefs in loops. + Fix a portlint warning and make it not clutter perllocal.pod PR: 70656 Submitted by: Alex Kapranoff <kappa@rambler-co.ru>
Diffstat (limited to 'www/p5-HTML-Template-JIT/Makefile')
-rw-r--r--www/p5-HTML-Template-JIT/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/www/p5-HTML-Template-JIT/Makefile b/www/p5-HTML-Template-JIT/Makefile
index 712f249..85a8aac 100644
--- a/www/p5-HTML-Template-JIT/Makefile
+++ b/www/p5-HTML-Template-JIT/Makefile
@@ -7,7 +7,7 @@
PORTNAME= HTML-Template-JIT
PORTVERSION= 0.04
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= HTML
@@ -22,12 +22,17 @@ BUILD_DEPENDS= ${SITE_PERL}/HTML/Template.pm:${PORTSDIR}/www/p5-HTML-Template \
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
+INSTALL_TARGET= pure_install
MAN3= HTML::Template::JIT.3 HTML::Template::JIT::Compiler.3 \
HTML::Template::JIT::Base.3
.include <bsd.port.pre.mk>
+.if ${PERL_LEVEL} < 500600
+EXTRA_PATCHES= ${PATCHDIR}/5.005-JIT-Compiler.pm
+.endif
+
post-patch:
@${PERL} -i -pe 's/indent -kr/indent/' \
${WRKSRC}/JIT/Compiler.pm
@@ -36,8 +41,7 @@ post-patch:
-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
+ @${FIND} ${WRKSRC} -name '*.orig' -delete
.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud