blob: a6e180b8e853862a059be8febc880c26aac5bf23 (
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
|
# $NetBSD: Makefile,v 1.1 2015/05/11 13:02:21 bsiegert Exp $
#
DISTNAME= gcloud-golang
PKGNAME= gcloud-golang-metadata-20150310
GITHUB_PROJECT= ${DISTNAME}
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GITHUB:=GoogleCloudPlatform/}
GITHUB_TAG= 9e1852f597
MAINTAINER= bsiegert@NetBSD.org
HOMEPAGE= http://golang.org/
COMMENT= Google Compute Engine metadata package
LICENSE= modified-bsd
GO_SRCPATH= google.golang.org/cloud
GO_BUILD_PATTERN= ${GO_SRCPATH}/compute/metadata
GO_DIST_BASE= ${DISTNAME}-${GITHUB_TAG}*
# Remove all code except compute/metadata and internal
pre-patch:
${RM} -fr ${WRKSRC}/[^ci]* ${WRKSRC}/cloud*go
${RM} -fr ${WRKSRC}/internal/datastore
${RM} -fr ${WRKSRC}/internal/testutil
.include "../../net/go-net/buildlink3.mk"
.include "../../lang/go/go-package.mk"
.include "../../mk/bsd.pkg.mk"
|