aboutsummaryrefslogtreecommitdiff
path: root/devel/go-tools/Makefile
blob: 08807f2bac22fb31e7d6809892ff5a0246923fb5 (plain) (blame)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
PORTNAME=	tools
DISTVERSIONPREFIX=	v
DISTVERSION=	0.16.0
PORTREVISION=	1
PORTEPOCH=	1
CATEGORIES=	devel
PKGNAMEPREFIX=	go-

MAINTAINER=	fuz@FreeBSD.org
COMMENT=	Go Tools
WWW=		https://godoc.org/golang.org/x/tools

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		go:modules
GO_MODULE=	golang.org/x/tools
GO_TARGET=	./cmd/auth/cookieauth \
		./cmd/auth/gitauth \
		./cmd/auth/netrcauth \
		./cmd/bisect \
		./cmd/bundle \
		./cmd/callgraph \
		./cmd/compilebench \
		./cmd/digraph \
		./cmd/eg \
		./cmd/file2fuzz \
		./cmd/fiximports \
		./cmd/go-contrib-init \
		./cmd/godex \
		./cmd/godoc \
		./cmd/goimports \
		./cmd/gomvpkg \
		./cmd/gonew \
		./cmd/gorename \
		./cmd/gotype \
		./cmd/goyacc \
		./cmd/guru \
		./cmd/html2article \
		./cmd/present \
		./cmd/present2md \
		./cmd/signature-fuzzer/fuzz-driver \
		./cmd/signature-fuzzer/fuzz-runner \
		./cmd/ssadump \
		./cmd/stress \
		./cmd/stringer \
		./cmd/toolstash \
		./internal/cmd/deadcode

CONFLICTS_INSTALL=	easygit rubygem-bundler

PLIST_FILES=	${GO_TARGET:T:S,^,bin/,}

OPTIONS_DEFINE=	RARE
RARE_DESC=	install rarely used tools
RARE_VARS=	GO_TARGET+=" \
		./cmd/auth/authtest \
		./cmd/benchcmp \
		./cmd/getgo \
		./cmd/getgo/server \
		./cmd/splitdwarf"

.include <bsd.port.mk>