summaryrefslogtreecommitdiff
path: root/net/go-grpc/Makefile
blob: 669e2646ad3f2c5a1822bd92a8fed58954f96a39 (plain)
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
# $NetBSD: Makefile,v 1.25 2020/03/21 16:57:06 bsiegert Exp $

DISTNAME=		go-grpc-1.15.0
PKGREVISION=		15
CATEGORIES=		net
MASTER_SITES=		${MASTER_SITE_GITHUB:=grpc/}
GITHUB_PROJECT=		grpc-go
GITHUB_TAG=		v${PKGVERSION_NOREV}

HOMEPAGE=		http://${GO_SRCPATH}
COMMENT=		Go language implementation of gRPC, HTTP/2 based RPC
LICENSE=		modified-bsd

GO_SRCPATH=		google.golang.org/grpc
GO_DIST_BASE=		${GITHUB_PROJECT}-${GITHUB_TAG:S/v//}

GO_BUILD_PATTERN=	${GO_SRCPATH}
.for godir in channelz codes connectivity credentials encoding \
	go_vet grpclog health internal interop keepalive metadata \
	naming peer reflection resolver stats status stress tap
GO_BUILD_PATTERN+=	${GO_SRCPATH}/${godir}/...
.endfor

CHECK_PORTABILITY_SKIP+=	benchmark/run_bench.sh

REPLACE_SH+=	balancer/grpclb/regenerate.sh
REPLACE_SH+=	benchmark/run_bench.sh
REPLACE_SH+=	channelz/service/regenerate.sh
REPLACE_SH+=	codegen.sh
REPLACE_SH+=	credentials/alts/internal/regenerate.sh
REPLACE_SH+=	health/regenerate.sh
REPLACE_SH+=	install_gae.sh
REPLACE_SH+=	vet.sh

.include "../../devel/go-glog/buildlink3.mk"
.include "../../devel/go-protobuf/buildlink3.mk"
.include "../../misc/go-genproto-googleapis-rpc/buildlink3.mk"
.include "../../net/go-net/buildlink3.mk"
.include "../../security/go-oauth2/buildlink3.mk"
.include "../../lang/go/go-package.mk"
.include "../../mk/bsd.pkg.mk"