From owner-freebsd-ports Mon Feb 26 11:50: 9 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6983D37B4EC for ; Mon, 26 Feb 2001 11:50:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f1QJo1n08805; Mon, 26 Feb 2001 11:50:01 -0800 (PST) (envelope-from gnats) Received: from heechee.tobez.org (254.adsl0.ryv.worldonline.dk [213.237.10.254]) by hub.freebsd.org (Postfix) with ESMTP id 4FCD737B401 for ; Mon, 26 Feb 2001 11:44:40 -0800 (PST) (envelope-from tobez@tobez.org) Received: by heechee.tobez.org (Postfix, from userid 1001) id 5B2A754F3; Mon, 26 Feb 2001 20:44:38 +0100 (CET) Message-Id: <20010226194438.5B2A754F3@heechee.tobez.org> Date: Mon, 26 Feb 2001 20:44:38 +0100 (CET) From: tobez@tobez.org Reply-To: tobez@tobez.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/25389: New port: textproc/p5-Text-SimpleTemplate (Text::SimpleTemplate - Yet another module for template processing) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 25389 >Category: ports >Synopsis: New port: textproc/p5-Text-SimpleTemplate (Text::SimpleTemplate - Yet another module for template processing) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Feb 26 11:50:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Anton Berezin >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: >Description: 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. >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-Text-SimpleTemplate # p5-Text-SimpleTemplate/pkg-plist # p5-Text-SimpleTemplate/pkg-descr # p5-Text-SimpleTemplate/pkg-comment # p5-Text-SimpleTemplate/distinfo # p5-Text-SimpleTemplate/Makefile # echo c - p5-Text-SimpleTemplate mkdir -p p5-Text-SimpleTemplate > /dev/null 2>&1 echo x - p5-Text-SimpleTemplate/pkg-plist sed 's/^X//' >p5-Text-SimpleTemplate/pkg-plist << 'END-of-p5-Text-SimpleTemplate/pkg-plist' Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/SimpleTemplate/.packlist Xlib/perl5/site_perl/%%PERL_VER%%/Text/SimpleTemplate.pm X@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/SimpleTemplate X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text 2>/dev/null || true X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Text 2>/dev/null || true END-of-p5-Text-SimpleTemplate/pkg-plist echo x - p5-Text-SimpleTemplate/pkg-descr sed 's/^X//' >p5-Text-SimpleTemplate/pkg-descr << 'END-of-p5-Text-SimpleTemplate/pkg-descr' XThis is yet another library for template-based text generation. X XTemplate-based text generation is a way to separate program code and Xdata, so non-programmer can control final result (like HTML) as desired Xwithout tweaking the program code itself. By doing so, jobs like website Xmaintenance is much easier because you can leave program code unchanged Xeven if page redesign was needed. X XThe idea is simple. Whenever a block of text surrounded by '<%' and '%>' X(or any pair of delimiters you specify) is found, it will be taken as XPerl expression, and will be replaced by its evaluated result. X XMajor goal of this library is simplicity and speed. While there're many Xmodules for template processing, this module has near raw Perl-code X(i.e., "s|xxx|xxx|ge") speed, while providing simple-to-use objective Xinterface. X X- Anton X END-of-p5-Text-SimpleTemplate/pkg-descr echo x - p5-Text-SimpleTemplate/pkg-comment sed 's/^X//' >p5-Text-SimpleTemplate/pkg-comment << 'END-of-p5-Text-SimpleTemplate/pkg-comment' XText::SimpleTemplate - Yet another module for template processing END-of-p5-Text-SimpleTemplate/pkg-comment echo x - p5-Text-SimpleTemplate/distinfo sed 's/^X//' >p5-Text-SimpleTemplate/distinfo << 'END-of-p5-Text-SimpleTemplate/distinfo' XMD5 (Text-SimpleTemplate-0.35.tar.gz) = b9ec953e8c87343c2709d0f9a757451c END-of-p5-Text-SimpleTemplate/distinfo echo x - p5-Text-SimpleTemplate/Makefile sed 's/^X//' >p5-Text-SimpleTemplate/Makefile << 'END-of-p5-Text-SimpleTemplate/Makefile' X# New ports collection makefile for: Text::SimpleTemplate X# Date created: 26 February 2001 X# Whom: Anton Berezin X# X# $FreeBSD$ X# X XPORTNAME= Text-SimpleTemplate XPORTVERSION= 0.35 XCATEGORIES= textproc perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= Text XPKGNAMEPREFIX= p5- X XMAINTAINER= tobez@tobez.org X XPERL_CONFIGURE= yes X XMAN3= Text::SimpleTemplate.3 XMANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} X X.include END-of-p5-Text-SimpleTemplate/Makefile exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message