# -*- 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/iximiuz/cdebug 0.0.18 v
go.offline_build    no
revision            0

description         A swiss army knife of container debugging

long_description    \
    {*}${description}. With this tool you can troubleshoot containers lacking \
    shell and/or debugging tools, forward unpublished or even localhost ports \
    to your host system, expose endpoints from the host system to containers \
    & Kubernetes networks, handily export image's and/or container's \
    filesystem to local folders, and more.

categories          sysutils
installs_libs       no
license             Apache-2
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

checksums           rmd160  e0c1e258d55678d6e211ebbe3dd873a3a85e6354 \
                    sha256  c28d6c079177aa8de850e2edcbd284ac08cd3f9d77aac851928e1cc85a77fbcb \
                    size    321726

build.args-append   \
    -ldflags=\" -X \'main.version=${github.tag_prefix}${version}\' \"

destroot {
    xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
}
