svn commit: r442047 - in head/devel: . rubygem-gettext_i18n_rails

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Tue May 30 01:49:16 UTC 2017


Author: sunpoet
Date: Tue May 30 01:49:14 2017
New Revision: 442047
URL: https://svnweb.freebsd.org/changeset/ports/442047

Log:
  Add rubygem-gettext_i18n_rails 1.8.0
  
  gettext_i18n_rails is simple FastGettext Rails integration. Translate via
  FastGettext, use any other I18n backend as extension/fallback.
  
  Rails does: I18n.t('syntax.with.lots.of.dots') with nested yml files. We do:
  _('Just translate my damn text!') with simple, flat mo/po/yml files or directly
  from db. To use I18n, calls add a syntax.with.lots.of.dots translation.
  
  WWW: https://github.com/grosser/gettext_i18n_rails

Added:
  head/devel/rubygem-gettext_i18n_rails/
  head/devel/rubygem-gettext_i18n_rails/Makefile   (contents, props changed)
  head/devel/rubygem-gettext_i18n_rails/distinfo   (contents, props changed)
  head/devel/rubygem-gettext_i18n_rails/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Tue May 30 01:48:55 2017	(r442046)
+++ head/devel/Makefile	Tue May 30 01:49:14 2017	(r442047)
@@ -5317,6 +5317,7 @@
     SUBDIR += rubygem-getopt
     SUBDIR += rubygem-gettext
     SUBDIR += rubygem-gettext-setup
+    SUBDIR += rubygem-gettext_i18n_rails
     SUBDIR += rubygem-gh
     SUBDIR += rubygem-gibbler
     SUBDIR += rubygem-gio2

Added: head/devel/rubygem-gettext_i18n_rails/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-gettext_i18n_rails/Makefile	Tue May 30 01:49:14 2017	(r442047)
@@ -0,0 +1,21 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	gettext_i18n_rails
+PORTVERSION=	1.8.0
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet at FreeBSD.org
+COMMENT=	Simple FastGettext Rails integration
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/MIT-LICENSE.txt
+
+RUN_DEPENDS=	rubygem-fast_gettext>=0.9.0:devel/rubygem-fast_gettext
+
+NO_ARCH=	yes
+USE_RUBY=	yes
+USES=		gem
+
+.include <bsd.port.mk>

Added: head/devel/rubygem-gettext_i18n_rails/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-gettext_i18n_rails/distinfo	Tue May 30 01:49:14 2017	(r442047)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1496105086
+SHA256 (rubygem/gettext_i18n_rails-1.8.0.gem) = 95e5cf8440b1e08705b27f2bccb56143272c5a7a0dabcf54ea1bd701140a496f
+SIZE (rubygem/gettext_i18n_rails-1.8.0.gem) = 13312

Added: head/devel/rubygem-gettext_i18n_rails/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-gettext_i18n_rails/pkg-descr	Tue May 30 01:49:14 2017	(r442047)
@@ -0,0 +1,8 @@
+gettext_i18n_rails is simple FastGettext Rails integration. Translate via
+FastGettext, use any other I18n backend as extension/fallback.
+
+Rails does: I18n.t('syntax.with.lots.of.dots') with nested yml files. We do:
+_('Just translate my damn text!') with simple, flat mo/po/yml files or directly
+from db. To use I18n, calls add a syntax.with.lots.of.dots translation.
+
+WWW: https://github.com/grosser/gettext_i18n_rails


More information about the svn-ports-all mailing list