# -*- 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/go-delve/delve 1.24.1 v revision 0 description \ Delve is a debugger for the Go programming language. long_description \ {*}${description} The goal of the project is to provide a simple, full \ featured debugging tool for Go. Delve should be easy to invoke and easy \ to use. Chances are if you\'re using a debugger, things aren\'t going \ your way. With that in mind, Delve should stay out of your way as much as \ possible. categories devel installs_libs no license MIT maintainers {gmail.com:herby.gillot @herbygillot} \ openmaintainer checksums rmd160 c0739e71dc37e695b50b8d098004bcfb8225f5c0 \ sha256 1bc657e7e429c4917b6cae562356bf6da6cebcd4fde35f236e8174743d9e1eb8 \ size 9680270 # The build process requires Go modules. So remove the environment setting # GO111MODULE=off: build.env-delete GO111MODULE=off build.cmd ${go.bin} run build.args _scripts/make.go build --no-git set delve_doc_dir ${prefix}/share/doc/${name} notes "delve is installed as dlv" destroot { xinstall -m 0755 ${worksrcpath}/dlv ${destroot}${prefix}/bin/ xinstall -d ${destroot}${delve_doc_dir} copy {*}[glob ${worksrcpath}/Documentation/*] ${destroot}${delve_doc_dir}/ }