# -*- 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.13
go.toolchain_min    1.26.0
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  a1ced18b144b3237d5765ab146170fb80796cacb \
                    sha256  6d0f208d2ec541f88693048e3bab99ae155924c3a6c1f1ac1c338411923cc8e1 \
                    size    3300268

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/
}
