29 lines
558 B
Makefile
29 lines
558 B
Makefile
PORTNAME= buf
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 1.61.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= CLI tool for working with Protocol Buffers
|
|
WWW= https://buf.build/ \
|
|
https://github.com/bufbuild/buf
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= jq:textproc/jq
|
|
|
|
USES= go:modules
|
|
|
|
GO_MODULE= github.com/bufbuild/buf
|
|
GO_TARGET= ./cmd/buf \
|
|
./cmd/protoc-gen-buf-breaking \
|
|
./cmd/protoc-gen-buf-lint
|
|
|
|
PLIST_FILES= bin/buf \
|
|
bin/protoc-gen-buf-breaking \
|
|
bin/protoc-gen-buf-lint
|
|
|
|
.include <bsd.port.mk>
|