# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
github.setup golang tools d1a3278ee74994e9aa609e9e711c616bba677d5d
platforms darwin freebsd linux
maintainers {ciserlohn @ci42}
description Various packages and tools that support the Go programming language.
long_description $description
checksums rmd160 88f1cb58db2d89ea3b4a4df3d14b58bda612c68c \
sha256 9405518b3f8935f923a8d17451fa0509d365442774ba1ab5c261888b85f0f9f5 \
set gopath ${workpath}/go-tools
set package_dir golang.org/x/tools
set package_src_dir ${gopath}/src/${package_dir}
file mkdir ${package_src_dir}
foreach f [glob -directory ${worksrcpath} *] {
move ${f}/ ${package_src_dir}
set cmds { benchcmp bundle callgraph cover digraph eg fiximports godex godoc
goimports gomvpkg gorename gotype goyacc guru html2article
present ssadump stress stringer toolstash }
system -W ${workpath} "GOPATH=${gopath} go get -d golang.org/x/net/websocket"
system -W ${workpath} "GOPATH=${gopath} go get -d golang.org/x/crypto/acme/autocert"
system -W ${workpath} "GOPATH=${gopath} go build ${package_dir}/cmd/${cmd}"
xinstall -W ${workpath} ${cmd} ${destroot}${prefix}/bin/