Date: Fri, 20 Jun 2014 17:06:03 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r358610 - head/www/p5-Template-Provider-Encoding Message-ID: <201406201706.s5KH63D0016148@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Fri Jun 20 17:06:03 2014 New Revision: 358610 URL: http://svnweb.freebsd.org/changeset/ports/358610 QAT: https://qat.redports.org/buildarchive/r358610/ Log: - Add LICENSE - Update COMMENT - Fix and sort PLIST: remove "@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%" - Update pkg-descr - Use single space after WWW: Modified: head/www/p5-Template-Provider-Encoding/Makefile head/www/p5-Template-Provider-Encoding/pkg-descr head/www/p5-Template-Provider-Encoding/pkg-plist Modified: head/www/p5-Template-Provider-Encoding/Makefile ============================================================================== --- head/www/p5-Template-Provider-Encoding/Makefile Fri Jun 20 17:05:57 2014 (r358609) +++ head/www/p5-Template-Provider-Encoding/Makefile Fri Jun 20 17:06:03 2014 (r358610) @@ -9,12 +9,15 @@ MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= sunpoet@FreeBSD.org -COMMENT= Template plugin to specify encoding +COMMENT= Explicitly declare encodings of your templates -RUN_DEPENDS= p5-Template-Toolkit>=0:${PORTSDIR}/www/p5-Template-Toolkit -BUILD_DEPENDS:= ${RUN_DEPENDS} +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + +BUILD_DEPENDS= p5-Template-Toolkit>=0:${PORTSDIR}/www/p5-Template-Toolkit +RUN_DEPENDS:= ${BUILD_DEPENDS} -USES= perl5 USE_PERL5= configure +USES= perl5 .include <bsd.port.mk> Modified: head/www/p5-Template-Provider-Encoding/pkg-descr ============================================================================== --- head/www/p5-Template-Provider-Encoding/pkg-descr Fri Jun 20 17:05:57 2014 (r358609) +++ head/www/p5-Template-Provider-Encoding/pkg-descr Fri Jun 20 17:06:03 2014 (r358610) @@ -1,8 +1,6 @@ -Template::Plugin::encoding is a Template plugin to declare the encoding of -template files. This plugin doesn't actually do anything but -Template::Provider::Encoding scans the usage of this module to find -the encoding of templates. As a bonus, you can use encoding variable in -the template to specify file encoding, which might be useful for -XML or HTML meta tag. +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. -WWW: http://search.cpan.org/dist/Template-Provider-Encoding/ +WWW: http://search.cpan.org/dist/Template-Provider-Encoding/ Modified: head/www/p5-Template-Provider-Encoding/pkg-plist ============================================================================== --- head/www/p5-Template-Provider-Encoding/pkg-plist Fri Jun 20 17:05:57 2014 (r358609) +++ head/www/p5-Template-Provider-Encoding/pkg-plist Fri Jun 20 17:06:03 2014 (r358610) @@ -1,15 +1,14 @@ -%%SITE_PERL%%/%%PERL_ARCH%%/auto/Template/Provider/Encoding/.packlist +%%SITE_PERL%%/Template/Plugin/encoding.pm %%SITE_PERL%%/Template/Provider/Encoding.pm %%SITE_PERL%%/Template/Stash/ForceUTF8.pm -%%SITE_PERL%%/Template/Plugin/encoding.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Template/Provider/Encoding/.packlist +%%PERL5_MAN3%%/Template::Plugin::encoding.3.gz %%PERL5_MAN3%%/Template::Provider::Encoding.3.gz %%PERL5_MAN3%%/Template::Stash::ForceUTF8.3.gz -%%PERL5_MAN3%%/Template::Plugin::encoding.3.gz -@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Template/Provider/Encoding +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Template/Provider/Encoding @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Template/Provider @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Template -@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%% -@dirrm %%SITE_PERL%%/Template/Provider -@dirrm %%SITE_PERL%%/Template/Stash +@dirrmtry %%SITE_PERL%%/Template/Stash +@dirrmtry %%SITE_PERL%%/Template/Provider @dirrmtry %%SITE_PERL%%/Template/Plugin @dirrmtry %%SITE_PERL%%/Template
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406201706.s5KH63D0016148>