# -*- 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/pulumi/kubespy 0.6.3 v
# Delete this on next update to use golang PortGroup's default ('archive')
github.tarball_from tarball
revision            0

description         Tools for observing Kubernetes resources in real time

long_description    What happens when you boot up a Pod? What happens to a \
                    Service before it is allocated a public IP address? How \
                    often is a Deployment's status changing? ${name} is a \
                    small tool that makes it easy to observe how Kubernetes \
                    resources change in real time.

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

checksums           rmd160  75b5fd2b349652ab8dc534316bbf08e0b2a013c1 \
                    sha256  1975bf0a0aeb03e69c42ac626c16cd404610226cc5f50fab96d611d9eb6a6d29 \
                    size    3795397

# Allow Go to fetch deps at build time
go.offline_build no

build.pre_args-append \
                    -ldflags \"-X ${go.package}/version.Version=${version}\"

github.tarball_from archive

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