# -*- 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.11
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  8e18d00c1156676f4525e707d6373afc15b6f143 \
                    sha256  a971dd0c7f2ceda06b9c31d9d2eaef53782edfb60f090eeffae5478c286ad9d1 \
                    size    3298293

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