# -*- 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/ksctl/cli 2.8.0 v
go.offline_build    no
name                ksctl
revision            0

homepage            https://ksctl.com/

description         \
    Simplified Kubernetes Clusters Lifecycle Management \(Core\)

long_description    \
    {*}${description}. It aims to simplify a collection of kubernetes \
    clusters running on different cloud providers. It provides a simple and \
    intuitive interface for managing Kubernetes clusters. It is designed to \
    be efficient and can perform tasks quickly and without the need for \
    additional tools. It is a powerful tool that can be used to perform a \
    wide range of tasks.

categories          sysutils
installs_libs       no
license             Apache-2
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer
  
checksums           rmd160  47a433e6b20eccb97d6536e41644658d4e5c324e \
                    sha256  d1939077c4932b90745b8cea98c5c4885e661957e805884f1a8910bf708acdde \
                    size    93125

build.pre_args-append \
    -ldflags \"-X github.com/ksctl/cli/v2/pkg/config.Version=${version} \
    -X github.com/ksctl/cli/v2/pkg/telemetry.clientIdentity="macports" \
    -X github.com/ksctl/cli/v2/pkg/config.KsctlCoreVer="v2.7.6" \
    -X github.com/ksctl/cli/v2/pkg/config.BuildDate="2025-10-29"\"


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