From 195fea602dad5929656d766c7c2da0a151915863 Mon Sep 17 00:00:00 2001 From: Hiramatsu Yoshifumi Date: Thu, 23 Feb 2006 09:43:36 +0000 Subject: [PATCH] Template::Provider::Encoding is a Template Provider subclass to decode template using its declaration. You have to declare encoding of the template in the head (1st line) of template using (fake) encoding TT plugin. Otherwise the template is handled as utf-8. --- p5-Template-Provider-Encoding/DESCR | 4 ++++ p5-Template-Provider-Encoding/Makefile | 19 +++++++++++++++++++ p5-Template-Provider-Encoding/PLIST | 1 + p5-Template-Provider-Encoding/distinfo | 5 +++++ 4 files changed, 29 insertions(+) create mode 100644 p5-Template-Provider-Encoding/DESCR create mode 100644 p5-Template-Provider-Encoding/Makefile create mode 100644 p5-Template-Provider-Encoding/PLIST create mode 100644 p5-Template-Provider-Encoding/distinfo diff --git a/p5-Template-Provider-Encoding/DESCR b/p5-Template-Provider-Encoding/DESCR new file mode 100644 index 0000000000..fd5110932d --- /dev/null +++ b/p5-Template-Provider-Encoding/DESCR @@ -0,0 +1,4 @@ +Template::Provider::Encoding is a Template Provider subclass to decode +template using its declaration. You have to declare encoding of the +template in the head (1st line) of template using (fake) encoding TT +plugin. Otherwise the template is handled as utf-8. diff --git a/p5-Template-Provider-Encoding/Makefile b/p5-Template-Provider-Encoding/Makefile new file mode 100644 index 0000000000..2f2f2cfe46 --- /dev/null +++ b/p5-Template-Provider-Encoding/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1.1.1 2006/02/23 09:43:36 jgoamakf Exp $ + +DISTNAME= Template-Provider-Encoding-0.05 +PKGNAME= p5-${DISTNAME} +CATEGORIES= www perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Template/} + +MAINTAINER= hiramatu@boreas.dti.ne.jp +HOMEPAGE= http://search.cpan.org/dist/Template-Provider-Encoding/ +COMMENT= Explicitly declare encodings of your templates + +DEPENDS+= p5-Template-Toolkit>=2.14:../../www/p5-Template-Toolkit + +PKG_INSTALLATION_TYPES= overwrite pkgviews + +PERL5_PACKLIST= auto/Template/Provider/Encoding/.packlist + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/p5-Template-Provider-Encoding/PLIST b/p5-Template-Provider-Encoding/PLIST new file mode 100644 index 0000000000..a2645b1509 --- /dev/null +++ b/p5-Template-Provider-Encoding/PLIST @@ -0,0 +1 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2006/02/23 09:43:36 jgoamakf Exp $ diff --git a/p5-Template-Provider-Encoding/distinfo b/p5-Template-Provider-Encoding/distinfo new file mode 100644 index 0000000000..473c12a9cb --- /dev/null +++ b/p5-Template-Provider-Encoding/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2006/02/23 09:43:36 jgoamakf Exp $ + +SHA1 (Template-Provider-Encoding-0.05.tar.gz) = 1c6fbf4a14c9df9b8a1784b7801190f0d57ddd9f +RMD160 (Template-Provider-Encoding-0.05.tar.gz) = c0ef77e862206124e153a3a97a946e2c857883c4 +Size (Template-Provider-Encoding-0.05.tar.gz) = 3940 bytes