svn commit: r442048 - in head/devel: . rubygem-gettext_i18n_rails_js
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Tue May 30 01:49:30 UTC 2017
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 at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= gettext_i18n_rails_js
+PORTVERSION= 1.3.0
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+
+MAINTAINER= sunpoet at 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
More information about the svn-ports-all
mailing list