diff options
author | rh <rh> | 2000-10-16 09:57:50 +0000 |
---|---|---|
committer | rh <rh> | 2000-10-16 09:57:50 +0000 |
commit | 8b76261415a8a7c7e85d745f1f62db94c4b8ecd8 (patch) | |
tree | 6a35613f0cc97624a040d317b15c967a0f449d6d /textproc | |
parent | 61709ccda618c4a77e6b99be77dec7b8abd9b11a (diff) | |
download | pkgsrc-8b76261415a8a7c7e85d745f1f62db94c4b8ecd8.tar.gz |
Initial import of p5-Text-Template-1.23, a perl5 library for generating
form letters
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/p5-Text-Template/Makefile | 19 | ||||
-rw-r--r-- | textproc/p5-Text-Template/files/md5 | 3 | ||||
-rw-r--r-- | textproc/p5-Text-Template/pkg/COMMENT | 1 | ||||
-rw-r--r-- | textproc/p5-Text-Template/pkg/DESCR | 23 | ||||
-rw-r--r-- | textproc/p5-Text-Template/pkg/PLIST | 1 |
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 $ |