summaryrefslogtreecommitdiff
path: root/textproc/p5-Text-SimpleTemplate
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2001-03-01 06:46:49 +0000
committerWill Andrews <will@FreeBSD.org>2001-03-01 06:46:49 +0000
commit1b2827bb66a9e2adfb28dcff9a15e6ae36848724 (patch)
treef419084b572d22bb05c080c7b9e9f9fb2edc10c5 /textproc/p5-Text-SimpleTemplate
parentRemove do-configure section, use PERL_CONFIGURE now. (diff)
Add p5-Text-SimpleTemplate 0.35, yet another Perl module for
template processing. PR: 25389 Submitted by: Anton Berezin <tobez@tobez.org>
Notes
Notes: svn path=/head/; revision=38918
Diffstat (limited to 'textproc/p5-Text-SimpleTemplate')
-rw-r--r--textproc/p5-Text-SimpleTemplate/Makefile22
-rw-r--r--textproc/p5-Text-SimpleTemplate/distinfo1
-rw-r--r--textproc/p5-Text-SimpleTemplate/pkg-comment1
-rw-r--r--textproc/p5-Text-SimpleTemplate/pkg-descr19
-rw-r--r--textproc/p5-Text-SimpleTemplate/pkg-plist5
5 files changed, 48 insertions, 0 deletions
diff --git a/textproc/p5-Text-SimpleTemplate/Makefile b/textproc/p5-Text-SimpleTemplate/Makefile
new file mode 100644
index 000000000000..541fa7902a59
--- /dev/null
+++ b/textproc/p5-Text-SimpleTemplate/Makefile
@@ -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>
diff --git a/textproc/p5-Text-SimpleTemplate/distinfo b/textproc/p5-Text-SimpleTemplate/distinfo
new file mode 100644
index 000000000000..3598764ad00d
--- /dev/null
+++ b/textproc/p5-Text-SimpleTemplate/distinfo
@@ -0,0 +1 @@
+MD5 (Text-SimpleTemplate-0.35.tar.gz) = b9ec953e8c87343c2709d0f9a757451c
diff --git a/textproc/p5-Text-SimpleTemplate/pkg-comment b/textproc/p5-Text-SimpleTemplate/pkg-comment
new file mode 100644
index 000000000000..3a73298a1f1b
--- /dev/null
+++ b/textproc/p5-Text-SimpleTemplate/pkg-comment
@@ -0,0 +1 @@
+Yet another Perl module for template processing
diff --git a/textproc/p5-Text-SimpleTemplate/pkg-descr b/textproc/p5-Text-SimpleTemplate/pkg-descr
new file mode 100644
index 000000000000..d0bd12034df3
--- /dev/null
+++ b/textproc/p5-Text-SimpleTemplate/pkg-descr
@@ -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>
diff --git a/textproc/p5-Text-SimpleTemplate/pkg-plist b/textproc/p5-Text-SimpleTemplate/pkg-plist
new file mode 100644
index 000000000000..1f3d3fa5efde
--- /dev/null
+++ b/textproc/p5-Text-SimpleTemplate/pkg-plist
@@ -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