From owner-svn-ports-head@freebsd.org Tue Jun 18 00:29:57 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BBA9715C8A28; Tue, 18 Jun 2019 00:29:57 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 43678890A8; Tue, 18 Jun 2019 00:29:57 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 891A65712; Tue, 18 Jun 2019 00:29:52 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x5I0Tqvj038252; Tue, 18 Jun 2019 00:29:52 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x5I0TpMW038244; Tue, 18 Jun 2019 00:29:51 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201906180029.x5I0TpMW038244@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Tue, 18 Jun 2019 00:29:51 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/www: . p5-Template-Plugin-Gettext X-SVN-Commit-Revision: 504449 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 43678890A8 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.97)[-0.966,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jun 2019 00:29:58 -0000 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 +# $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 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