Date: Tue, 18 Jun 2019 00:29:51 +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: r504449 - in head/www: . p5-Template-Plugin-Gettext Message-ID: <201906180029.x5I0TpMW038244@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Tue Jun 18 00:29:51 2019 New Revision: 504449 URL: https://svnweb.freebsd.org/changeset/ports/504449 Log: Add p5-Template-Plugin-Gettext 0.7 Template::Plugin::Gettext offers an end-to-end localization and internationalization solution for the Template Toolkit 2. It consists of a plugin that offers translation functions inside templates and a string extractor xgettext-tt2 that extracts translatable strings from templates and writes them to PO files (or rather a .pot file in PO format). The string extractor xgettext-tt2 is fully customizable and also usable for other i18n plugins or frameworks for the Template Toolkit. WWW: https://metacpan.org/release/Template-Plugin-Gettext Added: head/www/p5-Template-Plugin-Gettext/ head/www/p5-Template-Plugin-Gettext/Makefile (contents, props changed) head/www/p5-Template-Plugin-Gettext/distinfo (contents, props changed) head/www/p5-Template-Plugin-Gettext/pkg-descr (contents, props changed) head/www/p5-Template-Plugin-Gettext/pkg-plist (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Tue Jun 18 00:29:45 2019 (r504448) +++ head/www/Makefile Tue Jun 18 00:29:51 2019 (r504449) @@ -1160,6 +1160,7 @@ SUBDIR += p5-Template-Plugin-Clickable-Email SUBDIR += p5-Template-Plugin-Comma SUBDIR += p5-Template-Plugin-FillInForm + SUBDIR += p5-Template-Plugin-Gettext SUBDIR += p5-Template-Plugin-JSON SUBDIR += p5-Template-Plugin-JavaScript SUBDIR += p5-Template-Plugin-MP3 Added: head/www/p5-Template-Plugin-Gettext/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Template-Plugin-Gettext/Makefile Tue Jun 18 00:29:51 2019 (r504449) @@ -0,0 +1,26 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= Template-Plugin-Gettext +PORTVERSION= 0.7 +CATEGORIES= www perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Gettext support for the Template Toolkit version 2 + +LICENSE= LGPL3+ +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-Locale-XGettext>=0:devel/p5-Locale-XGettext \ + p5-Locale-libintl>=1.30:devel/p5-Locale-libintl \ + p5-Template-Toolkit>=0:www/p5-Template-Toolkit + +USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes + +.include <bsd.port.mk> Added: head/www/p5-Template-Plugin-Gettext/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Template-Plugin-Gettext/distinfo Tue Jun 18 00:29:51 2019 (r504449) @@ -0,0 +1,3 @@ +TIMESTAMP = 1560682605 +SHA256 (Template-Plugin-Gettext-0.7.tar.gz) = 4539b8904019628c0c045f82f5f443785fda46d87dac10d768215a64400afd30 +SIZE (Template-Plugin-Gettext-0.7.tar.gz) = 38927 Added: head/www/p5-Template-Plugin-Gettext/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Template-Plugin-Gettext/pkg-descr Tue Jun 18 00:29:51 2019 (r504449) @@ -0,0 +1,9 @@ +Template::Plugin::Gettext offers an end-to-end localization and +internationalization solution for the Template Toolkit 2. It consists of a +plugin that offers translation functions inside templates and a string extractor +xgettext-tt2 that extracts translatable strings from templates and writes them +to PO files (or rather a .pot file in PO format). The string extractor +xgettext-tt2 is fully customizable and also usable for other i18n plugins or +frameworks for the Template Toolkit. + +WWW: https://metacpan.org/release/Template-Plugin-Gettext Added: head/www/p5-Template-Plugin-Gettext/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Template-Plugin-Gettext/pkg-plist Tue Jun 18 00:29:51 2019 (r504449) @@ -0,0 +1,8 @@ +bin/xgettext-tt2 +%%SITE_PERL%%/Locale/XGettext/TT2.pm +%%SITE_PERL%%/Locale/XGettext/TT2.pod +%%SITE_PERL%%/Template/Plugin/Gettext.pm +%%SITE_PERL%%/Template/Plugin/Gettext.pod +%%PERL5_MAN1%%/xgettext-tt2.1.gz +%%PERL5_MAN3%%/Locale::XGettext::TT2.3.gz +%%PERL5_MAN3%%/Template::Plugin::Gettext.3.gz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906180029.x5I0TpMW038244>