Commits
Christoph Iserlohn authored fbad4e2709b
1 1 | # -*- 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 |
2 2 | |
3 3 | PortSystem 1.0 |
4 4 | PortGroup github 1.0 |
5 5 | |
6 - | github.setup golang tools 25101aadb97aa42907eee6a238d6d26a6cb3c756 |
7 - | epoch 4 |
6 + | github.setup golang tools d1a3278ee74994e9aa609e9e711c616bba677d5d |
7 + | epoch 5 |
8 8 | name go-tools |
9 9 | categories devel |
10 10 | platforms darwin freebsd linux |
11 11 | license BSD |
12 12 | maintainers {ciserlohn @ci42} |
13 13 | description Various packages and tools that support the Go programming language. |
14 14 | long_description $description |
15 15 | |
16 - | checksums rmd160 b2203b0bed438f009cfee25f303ed550ecfd2ac5 \ |
17 - | sha256 db2d204f1a117436e5bbc47186978f1c342d25ddc1eebb4c7ef395e0e5bf4417 |
16 + | checksums rmd160 88f1cb58db2d89ea3b4a4df3d14b58bda612c68c \ |
17 + | sha256 9405518b3f8935f923a8d17451fa0509d365442774ba1ab5c261888b85f0f9f5 \ |
18 + | size 2109599 |
18 19 | |
19 20 | depends_build port:go |
20 21 | |
21 22 | universal_variant no |
22 23 | |
23 24 | use_configure no |
24 25 | |
25 26 | set gopath ${workpath}/go-tools |
26 27 | |
27 28 | set package_dir golang.org/x/tools |
28 29 | |
29 30 | post-extract { |
30 31 | set package_src_dir ${gopath}/src/${package_dir} |
31 32 | file mkdir ${package_src_dir} |
32 33 | foreach f [glob -directory ${worksrcpath} *] { |
33 34 | move ${f}/ ${package_src_dir} |
34 35 | } |
35 36 | |
36 37 | } |
37 38 | |
38 39 | set cmds { benchcmp bundle callgraph cover digraph eg fiximports godex godoc |
39 - | goimports gomvpkg gorename gotype goyacc guru heapview html2article |
40 - | present ssadump stress stringer tip toolstash } |
40 + | goimports gomvpkg gorename gotype goyacc guru html2article |
41 + | present ssadump stress stringer toolstash } |
41 42 | |
42 43 | build { |
43 44 | system -W ${workpath} "GOPATH=${gopath} go get -d golang.org/x/net/websocket" |
44 45 | system -W ${workpath} "GOPATH=${gopath} go get -d golang.org/x/crypto/acme/autocert" |
45 46 | foreach cmd $cmds { |
46 47 | system -W ${workpath} "GOPATH=${gopath} go build ${package_dir}/cmd/${cmd}" |
47 48 | } |
48 49 | } |
49 50 | |
50 51 | |