pkgsrc/devel/google-api-go-client/buildlink3.mk
bsiegert 1726914d23 Real buildlink support for Go, hacked with wiz@.
Go packages now define a set of files to buildlink in their buildlink3.mk.
go-packages.mk no longer looks in ${PREFIX}/gopkg during the build. This
should also fix the spurious issues with rebuilds of .a files during bulk
builds of Go packages.
2015-12-29 21:47:48 +00:00

16 lines
594 B
Makefile

# $NetBSD: buildlink3.mk,v 1.2 2015/12/29 21:47:48 bsiegert Exp $
BUILDLINK_TREE+= google-api-go-client
.if !defined(GOOGLE_API_GO_CLIENT_BUILDLINK3_MK)
GOOGLE_API_GO_CLIENT_BUILDLINK3_MK:=
BUILDLINK_CONTENTS_FILTER.google-api-go-client= ${EGREP} gopkg/
BUILDLINK_DEPMETHOD.google-api-go-client?= build
BUILDLINK_API_DEPENDS.google-api-go-client+= google-api-go-client>=20150507
BUILDLINK_PKGSRCDIR.google-api-go-client?= ../../devel/google-api-go-client
.include "../../security/go-oauth2/buildlink3.mk"
.endif # GOOGLE_API_GO_CLIENT_BUILDLINK3_MK
BUILDLINK_TREE+= -google-api-go-client