1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

Add p5-Text-Tmpl 0.23, a perl module implementing a templating system

library.

PR:		23971
Submitted by:	Anton Berezin <tobez@tobez.org>
This commit is contained in:
Will Andrews 2000-12-31 05:45:45 +00:00
parent 7756dfe8f4
commit 3afad9b84d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=36508
6 changed files with 57 additions and 0 deletions

View File

@ -85,6 +85,7 @@
SUBDIR += p5-Text-Graphics
SUBDIR += p5-Text-Query
SUBDIR += p5-Text-Template
SUBDIR += p5-Text-Tmpl
SUBDIR += p5-Text-Wrapper
SUBDIR += p5-XML-DOM
SUBDIR += p5-XML-Parser

View File

@ -0,0 +1,27 @@
# New ports collection makefile for: textproc/p5-Text-Tmpl
# Date created: 31 December 2000
# Whom: Anton Berezin <tobez@tobez.org>
#
# $FreeBSD$
#
PORTNAME= Text-Tmpl
PORTVERSION= 0.23
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Text
PKGNAMEPREFIX= p5-
MAINTAINER= tobez@tobez.org
USE_PERL5= yes
PERL_CONFIGURE= yes
MAN3= template_syntax.3 Text::Tmpl.3 template_extend.3
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
pre-patch:
@${PERL} -pi -e '/OPTIMIZE|libtmpl.pod/ and $$_=""' \
${WRKSRC}/Makefile.PL
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (Text-Tmpl-0.23.tar.gz) = 5314f8074b0c17322f808b8c70684425

View File

@ -0,0 +1 @@
Templating system perl library

View File

@ -0,0 +1,16 @@
Text::Tmpl is a module for very fast templating. There are dozens of
templating modules on CPAN, each only a tiny bit different from the
others. This one is no different - what sets it aside is speed. The
entire module is implemented as a C library, with only a thin XS/Perl
layer to make the calls available from Perl. The same templates, then,
can be used from either Perl or C/C++ programs.
This was originally designed to completely isolate HTML programmers from
module/CGI programmers, or at least completely separate logic from
content in dynamic web applications. It is syntactically based on a
similar system written by a friend of mine, Neil Mix, which was
proprietary and exclusively written in Perl. It shares no code in common
with this system, or any other.
-Anton
<tobez@tobez.org>

View File

@ -0,0 +1,11 @@
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/Tmpl/Tmpl.so
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/Tmpl/Tmpl.bs
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/Tmpl/autosplit.ix
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/Tmpl/.packlist
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Text/template_syntax.pod
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Text/libtmpl.pod
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Text/template_extend.pod
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Text/Tmpl.pm
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/Tmpl
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text 2>/dev/null || true
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Text 2>/dev/null || true