aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2001-03-01 14:46:49 +0800
committerwill <will@FreeBSD.org>2001-03-01 14:46:49 +0800
commit57182446ef5f08b81c04ab851c6cde9cf2536b9c (patch)
tree142e05dd75b177b122419588e0fe8e31b0a656c8 /textproc
parent3e839fced03911e060519db070ef0b74a8f453d5 (diff)
downloadfreebsd-ports-gnome-57182446ef5f08b81c04ab851c6cde9cf2536b9c.tar.gz
freebsd-ports-gnome-57182446ef5f08b81c04ab851c6cde9cf2536b9c.tar.zst
freebsd-ports-gnome-57182446ef5f08b81c04ab851c6cde9cf2536b9c.zip
Add p5-Text-SimpleTemplate 0.35, yet another Perl module for
template processing. PR: 25389 Submitted by: Anton Berezin <tobez@tobez.org>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-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
6 files changed, 49 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 2a5710136c46..ddb6f1904d57 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -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
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