2018-04-23 08:06:59 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= grpcurl
|
|
|
|
DISTVERSIONPREFIX= v
|
2019-12-16 03:55:55 +01:00
|
|
|
DISTVERSION= 1.4.0
|
2018-04-23 08:06:59 +02:00
|
|
|
CATEGORIES= net
|
|
|
|
|
2020-05-04 20:17:38 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2018-04-23 08:06:59 +02:00
|
|
|
COMMENT= Command-line tool that lets you interact with gRPC servers
|
|
|
|
|
|
|
|
LICENSE= MIT
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
2019-12-16 03:55:55 +01:00
|
|
|
USES= go:modules
|
2018-04-23 08:06:59 +02:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= fullstorydev
|
|
|
|
GH_SUBDIR= src/github.com/fullstorydev/grpcurl
|
2019-12-16 03:55:55 +01:00
|
|
|
GH_TUPLE= \
|
|
|
|
golang:net:d8887717615a:golang_net/vendor/golang.org/x/net \
|
|
|
|
golang:protobuf:v1.3.1:golang_protobuf/vendor/github.com/golang/protobuf \
|
|
|
|
golang:sys:d0b11bdaac8a:golang_sys/vendor/golang.org/x/sys \
|
|
|
|
golang:text:v0.3.0:golang_text/vendor/golang.org/x/text \
|
|
|
|
google:go-genproto:c66870c02cf8:google_go_genproto/vendor/google.golang.org/genproto \
|
|
|
|
grpc:grpc-go:v1.21.0:grpc_grpc_go/vendor/google.golang.org/grpc \
|
|
|
|
jhump:protoreflect:v1.5.0:jhump_protoreflect/vendor/github.com/jhump/protoreflect
|
2018-04-23 08:06:59 +02:00
|
|
|
|
2019-09-30 00:31:57 +02:00
|
|
|
GO_BUILDFLAGS= -ldflags "-X main.version=${DISTVERSIONPREFIX}${PORTVERSION} -s -w"
|
|
|
|
GO_TARGET= ./cmd/${PORTNAME}
|
2018-04-23 08:06:59 +02:00
|
|
|
|
2019-09-30 00:31:57 +02:00
|
|
|
PLIST_FILES= bin/grpcurl
|
2018-04-23 08:06:59 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|