29 lines
845 B
Makefile
29 lines
845 B
Makefile
# $NetBSD: Makefile,v 1.16 2018/11/04 18:37:55 bsiegert Exp $
|
|
|
|
DISTNAME= google-api-go-client
|
|
PKGNAME= google-api-go-client-20160909
|
|
PKGREVISION= 7
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=google/}
|
|
GITHUB_PROJECT= ${DISTNAME}
|
|
GITHUB_TAG= a69f0f19d2
|
|
|
|
MAINTAINER= bsiegert@NetBSD.org
|
|
HOMEPAGE= http://google.golang.org/api/
|
|
COMMENT= Go client library for various Google APIs
|
|
LICENSE= modified-bsd
|
|
|
|
GO_SRCPATH= google.golang.org/api
|
|
GO_DIST_BASE= ${DISTNAME}-${GITHUB_TAG}*
|
|
|
|
CHECK_RELRO_SKIP+= bin/go-api-demo
|
|
CHECK_RELRO_SKIP+= bin/google-api-go-generator
|
|
|
|
pre-patch:
|
|
cd ${WRKSRC} && mv examples go-api-demo
|
|
|
|
.include "../../misc/go-genproto/buildlink3.mk"
|
|
.include "../../net/go-grpc/buildlink3.mk"
|
|
.include "../../security/go-oauth2/buildlink3.mk"
|
|
.include "../../lang/go/go-package.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|