Files
macports-ports/sysutils/ksctl/Portfile
T
2026-02-06 15:18:05 -05:00

44 lines
1.7 KiB
Tcl

# -*- 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/kli 2.9.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 8766ff06b51b950a2483c90cfb187e2e6cc9d973 \
sha256 62f3619efdce6e71cc16eb2f6189c0d27b73f8287314b3b146775585a3a660db \
size 90744
# echo KsctlCoreVer=$(curl -s https://api.github.com/repos/ksctl/ksctl/releases/latest | jq -r .name)
build.pre_args-append \
-ldflags \"-X github.com/ksctl/kli/v2/pkg/config.Version=${version} \
-X github.com/ksctl/kli/v2/pkg/telemetry.clientIdentity="macports" \
-X github.com/ksctl/kli/v2/pkg/config.KsctlCoreVer="v2.7.6" \
-X github.com/ksctl/kli/v2/pkg/config.BuildDate="2026-02-02"\"
destroot {
xinstall -m 0755 ${worksrcpath}/kli ${destroot}${prefix}/bin/${name}
}