summaryrefslogtreecommitdiff
path: root/devel/go-tools/Makefile
blob: fa64d360f9d3f4a7d155f72ae29887b3333e5676 (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
# Created by: Carlo Strub <cs@FreeBSD.org>

PORTNAME=	tools
DISTVERSIONPREFIX=	v
DISTVERSION=	0.1.8
PORTEPOCH=	1
CATEGORIES=	devel
PKGNAMEPREFIX=	go-

MAINTAINER=	fuz@fuz.su
COMMENT=	Go Tools

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		go:modules

GO_MODULE=	golang.org/x/tools
GO_TARGET=	./cmd/auth/authtest \
		./cmd/auth/cookieauth \
		./cmd/auth/gitauth \
		./cmd/auth/netrcauth \
		./cmd/benchcmp \
		./cmd/bundle \
		./cmd/callgraph \
		./cmd/compilebench \
		./cmd/cover \
		./cmd/digraph \
		./cmd/eg \
		./cmd/file2fuzz \
		./cmd/fiximports \
		./cmd/getgo \
		./cmd/go-contrib-init \
		./cmd/godex \
		./cmd/godoc \
		./cmd/goimports \
		./cmd/gomvpkg \
		./cmd/gorename \
		./cmd/gotype \
		./cmd/goyacc \
		./cmd/guru \
		./cmd/html2article \
		./cmd/present \
		./cmd/present2md \
		./cmd/splitdwarf \
		./cmd/ssadump \
		./cmd/stress \
		./cmd/stringer \
		./cmd/toolstash

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

.include <bsd.port.mk>