1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

Add p5-Text-SimpleTemplate 0.35, yet another Perl module for

template processing.

PR:		25389
Submitted by:	Anton Berezin <tobez@tobez.org>
This commit is contained in:
Will Andrews 2001-03-01 06:46:49 +00:00
parent 68c2f99c63
commit 1b2827bb66
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=38918
6 changed files with 49 additions and 0 deletions

View File

@ -95,6 +95,7 @@
SUBDIR += p5-Text-Format
SUBDIR += p5-Text-Graphics
SUBDIR += p5-Text-Query
SUBDIR += p5-Text-SimpleTemplate
SUBDIR += p5-Text-Template
SUBDIR += p5-Text-Tmpl
SUBDIR += p5-Text-Wrapper

View File

@ -0,0 +1,22 @@
# New ports collection makefile for: Text::SimpleTemplate
# Date created: 26 February 2001
# Whom: Anton Berezin <tobez@tobez.org>
#
# $FreeBSD$
#
PORTNAME= Text-SimpleTemplate
PORTVERSION= 0.35
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Text
PKGNAMEPREFIX= p5-
MAINTAINER= tobez@tobez.org
PERL_CONFIGURE= yes
MAN3= Text::SimpleTemplate.3
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (Text-SimpleTemplate-0.35.tar.gz) = b9ec953e8c87343c2709d0f9a757451c

View File

@ -0,0 +1 @@
Yet another Perl module for template processing

View File

@ -0,0 +1,19 @@
This is yet another library for template-based text generation.
Template-based text generation is a way to separate program code and
data, so non-programmer can control final result (like HTML) as desired
without tweaking the program code itself. By doing so, jobs like website
maintenance is much easier because you can leave program code unchanged
even if page redesign was needed.
The idea is simple. Whenever a block of text surrounded by '<%' and '%>'
(or any pair of delimiters you specify) is found, it will be taken as
Perl expression, and will be replaced by its evaluated result.
Major goal of this library is simplicity and speed. While there're many
modules for template processing, this module has near raw Perl-code
(i.e., "s|xxx|xxx|ge") speed, while providing simple-to-use objective
interface.
- Anton
<tobez@tobez.org>

View File

@ -0,0 +1,5 @@
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/SimpleTemplate/.packlist
lib/perl5/site_perl/%%PERL_VER%%/Text/SimpleTemplate.pm
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/SimpleTemplate
@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%%/Text 2>/dev/null || true