summaryrefslogtreecommitdiff
path: root/devel/bazel-buildtools/Makefile
blob: 6f6c344bdc1772ee513d943c3e86232525aac3f6 (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
PORTNAME=	bazel-buildtools
DISTVERSION=	3.2.1
CATEGORIES=	devel

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Bazel BUILD file formatter and editor

LICENSE=	APACHE20

USES=		go
USE_GITHUB=	yes
GH_ACCOUNT=	bazelbuild
GH_PROJECT=	buildtools
GH_TUPLE=	\
		golang:protobuf:v1.3.1:protobuf/vendor/github.com/golang/protobuf \
		google:skylark:a5f7082:skylark/vendor/github.com/google/skylark \
		google:starlark-go:aaf7be0:starlark_go/vendor/go.starlark.net

GO_PKGNAME=	github.com/${GH_ACCOUNT}/${GH_PROJECT}
GO_TARGET=	./buildifier \
		./buildifier2 \
		./buildozer \
		./unused_deps

PLIST_FILES=	${GO_TARGET:S/^./bin/}

.include <bsd.port.mk>