# -*- 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 PortSystem 1.0 PortGroup golang 1.0 name gopls categories devel license BSD maintainers {ra1nb0w @ra1nb0w} \ {gmail.com:herby.gillot @herbygillot} \ openmaintainer description gopls is the official language server for the Go language long_description {*}${description} go.setup golang.org/x/tools 0.15.3 gopls/v github.tarball_from archive revision 0 checksums rmd160 bd57b81e31b2690916ebf36d9cc4275023ad63a1 \ sha256 7fb0a43ff5e562089ca0ec3e8e7819dd205977758c02ea9bded05f56d5080a54 \ size 3716753 build.dir ${worksrcpath}/${name} test.run yes test.cmd ${worksrcpath}/${name}/gopls version github.livecheck.regex {([0-9.]+)} # Allow Go to fetch dependencies during build time go.offline_build no destroot { xinstall -m 0755 ${worksrcpath}/${name}/${name} \ ${destroot}${prefix}/bin/${name} set dest_doc ${destroot}${prefix}/share/doc/${name} xinstall -d -m 0755 ${dest_doc} xinstall -m 0644 {*}[glob ${worksrcpath}/${name}/doc/*.md] ${dest_doc} copy ${worksrcpath}/${name}/doc/design ${dest_doc} }