ports/66351: New port www/p5-HTML-Template-JIT
Alex Kapranoff
alex at kapranoff.ru
Fri May 7 09:00:44 UTC 2004
>Number: 66351
>Category: ports
>Synopsis: New port www/p5-HTML-Template-JIT
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri May 07 02:00:41 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator: Alex Kapranoff
>Release: FreeBSD 4.8-RELEASE-p13 i386
>Organization:
Inner Mongolia
>Environment:
System: FreeBSD vvs01.agava.net 4.8-RELEASE-p13 FreeBSD 4.8-RELEASE-p13 #0: Wed Mar 10 11:50:47 MSK 2004 ivan at savior.agava.net:/opt2/usr/obj/opt2/usr/src/sys/SAVIOR i386
>Description:
>How-To-Repeat:
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# p5-HTML-Template-JIT/
# p5-HTML-Template-JIT/Makefile
# p5-HTML-Template-JIT/distinfo
# p5-HTML-Template-JIT/pkg-descr
# p5-HTML-Template-JIT/pkg-plist
#
echo c - p5-HTML-Template-JIT/
mkdir -p p5-HTML-Template-JIT/ > /dev/null 2>&1
echo x - p5-HTML-Template-JIT/Makefile
sed 's/^X//' >p5-HTML-Template-JIT/Makefile << 'END-of-p5-HTML-Template-JIT/Makefile'
X# New ports collection makefile for: p5-HTML-Template-JIT
X# Date Created: 2004/04/30
X# Whom: alex at kapranoff.ru
X#
X# $FreeBSD$
X#
X
XPORTNAME= HTML-Template-JIT
XPORTVERSION= 0.04
XCATEGORIES= www perl5
XMASTER_SITES= ${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR= HTML
XPKGNAMEPREFIX= p5-
X
XMAINTAINER= ports at FreeBSD.org
XCOMMENT= Perl module to compile HTML Templates with Inline::C
X
XBUILD_DEPENDS= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \
X ${SITE_PERL}/HTML/Template.pm:${PORTSDIR}/www/p5-HTML-Template \
X ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
X ${SITE_PERL}/Inline/C.pm:${PORTSDIR}/devel/p5-Inline
XRUN_DEPENDS= ${BUILD_DEPENDS}
X
XPERL_CONFIGURE= yes
X
XINSTALL_TARGET= pure_install
X
XMAN3= HTML::Template::JIT.3 HTML::Template::JIT::Compiler.3 \
X HTML::Template::JIT::Base.3
X
XMAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
X
X.include <bsd.port.pre.mk>
X
X.if ${PERL_LEVEL} < 500600
XIGNORE= requires perl >= 5.6.0
X.endif
X
X.include <bsd.port.post.mk>
END-of-p5-HTML-Template-JIT/Makefile
echo x - p5-HTML-Template-JIT/distinfo
sed 's/^X//' >p5-HTML-Template-JIT/distinfo << 'END-of-p5-HTML-Template-JIT/distinfo'
XMD5 (HTML-Template-JIT-0.04.tar.gz) = 5814cd407e3dcca9704188d7b1332b48
XSIZE (HTML-Template-JIT-0.04.tar.gz) = 28874
END-of-p5-HTML-Template-JIT/distinfo
echo x - p5-HTML-Template-JIT/pkg-descr
sed 's/^X//' >p5-HTML-Template-JIT/pkg-descr << 'END-of-p5-HTML-Template-JIT/pkg-descr'
XThis module provides a just-in-time compiler for HTML::Template.
X
XIf your template needs to be compiled - either because it has changed
Xor because it has never been compiled - then HTML::Template::JIT uses
XHTML::Template and Inline::C to compile your template to native
Xmachine instructions.
X
XThe resulting compiled template is much faster than a normal cached
Xtemplate. Benchmarks show HTML::Template::JIT, with a precompiled
Xtemplate, performing 4 to 8 times faster than HTML::Template in cache
Xmode.
X
XWWW: http://html-template.sourceforge.net/html_template_jit.html
END-of-p5-HTML-Template-JIT/pkg-descr
echo x - p5-HTML-Template-JIT/pkg-plist
sed 's/^X//' >p5-HTML-Template-JIT/pkg-plist << 'END-of-p5-HTML-Template-JIT/pkg-plist'
X%%SITE_PERL%%/HTML/Template/JIT.pm
X%%SITE_PERL%%/HTML/Template/JIT/Base.pm
X%%SITE_PERL%%/HTML/Template/JIT/Compiler.pm
X at dirrm %%SITE_PERL%%/HTML/Template/JIT
X at unexec rmdir %D/%%SITE_PERL%%/HTML 2>/dev/null || true
X at unexec rmdir %D/%%SITE_PERL%%/HTML/Template 2>/dev/null || true
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML/Template/JIT/.packlist
X at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML/Template/JIT
X at unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML 2>/dev/null || true
X at unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML/Template 2>/dev/null || true
END-of-p5-HTML-Template-JIT/pkg-plist
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list