git: ed5caff0f116 - main - devel/rubygem-gettext_i18n_rails18: Add rubygem-gettext_i18n_rails18 1.8.1 (copied from rubygem-gettext_i18n_rails)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 30 Dec 2022 09:08:00 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ed5caff0f116df231d188907278a9db797baf485
commit ed5caff0f116df231d188907278a9db797baf485
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-12-30 08:36:21 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-12-30 09:04:02 +0000
devel/rubygem-gettext_i18n_rails18: Add rubygem-gettext_i18n_rails18 1.8.1 (copied from rubygem-gettext_i18n_rails)
- Add PORTSCOUT
---
devel/Makefile | 1 +
devel/rubygem-gettext_i18n_rails18/Makefile | 23 +++++++++++++++++++++++
devel/rubygem-gettext_i18n_rails18/distinfo | 3 +++
devel/rubygem-gettext_i18n_rails18/pkg-descr | 6 ++++++
4 files changed, 33 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 795553d2ccd9..2dd22bfcb61a 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6572,6 +6572,7 @@
SUBDIR += rubygem-gettext
SUBDIR += rubygem-gettext-setup
SUBDIR += rubygem-gettext_i18n_rails
+ SUBDIR += rubygem-gettext_i18n_rails18
SUBDIR += rubygem-gettext_i18n_rails_js-rails5
SUBDIR += rubygem-gettext_i18n_rails_js-rails50
SUBDIR += rubygem-gettext_i18n_rails_js-rails52
diff --git a/devel/rubygem-gettext_i18n_rails18/Makefile b/devel/rubygem-gettext_i18n_rails18/Makefile
new file mode 100644
index 000000000000..fd6cda68ee7d
--- /dev/null
+++ b/devel/rubygem-gettext_i18n_rails18/Makefile
@@ -0,0 +1,23 @@
+PORTNAME= gettext_i18n_rails
+PORTVERSION= 1.8.1
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+PKGNAMESUFFIX= 18
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Simple FastGettext Rails integration
+WWW= https://github.com/grosser/gettext_i18n_rails
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/MIT-LICENSE.txt
+
+RUN_DEPENDS= rubygem-fast_gettext>=0.9.0:devel/rubygem-fast_gettext
+
+USES= gem
+USE_RUBY= yes
+
+NO_ARCH= yes
+
+PORTSCOUT= limit:^1\.8\.
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-gettext_i18n_rails18/distinfo b/devel/rubygem-gettext_i18n_rails18/distinfo
new file mode 100644
index 000000000000..aef8b877719c
--- /dev/null
+++ b/devel/rubygem-gettext_i18n_rails18/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1576073167
+SHA256 (rubygem/gettext_i18n_rails-1.8.1.gem) = a96a119e35605c12138b8037dd5907df235b343dbdee51031ace4514639a2366
+SIZE (rubygem/gettext_i18n_rails-1.8.1.gem) = 13312
diff --git a/devel/rubygem-gettext_i18n_rails18/pkg-descr b/devel/rubygem-gettext_i18n_rails18/pkg-descr
new file mode 100644
index 000000000000..c58156d0b21f
--- /dev/null
+++ b/devel/rubygem-gettext_i18n_rails18/pkg-descr
@@ -0,0 +1,6 @@
+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.