git: dea963cecfe0 - main - devel/rubygem-google-protobuf322: Add rubygem-google-protobuf322 3.22.3 (copied from rubygem-google-protobuf)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 27 May 2023 04:25:27 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=dea963cecfe0de05429a7baf39a363af1feb9eac

commit dea963cecfe0de05429a7baf39a363af1feb9eac
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-05-27 04:06:43 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-05-27 04:06:43 +0000

    devel/rubygem-google-protobuf322: Add rubygem-google-protobuf322 3.22.3 (copied from rubygem-google-protobuf)
    
    - Add PORTSCOUT
---
 devel/Makefile                             |  1 +
 devel/rubygem-google-protobuf322/Makefile  | 21 +++++++++++++++++++++
 devel/rubygem-google-protobuf322/distinfo  |  3 +++
 devel/rubygem-google-protobuf322/pkg-descr |  6 ++++++
 4 files changed, 31 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 46f3214f369b..04a333ad2344 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6825,6 +6825,7 @@
     SUBDIR += rubygem-google-iam-credentials-v1
     SUBDIR += rubygem-google-iam-v1
     SUBDIR += rubygem-google-protobuf
+    SUBDIR += rubygem-google-protobuf322
     SUBDIR += rubygem-googleapis-common-protos
     SUBDIR += rubygem-googleapis-common-protos-types
     SUBDIR += rubygem-graf
diff --git a/devel/rubygem-google-protobuf322/Makefile b/devel/rubygem-google-protobuf322/Makefile
new file mode 100644
index 000000000000..22292093a83c
--- /dev/null
+++ b/devel/rubygem-google-protobuf322/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=	google-protobuf
+PORTVERSION=	3.22.3
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	322
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Ruby extension to Google Protocol Buffers
+WWW=		https://protobuf.dev/ \
+		https://github.com/protocolbuffers/protobuf \
+		https://github.com/protocolbuffers/protobuf/tree/main/ruby
+
+LICENSE=	BSD3CLAUSE
+
+USES=		gem shebangfix
+
+PORTSCOUT=	limit:^3\.22\.
+
+SHEBANG_GLOB=	*.rb
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-google-protobuf322/distinfo b/devel/rubygem-google-protobuf322/distinfo
new file mode 100644
index 000000000000..dd82d886914a
--- /dev/null
+++ b/devel/rubygem-google-protobuf322/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1681843934
+SHA256 (rubygem/google-protobuf-3.22.3.gem) = 09db2a54fcdf2c8ec04d2c10b2818fd6ee0990578317b42e839811f2fd288ff5
+SIZE (rubygem/google-protobuf-3.22.3.gem) = 209920
diff --git a/devel/rubygem-google-protobuf322/pkg-descr b/devel/rubygem-google-protobuf322/pkg-descr
new file mode 100644
index 000000000000..c47ffe5244ab
--- /dev/null
+++ b/devel/rubygem-google-protobuf322/pkg-descr
@@ -0,0 +1,6 @@
+rubygem-google-protobuf is a Ruby extension that implements Protocol Buffers
+functionality. It makes use of generated Ruby code that defines message and enum
+types in a Ruby DSL. You may write definitions in this DSL directly, but we
+recommend using protoc's Ruby generation support with .proto files. The build
+process in this directory only installs the extension; you need to install
+protoc as well to have Ruby code generation functionality.