From nobody Tue May 28 20:23:59 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VpkW33s2Hz5L4rZ; Tue, 28 May 2024 20:23:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VpkW32q8qz4Z2T; Tue, 28 May 2024 20:23:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716927839; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=3G00bcJvQpkVCLuI2DPlfeIjuAm3qOiR00SYnkBuzn4=; b=MKDvV/hIv+7towZHi9ZatClXB8lAz2rMN6tV0wcOBQ8/P21kERLNAOi6xqNTofwU9TiHQY f7cgtbWKYbp+djS3pjuunsgE+PnY0b7W7DWw5O7b17Iju7iQGr0Ik2GCpevWnSGqEuhHMO crGqcjAXifgPV228C/cJjloRVMHz4H1boZ+1XhwiPRxqURmTWbD0yBi5QlrXuzL/eiiXHS P+VkFr6hDQaiSfRbEBNMjMrlghnCosHsGfZ/pTLG+D/NflmlkG/Epffm0yLE1dpjBZznW/ QGMnxRHI4D9pfzU9IZzbE8BPCZlgvBaggsYIyWv4h9Hu//nxqYlLsWWni0xgRw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716927839; a=rsa-sha256; cv=none; b=qBeClHuJSYX+iEB4MOxbftxLb22absNSYLHyJ9B3CKMZZM9pHKVLCURaiibd+pKvD9URfQ 0lMsbPJVCWQrf+8S7fbabNMMH+YHTtqvEhv5ThjckYPiVMgWurQMaH0hwX+/yfEWrggEy2 CbPjgKEqy1Yzhepo7qqbNH3kVTMyr7gF8QQ9Q4jQGpP4JM6Kp5k4LCVQxU5mqyAzhMSzSn F8nwdDUnbzNisUPocTbL2YbpOaLVB+Pg/kYX9V8lgaylTOnt5Ew1oEcS2ntSMoEqEiLPnG zLgW6h7qV5o3ipm6k9FeJRlsSYtdCwpSIy+PPwByHR0cIo9XQEGURPa9NGq2Jw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716927839; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=3G00bcJvQpkVCLuI2DPlfeIjuAm3qOiR00SYnkBuzn4=; b=dvqjNKMlWQH5ECDUhcAskvdrojgseOxIcaakPerzYtYJFgK+zwJZdzP87NSQIO0XJd5fvc HBXkdnRtSOA/qpbbwQ/heEwInPlJqa+ucK9Dcn5nryCQJ4N3WEf2eOuK2UmMDBhDr5rG8K Y4U0sz26sZWOqRZQ4ZYF7XDDSWtx4ljRIaFwkeQP3QoNCGTFIfRv2woZ0pn2ujEwxP1YWY 4uhUVJrTP1xFYyEgYvu5M77VRFByMbuGLCVyTfNJ3AD15RK/ElWPAWF7dJ/mxhcT8Dqam0 APx6917HbKa8g0fU6FsqkMo1lTqsdl5omIMpQdtqJ2IVkStZEBSEFlS8CaMPuQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VpkW32PxvzRp0; Tue, 28 May 2024 20:23:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44SKNxIO048775; Tue, 28 May 2024 20:23:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44SKNxLh048772; Tue, 28 May 2024 20:23:59 GMT (envelope-from git) Date: Tue, 28 May 2024 20:23:59 GMT Message-Id: <202405282023.44SKNxLh048772@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 0b8bff01ae11 - main - devel/rubygem-gettext_i18n_rails_js: Add rubygem-gettext_i18n_rails_js 2.1.0 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0b8bff01ae1100230278ad836ee0b081b1e62d51 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=0b8bff01ae1100230278ad836ee0b081b1e62d51 commit 0b8bff01ae1100230278ad836ee0b081b1e62d51 Author: Po-Chuan Hsieh AuthorDate: 2024-05-28 20:19:16 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-05-28 20:19:16 +0000 devel/rubygem-gettext_i18n_rails_js: Add rubygem-gettext_i18n_rails_js 2.1.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. --- devel/Makefile | 1 + devel/rubygem-gettext_i18n_rails_js/Makefile | 22 ++++++++++++++++++++++ devel/rubygem-gettext_i18n_rails_js/distinfo | 3 +++ devel/rubygem-gettext_i18n_rails_js/pkg-descr | 5 +++++ 4 files changed, 31 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 2ec9718ecfa7..bc98e32ee8c7 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -7055,6 +7055,7 @@ SUBDIR += rubygem-gettext-setup SUBDIR += rubygem-gettext_i18n_rails SUBDIR += rubygem-gettext_i18n_rails111 + SUBDIR += rubygem-gettext_i18n_rails_js 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_rails_js/Makefile b/devel/rubygem-gettext_i18n_rails_js/Makefile new file mode 100644 index 000000000000..1fd81f26ac8b --- /dev/null +++ b/devel/rubygem-gettext_i18n_rails_js/Makefile @@ -0,0 +1,22 @@ +PORTNAME= gettext_i18n_rails_js +PORTVERSION= 2.1.0 +CATEGORIES= devel rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Make gettext_i18n_rails .po files as JSON +WWW= https://github.com/webhippie/gettext_i18n_rails_js + +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>=2.0.0:converters/rubygem-po_to_json \ + rubygem-rails71>=3.2.0:www/rubygem-rails71 + +USES= gem + +NO_ARCH= yes + +.include diff --git a/devel/rubygem-gettext_i18n_rails_js/distinfo b/devel/rubygem-gettext_i18n_rails_js/distinfo new file mode 100644 index 000000000000..59aa1b072159 --- /dev/null +++ b/devel/rubygem-gettext_i18n_rails_js/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1716892222 +SHA256 (rubygem/gettext_i18n_rails_js-2.1.0.gem) = 2c9e537537d02c549198b9e4567c3b8d31f7c0cd77810a9eadd0b2d17d1d9d36 +SIZE (rubygem/gettext_i18n_rails_js-2.1.0.gem) = 26112 diff --git a/devel/rubygem-gettext_i18n_rails_js/pkg-descr b/devel/rubygem-gettext_i18n_rails_js/pkg-descr new file mode 100644 index 000000000000..c2e3e332aaf3 --- /dev/null +++ b/devel/rubygem-gettext_i18n_rails_js/pkg-descr @@ -0,0 +1,5 @@ +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.