aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2025-05-03 23:42:55 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2025-05-04 18:44:50 +0000
commit92e2333be67c7ee3f46f5730fbf7557837fc444e (patch)
tree8a3b8824d04450217f9c589c0a04c6fad563f008
parentdc13e88bbe9c90f32a89694d58357e8176be1cc4 (diff)
-rw-r--r--devel/Makefile1
-rw-r--r--devel/protobuf-go/Makefile22
-rw-r--r--devel/protobuf-go/distinfo5
-rw-r--r--devel/protobuf-go/pkg-descr7
4 files changed, 35 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index b15c1d3b4779..e1b9ef3e7e3b 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4334,6 +4334,7 @@
SUBDIR += projectcenter
SUBDIR += protobuf
SUBDIR += protobuf-c
+ SUBDIR += protobuf-go
SUBDIR += protobuf-java
SUBDIR += protobuf25
SUBDIR += protobuf3
diff --git a/devel/protobuf-go/Makefile b/devel/protobuf-go/Makefile
new file mode 100644
index 000000000000..2358824e07b3
--- /dev/null
+++ b/devel/protobuf-go/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= protobuf-go
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.36.6
+CATEGORIES= devel
+
+MAINTAINER= bofh@FreeBSD.org
+COMMENT= Go support for Protocol Buffers
+WWW= https://github.com/protocolbuffers/protobuf-go
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= go:1.22,modules
+
+GO_MODULE= google.golang.org/protobuf
+GO_TARGET= ./cmd/protoc-gen-go
+
+CONFLICTS_INSTALL= goprotobuf
+
+PLIST_FILES= bin/protoc-gen-go
+
+.include <bsd.port.mk>
diff --git a/devel/protobuf-go/distinfo b/devel/protobuf-go/distinfo
new file mode 100644
index 000000000000..680559c687ca
--- /dev/null
+++ b/devel/protobuf-go/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1746315257
+SHA256 (go/devel_protobuf-go/protobuf-go-v1.36.6/v1.36.6.mod) = e11082f89ab1be94e778e4bd2c53172f481135604dd9f2d60140e5514bc53623
+SIZE (go/devel_protobuf-go/protobuf-go-v1.36.6/v1.36.6.mod) = 201
+SHA256 (go/devel_protobuf-go/protobuf-go-v1.36.6/v1.36.6.zip) = 3294ac8ea5089b3c231351afaea4f012e8027a9beeb523bbf31dcb383cc0ab99
+SIZE (go/devel_protobuf-go/protobuf-go-v1.36.6/v1.36.6.zip) = 2239723
diff --git a/devel/protobuf-go/pkg-descr b/devel/protobuf-go/pkg-descr
new file mode 100644
index 000000000000..b584b6484c03
--- /dev/null
+++ b/devel/protobuf-go/pkg-descr
@@ -0,0 +1,7 @@
+This project hosts the Go implementation for protocol buffers, which is
+a language-neutral, platform-neutral, extensible mechanism for
+serializing structured data. The protocol buffer language is a language
+for specifying the schema for structured data. This schema is compiled
+into language specific bindings. This project provides both a tool to
+generate Go code for the protocol buffer language, and also the runtime
+implementation to handle serialization of messages in Go.