Date: Tue, 30 May 2017 01:49:29 +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: r442048 - in head/devel: . rubygem-gettext_i18n_rails_js Message-ID: <201705300149.v4U1nTUH018767@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Tue May 30 01:49:29 2017 New Revision: 442048 URL: https://svnweb.freebsd.org/changeset/ports/442048 Log: Add rubygem-gettext_i18n_rails_js 1.3.0 GettextI18nRailsJs extends gettext_i18n_rails, making your .PO files available to client side Javascript as JSON. It will find translations inside your .js, .coffee, .handlebars and .mustache files, then it will create JSON versions of your .PO files so you can serve them with the rest of your assets, thus letting you access all your translations offline from client side Javascript. WWW: https://github.com/webhippie/gettext_i18n_rails_js Added: head/devel/rubygem-gettext_i18n_rails_js/ head/devel/rubygem-gettext_i18n_rails_js/Makefile (contents, props changed) head/devel/rubygem-gettext_i18n_rails_js/distinfo (contents, props changed) head/devel/rubygem-gettext_i18n_rails_js/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Tue May 30 01:49:14 2017 (r442047) +++ head/devel/Makefile Tue May 30 01:49:29 2017 (r442048) @@ -5318,6 +5318,7 @@ SUBDIR += rubygem-gettext SUBDIR += rubygem-gettext-setup SUBDIR += rubygem-gettext_i18n_rails + SUBDIR += rubygem-gettext_i18n_rails_js SUBDIR += rubygem-gh SUBDIR += rubygem-gibbler SUBDIR += rubygem-gio2 Added: head/devel/rubygem-gettext_i18n_rails_js/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-gettext_i18n_rails_js/Makefile Tue May 30 01:49:29 2017 (r442048) @@ -0,0 +1,24 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= gettext_i18n_rails_js +PORTVERSION= 1.3.0 +CATEGORIES= devel rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Make gettext_i18n_rails .po files as JSON + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= rubygem-gettext>=3.0.2:devel/rubygem-gettext \ + rubygem-gettext_i18n_rails>=0.7.1:devel/rubygem-gettext_i18n_rails \ + rubygem-po_to_json>=1.0.0:converters/rubygem-po_to_json \ + rubygem-rails4>=3.2.0:www/rubygem-rails4 + +NO_ARCH= yes +USE_RUBY= yes +USES= gem + +.include <bsd.port.mk> Added: head/devel/rubygem-gettext_i18n_rails_js/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-gettext_i18n_rails_js/distinfo Tue May 30 01:49:29 2017 (r442048) @@ -0,0 +1,3 @@ +TIMESTAMP = 1496105567 +SHA256 (rubygem/gettext_i18n_rails_js-1.3.0.gem) = 5d10afe4be3639bff78c50a56768c20f39aecdabc580c08aa45573911c2bd687 +SIZE (rubygem/gettext_i18n_rails_js-1.3.0.gem) = 24576 Added: head/devel/rubygem-gettext_i18n_rails_js/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-gettext_i18n_rails_js/pkg-descr Tue May 30 01:49:29 2017 (r442048) @@ -0,0 +1,7 @@ +GettextI18nRailsJs extends gettext_i18n_rails, making your .PO files available +to client side Javascript as JSON. It will find translations inside your .js, +.coffee, .handlebars and .mustache files, then it will create JSON versions of +your .PO files so you can serve them with the rest of your assets, thus letting +you access all your translations offline from client side Javascript. + +WWW: https://github.com/webhippie/gettext_i18n_rails_js
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705300149.v4U1nTUH018767>