From owner-svn-ports-head@freebsd.org Tue May 30 01:49:30 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C9DD3D8977C; Tue, 30 May 2017 01:49:30 +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 mx1.freebsd.org (Postfix) with ESMTPS id A54FF70233; Tue, 30 May 2017 01:49:30 +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 v4U1nT7r018771; Tue, 30 May 2017 01:49:29 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v4U1nTUH018767; Tue, 30 May 2017 01:49:29 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201705300149.v4U1nTUH018767@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, 30 May 2017 01:49:29 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 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, 30 May 2017 01:49:30 -0000 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 +# $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 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