2019-01-24 11:00:33 +01:00
|
|
|
# $NetBSD: Makefile,v 1.14 2019/01/24 10:00:34 bsiegert Exp $
|
2016-09-11 10:02:29 +02:00
|
|
|
|
2018-09-11 20:27:08 +02:00
|
|
|
DISTNAME= go-protobuf-1.2.0
|
2019-01-24 11:00:33 +01:00
|
|
|
PKGREVISION= 3
|
2016-09-11 10:02:29 +02:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=golang/}
|
|
|
|
GITHUB_PROJECT= protobuf
|
2018-09-11 20:27:08 +02:00
|
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
2016-09-11 10:02:29 +02:00
|
|
|
|
|
|
|
HOMEPAGE= http://godoc.org/${GO_SRCPATH}
|
|
|
|
COMMENT= Go support for Google protocol buffers
|
|
|
|
LICENSE= modified-bsd
|
|
|
|
|
2018-09-11 20:27:08 +02:00
|
|
|
GO_DIST_BASE= ${GITHUB_PROJECT}-${PKGVERSION_NOREV}
|
2016-09-11 10:02:29 +02:00
|
|
|
GO_SRCPATH= github.com/golang/protobuf
|
|
|
|
|
2018-09-11 20:27:08 +02:00
|
|
|
.for godir in descriptor jsonpb proto protoc-gen-go ptypes
|
|
|
|
GO_BUILD_PATTERN+= ${GO_SRCPATH}/${godir}/...
|
|
|
|
.endfor
|
2016-09-14 23:08:58 +02:00
|
|
|
|
2018-09-11 20:27:08 +02:00
|
|
|
REPLACE_SH+= conformance/conformance.sh conformance/test.sh \
|
|
|
|
regenerate.sh
|
2017-07-22 21:32:40 +02:00
|
|
|
|
2018-09-11 20:27:08 +02:00
|
|
|
CHECK_RELRO_SKIP+= bin/protoc-gen-go
|
2018-03-11 20:45:21 +01:00
|
|
|
|
2016-09-11 10:02:29 +02:00
|
|
|
.include "../../lang/go/go-package.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|