summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/p5-Text-Template/Makefile19
-rw-r--r--textproc/p5-Text-Template/files/md53
-rw-r--r--textproc/p5-Text-Template/pkg/COMMENT1
-rw-r--r--textproc/p5-Text-Template/pkg/DESCR23
-rw-r--r--textproc/p5-Text-Template/pkg/PLIST1
5 files changed, 47 insertions, 0 deletions
diff --git a/textproc/p5-Text-Template/Makefile b/textproc/p5-Text-Template/Makefile
new file mode 100644
index 00000000000..bfbc61556df
--- /dev/null
+++ b/textproc/p5-Text-Template/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/10/16 09:57:50 rh Exp $
+#
+
+DISTNAME= Text-Template-1.23
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Text/}
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.plover.com/~mjd/perl/Template/
+
+USE_PERL5= YES
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/IMAP/Admin/.packlist
+
+do-configure:
+ @cd ${WRKSRC} && ${ECHO} >.test && \
+ ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/p5-Text-Template/files/md5 b/textproc/p5-Text-Template/files/md5
new file mode 100644
index 00000000000..03a6148cf38
--- /dev/null
+++ b/textproc/p5-Text-Template/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/10/16 09:57:50 rh Exp $
+
+MD5 (Text-Template-1.23.tar.gz) = c9ffdda98f9abfdbc350caea3d90f9b4
diff --git a/textproc/p5-Text-Template/pkg/COMMENT b/textproc/p5-Text-Template/pkg/COMMENT
new file mode 100644
index 00000000000..035c3e3e893
--- /dev/null
+++ b/textproc/p5-Text-Template/pkg/COMMENT
@@ -0,0 +1 @@
+perl5 library for generating form letters
diff --git a/textproc/p5-Text-Template/pkg/DESCR b/textproc/p5-Text-Template/pkg/DESCR
new file mode 100644
index 00000000000..87fb3eb56ec
--- /dev/null
+++ b/textproc/p5-Text-Template/pkg/DESCR
@@ -0,0 +1,23 @@
+ This is a library for generating form letters, building HTML pages,
+or filling in templates generally. A `template' is a piece of text
+that has little Perl programs embedded in it here and there. When
+you `fill in' a template, you evaluate the little programs and
+replace them with their values. Here's an example of a template:
+
+ Dear {$title} {$lastname},
+
+ It has come to our attention that you are delinquent in your
+ {$monthname[$last_paid_month]} payment. Please remit
+ ${sprintf("%.2f", $amount)} immediately, or your patellae may
+ be needlessly endangered.
+
+
+The result of filling in this template is a string, which might look
+something like this:
+
+ Dear Mr. Gates,
+
+ It has come to our attention that you are delinquent in your
+ February payment. Please remit
+ $392.12 immediately, or your patellae may
+ be needlessly endangered.
diff --git a/textproc/p5-Text-Template/pkg/PLIST b/textproc/p5-Text-Template/pkg/PLIST
new file mode 100644
index 00000000000..ff5f1da97d1
--- /dev/null
+++ b/textproc/p5-Text-Template/pkg/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/10/16 09:57:50 rh Exp $