Template::Tiny is a reimplementation of a partial subset of the Template

Toolkit in as few lines of code as possible.

It is intended for use in light-usage, low-memory, or low-cpu templating
situations, where you may need to upgrade to the full feature set in the
future, or if you want the familiarity of TT-style templates.

It is intended to have fully-compatible template and stash usage, with a
limited by similar Perl API.

Unlike Template Toolkit, Template::Tiny will process templates without a
compile phase (but despite this is still quicker, owing to heavy use of
the Perl regular expression engine.

WWW:	http://search.cpan.org/dist/Template-Tiny/

PR:		ports/144823
Submitted by:	ports at c0decafe.net
This commit is contained in:
Martin Wilke 2010-03-20 18:52:44 +00:00
parent f2b591d731
commit 00c8384ee2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=251295
5 changed files with 49 additions and 0 deletions

View file

@ -627,6 +627,7 @@
SUBDIR += p5-Template-Plugin-HTML-SuperForm SUBDIR += p5-Template-Plugin-HTML-SuperForm
SUBDIR += p5-Template-Plugin-Lingua-EN-Inflect SUBDIR += p5-Template-Plugin-Lingua-EN-Inflect
SUBDIR += p5-Template-Plugin-XML-Escape SUBDIR += p5-Template-Plugin-XML-Escape
SUBDIR += p5-Template-Tiny
SUBDIR += p5-Test-Perl-Critic SUBDIR += p5-Test-Perl-Critic
SUBDIR += p5-Text-ASCIIMathML SUBDIR += p5-Text-ASCIIMathML
SUBDIR += p5-Text-ASCIITable SUBDIR += p5-Text-ASCIITable

View file

@ -0,0 +1,25 @@
# New ports collection makefile for: p5-Template-Tiny
# Date created: 2010-03-17
# Whom: ports@c0decafe.net
#
# $FreeBSD$
#
PORTNAME= Template-Tiny
PORTVERSION= 0.11
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= ports@c0decafe.net
COMMENT= Template Toolkit reimplemented in as little code as possible
BUILD_DEPENDS= p5-Capture-Tiny>=0.07:${PORTSDIR}/devel/p5-Capture-Tiny
RUN_DEPENDS= ${BUILD_DEPENDS}
USE_PERL5= yes
PERL_CONFIGURE= yes
MAN3= Template::Tiny.3
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
MD5 (Template-Tiny-0.11.tar.gz) = 5bb697dff7ff41f6894906233b205560
SHA256 (Template-Tiny-0.11.tar.gz) = 7d2583bb186f8acbba05fcdbf51d52aaa3ef37fa8e0eb5d9dce99d3bed2f62c4
SIZE (Template-Tiny-0.11.tar.gz) = 16129

View file

@ -0,0 +1,15 @@
Template::Tiny is a reimplementation of a partial subset of the Template
Toolkit in as few lines of code as possible.
It is intended for use in light-usage, low-memory, or low-cpu templating
situations, where you may need to upgrade to the full feature set in the
future, or if you want the familiarity of TT-style templates.
It is intended to have fully-compatible template and stash usage, with a
limited by similar Perl API.
Unlike Template Toolkit, Template::Tiny will process templates without a
compile phase (but despite this is still quicker, owing to heavy use of
the Perl regular expression engine.
WWW: http://search.cpan.org/dist/Template-Tiny/

View file

@ -0,0 +1,5 @@
%%SITE_PERL%%/Template/Tiny.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Template/Tiny/.packlist
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Template/Tiny
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Template
@dirrmtry %%SITE_PERL%%/Template