# -*- 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/armosec/kubescape 2.0.178 v github.tarball_from archive revision 0 description Tool for testing if Kubernetes is deployed securely as \ defined in Kubernetes Hardening Guidance by NSA and CISA long_description {*}${description} categories sysutils security installs_libs no license Apache-2 maintainers {gmail.com:herby.gillot @herbygillot} \ openmaintainer checksums rmd160 c64707196896f61b0d521a304f4e85850a0605e5 \ sha256 b0353cc3fb2f56a9370e9cdd13ddbf0a32bec8f0613652a0037e82556e37229c \ size 54776060 # Allow Go to fetch dependencies at build time go.offline_build no build.env-append RELEASE=${version} set py_ver 310 set py_branch [string index ${py_ver} 0].[string range ${py_ver} 1 end] depends_build-append \ port:python${py_ver} build.cmd ${prefix}/bin/python${py_branch} build.target ./build.py destroot { xinstall -m 0755 \ [glob ${worksrcpath}/build/*/kubescape] \ ${destroot}${prefix}/bin/ }