git: 3b1ba1870412 - main - devel/rubygem-gettext_i18n_rails112: Add rubygem-gettext_i18n_rails112 1.12.0 (copied from rubygem-gettext_i18n_rails)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 04 Aug 2024 17:21:54 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=3b1ba1870412d94def6c439b5f661d0a13672a8a commit 3b1ba1870412d94def6c439b5f661d0a13672a8a Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-08-04 16:44:23 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-08-04 17:13:54 +0000 devel/rubygem-gettext_i18n_rails112: Add rubygem-gettext_i18n_rails112 1.12.0 (copied from rubygem-gettext_i18n_rails) - Add PORTSCOUT --- devel/Makefile | 1 + devel/rubygem-gettext_i18n_rails112/Makefile | 22 ++++++++++++++++++++++ devel/rubygem-gettext_i18n_rails112/distinfo | 3 +++ devel/rubygem-gettext_i18n_rails112/pkg-descr | 6 ++++++ 4 files changed, 32 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 4225542238f0..47d7156bbffd 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -7116,6 +7116,7 @@ SUBDIR += rubygem-gettext SUBDIR += rubygem-gettext-setup SUBDIR += rubygem-gettext_i18n_rails + SUBDIR += rubygem-gettext_i18n_rails112 SUBDIR += rubygem-gettext_i18n_rails_js SUBDIR += rubygem-gettext_i18n_rails_js-rails5 SUBDIR += rubygem-gettext_i18n_rails_js-rails50 diff --git a/devel/rubygem-gettext_i18n_rails112/Makefile b/devel/rubygem-gettext_i18n_rails112/Makefile new file mode 100644 index 000000000000..ce148a1fe80f --- /dev/null +++ b/devel/rubygem-gettext_i18n_rails112/Makefile @@ -0,0 +1,22 @@ +PORTNAME= gettext_i18n_rails +PORTVERSION= 1.12.0 +CATEGORIES= devel rubygems +MASTER_SITES= RG +PKGNAMESUFFIX= 112 + +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 + +NO_ARCH= yes + +PORTSCOUT= limit:^1\.12\. + +.include <bsd.port.mk> diff --git a/devel/rubygem-gettext_i18n_rails112/distinfo b/devel/rubygem-gettext_i18n_rails112/distinfo new file mode 100644 index 000000000000..b09889764475 --- /dev/null +++ b/devel/rubygem-gettext_i18n_rails112/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1688167082 +SHA256 (rubygem/gettext_i18n_rails-1.12.0.gem) = 6ac4817731a9e2ce47e1e83381ac34f9142263bc2911aaaafb2526d2f1afc1be +SIZE (rubygem/gettext_i18n_rails-1.12.0.gem) = 12288 diff --git a/devel/rubygem-gettext_i18n_rails112/pkg-descr b/devel/rubygem-gettext_i18n_rails112/pkg-descr new file mode 100644 index 000000000000..c58156d0b21f --- /dev/null +++ b/devel/rubygem-gettext_i18n_rails112/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.