pkgsrc/devel/go-tools/Makefile
bsiegert 3edc958af4 Add a package for go-tools. It contains notably the "vet" and "cover" tools
as well as the godoc binary. It is recommended for installation for anyone
developing in Go.
2015-05-11 14:45:31 +00:00

28 lines
729 B
Makefile

# $NetBSD: Makefile,v 1.1 2015/05/11 14:45:32 bsiegert Exp $
#
DISTNAME= tools
PKGNAME= go-tools-20150504
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=golang/}
GITHUB_PROJECT= ${DISTNAME}
GITHUB_TAG= d00f0cb57d
MAINTAINER= bsiegert@NetBSD.org
HOMEPAGE= http://golang.org/
COMMENT= Tools for use with Go, including godoc
LICENSE= modified-bsd
GO_SRCPATH= golang.org/x/tools
GO_DIST_BASE= ${DISTNAME}-${GITHUB_TAG}*
.include "../../lang/go/go-package.mk"
INSTALLATION_DIRS+= ${GOTOOLDIR}
post-install:
mv ${DESTDIR}${PREFIX}/bin/cover ${DESTDIR}${GOTOOLDIR}
mv ${DESTDIR}${PREFIX}/bin/vet ${DESTDIR}${GOTOOLDIR}
.include "../../devel/google-api-go-client/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"