aboutsummaryrefslogtreecommitdiff
path: root/net/grpcurl/Makefile
blob: d8a2d5596e8421bbca54bfce6e0041fed56ec0e7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
PORTNAME=	grpcurl
DISTVERSIONPREFIX=	v
DISTVERSION=	1.8.9
PORTREVISION=	2
CATEGORIES=	net

MAINTAINER=	nc@FreeBSD.org
COMMENT=	Command-line tool that lets you interact with gRPC servers
WWW=		https://github.com/fullstorydev/grpcurl

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		go:modules
USE_GITHUB=	yes
GH_ACCOUNT=	fullstorydev
GH_SUBDIR=	src/github.com/fullstorydev/grpcurl

GH_TUPLE=	\
		bufbuild:protocompile:v0.6.0:bufbuild_protocompile/vendor/github.com/bufbuild/protocompile \
		census-instrumentation:opencensus-proto:v0.4.1:census_instrumentation_opencensus_proto/vendor/github.com/census-instrumentation/opencensus-proto \
		cespare:xxhash:v2.2.0:cespare_xxhash_v2/vendor/github.com/cespare/xxhash/v2 \
		cncf:udpa:c52dc94e7fbe:cncf_udpa_go/vendor/github.com/cncf/udpa \
		cncf:xds:e9ce68804cb4:cncf_xds_go/vendor/github.com/cncf/xds \
		envoyproxy:go-control-plane:9239064ad72f:envoyproxy_go_control_plane/vendor/github.com/envoyproxy/go-control-plane \
		envoyproxy:protoc-gen-validate:v0.10.1:envoyproxy_protoc_gen_validate/vendor/github.com/envoyproxy/protoc-gen-validate \
		golang:appengine:v1.6.7:golang_appengine/vendor/google.golang.org/appengine \
		golang:net:v0.17.0:golang_net/vendor/golang.org/x/net \
		golang:oauth2:v0.7.0:golang_oauth2/vendor/golang.org/x/oauth2 \
		golang:protobuf:v1.5.3:golang_protobuf/vendor/github.com/golang/protobuf \
		golang:sync:v0.3.0:golang_sync/vendor/golang.org/x/sync \
		golang:sys:v0.13.0:golang_sys/vendor/golang.org/x/sys \
		golang:text:v0.13.0:golang_text/vendor/golang.org/x/text \
		google:go-genproto:0005af68ea54:google_go_genproto/vendor/google.golang.org/genproto \
		google:go-genproto:28d5490b6b19:google_go_genproto_2/vendor/google.golang.org/genproto/googleapis/rpc \
		google:go-genproto:dd9d682886f9:google_go_genproto_1/vendor/google.golang.org/genproto/googleapis/api \
		googleapis:google-cloud-go:compute/v1.19.1:googleapis_google_cloud_go_compute/vendor/cloud.google.com/go \
		grpc:grpc-go:v1.57.0:grpc_grpc_go/vendor/google.golang.org/grpc \
		jhump:protoreflect:v1.15.3:jhump_protoreflect/vendor/github.com/jhump/protoreflect \
		protocolbuffers:protobuf-go:v1.31.0:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf

GO_BUILDFLAGS=	-ldflags "-X main.version=${DISTVERSIONPREFIX}${PORTVERSION} -s -w"
GO_TARGET=	./cmd/${PORTNAME}

PLIST_FILES=	bin/grpcurl

.include <bsd.port.mk>