devel/protobuf-go: New port

Go support for Protocol Buffers

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.

WWW: https://github.com/protocolbuffers/protobuf-go
This commit is contained in:
Muhammad Moinur Rahman
2025-05-04 01:42:55 +02:00
parent dc13e88bbe
commit 92e2333be6
4 changed files with 35 additions and 0 deletions
+1
View File
@@ -4334,6 +4334,7 @@
SUBDIR += projectcenter
SUBDIR += protobuf
SUBDIR += protobuf-c
SUBDIR += protobuf-go
SUBDIR += protobuf-java
SUBDIR += protobuf25
SUBDIR += protobuf3
+22
View File
@@ -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>
+5
View File
@@ -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
+7
View File
@@ -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.