From dea963cecfe0de05429a7baf39a363af1feb9eac Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Sat, 27 May 2023 12:06:43 +0800 Subject: [PATCH] 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(+) create mode 100644 devel/rubygem-google-protobuf322/Makefile create mode 100644 devel/rubygem-google-protobuf322/distinfo create mode 100644 devel/rubygem-google-protobuf322/pkg-descr diff --git a/devel/Makefile b/devel/Makefile index 46f3214f369bf..04a333ad23442 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 0000000000000..22292093a83cb --- /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 diff --git a/devel/rubygem-google-protobuf322/distinfo b/devel/rubygem-google-protobuf322/distinfo new file mode 100644 index 0000000000000..dd82d886914a9 --- /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 0000000000000..c47ffe5244ab5 --- /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.