# -*- 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/alexellis/k3sup 0.13.12
go.offline_build    no
revision            0

homepage            https://k3sup.dev

description         bootstrap Kubernetes with k3s over SSH \< 1 min

long_description    \
    ${name} is a light-weight utility to get from zero to KUBECONFIG with k3s \
    on any local or remote VM. All you need is ssh access and the k3sup \
    binary to get kubectl access immediately.

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

checksums           rmd160  3eadc30140ddb4d488c0ac889b0b5f0bf40c084d \
                    sha256  35ce7ea737255a61329f60d1d078a11d7f50707580b1615acdc30b6f0a4c48bb \
                    size    3312600

patchfiles          patch-Makefile.diff

build.cmd           make
build.pre_args-append \
                    GitCommit="" \
                    Version=${version}
build.args          dist

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