# -*- 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 go.setup github.com/golang/tools 0.21.0 v github.tarball_from archive epoch 7 revision 0 name go-tools categories devel license BSD maintainers {ciserlohn @ci42} {@enckse voidedtech.com:enckse} \ {gmail.com:herby.gillot @herbygillot} \ openmaintainer description Various packages and tools that support the Go programming language. long_description ${description} checksums rmd160 34ef94a3094553158082a17404ed96f753742b3f \ sha256 9dfd56edbc1cfd3883a716152b9189ab0403b57543a3b6d0346eaa92bb24f43a \ size 3803531 # FIXME: This port currently can't be built without allowing go mod to fetch # dependencies during the build phase. See # https://trac.macports.org/ticket/61192 go.offline_build no build.args -o bin/ ./cmd/... ./cmd/auth/... destroot { set dp_bin ${destroot}${prefix}/bin xinstall -m 0755 {*}[glob ${worksrcpath}/bin/*] ${dp_bin} # Rename bundle binary to avoid conflict with Ruby # See: https://trac.macports.org/ticket/57787 move ${dp_bin}/bundle ${dp_bin}/gotools-bundle } notes " The go-tools bundle binary is available as gotools-bundle "