25 lines
681 B
Makefile
25 lines
681 B
Makefile
# $NetBSD: Makefile,v 1.56 2022/07/13 16:03:09 bsiegert Exp $
|
|
|
|
DISTNAME= go-protobuf-1.3.3
|
|
PKGREVISION= 28
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=golang/}
|
|
GITHUB_PROJECT= protobuf
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
|
|
|
HOMEPAGE= http://godoc.org/${GO_SRCPATH}
|
|
COMMENT= Go support for Google protocol buffers
|
|
LICENSE= modified-bsd
|
|
|
|
GO_DIST_BASE= ${GITHUB_PROJECT}-${PKGVERSION_NOREV}
|
|
GO_SRCPATH= github.com/golang/protobuf
|
|
|
|
.for godir in descriptor jsonpb proto protoc-gen-go ptypes
|
|
GO_BUILD_PATTERN+= ${GO_SRCPATH}/${godir}/...
|
|
.endfor
|
|
|
|
USE_TOOLS+= bash:run
|
|
REPLACE_BASH+= regenerate.sh
|
|
|
|
.include "../../lang/go/go-package.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|