aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2014-06-21 01:06:03 +0800
committersunpoet <sunpoet@FreeBSD.org>2014-06-21 01:06:03 +0800
commitc13e007f3ee6845a900b658825b6fb3e3d4d2125 (patch)
treeadd407ae6a180798b04793e60f346c2d97a6017b
parent3dc05a3407a4ee387a6490e993d0bcc6670da7dd (diff)
downloadfreebsd-ports-gnome-c13e007f3ee6845a900b658825b6fb3e3d4d2125.tar.gz
freebsd-ports-gnome-c13e007f3ee6845a900b658825b6fb3e3d4d2125.tar.zst
freebsd-ports-gnome-c13e007f3ee6845a900b658825b6fb3e3d4d2125.zip
- Add LICENSE
- Update COMMENT - Fix and sort PLIST: remove "@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%" - Update pkg-descr - Use single space after WWW:
-rw-r--r--www/p5-Template-Provider-Encoding/Makefile11
-rw-r--r--www/p5-Template-Provider-Encoding/pkg-descr12
-rw-r--r--www/p5-Template-Provider-Encoding/pkg-plist13
3 files changed, 18 insertions, 18 deletions
diff --git a/www/p5-Template-Provider-Encoding/Makefile b/www/p5-Template-Provider-Encoding/Makefile
index 4634057dbef0..327db09a8f3b 100644
--- a/www/p5-Template-Provider-Encoding/Makefile
+++ b/www/p5-Template-Provider-Encoding/Makefile
@@ -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>
diff --git a/www/p5-Template-Provider-Encoding/pkg-descr b/www/p5-Template-Provider-Encoding/pkg-descr
index 5454a9dc0567..4221d6c2f64f 100644
--- a/www/p5-Template-Provider-Encoding/pkg-descr
+++ b/www/p5-Template-Provider-Encoding/pkg-descr
@@ -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/
diff --git a/www/p5-Template-Provider-Encoding/pkg-plist b/www/p5-Template-Provider-Encoding/pkg-plist
index b7e3f33cbadf..be9921164ef8 100644
--- a/www/p5-Template-Provider-Encoding/pkg-plist
+++ b/www/p5-Template-Provider-Encoding/pkg-plist
@@ -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