blob: d934930eb5a843847824b013818cc5d696fd7109 (
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
42
43
44
45
46
|
# $NetBSD: Makefile,v 1.36 2021/01/23 14:23:07 bsiegert Exp $
DISTNAME= go-grpc-1.15.0
PKGREVISION= 25
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
CHECK_PORTABILITY_SKIP+= vet.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
pre-patch:
find ${WRKSRC} -type d -name server | xargs ${RM} -rf
find ${WRKSRC} -type d -name client | xargs ${RM} -rf
.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"
|