diff --git a/sysutils/cmctl/Portfile b/sysutils/cmctl/Portfile new file mode 100644 index 00000000000..5151255ad8d --- /dev/null +++ b/sysutils/cmctl/Portfile @@ -0,0 +1,35 @@ +# -*- 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/cert-manager/cmctl 2.4.0 v +revision 0 + +homepage https://cert-manager.io + +description CLI for cert-manager, which automatically provisions and \ + manages TLS certificates in Kubernetes + +long_description {*}${description} + +categories sysutils +installs_libs no +license Apache-2 +maintainers {gmail.com:herby.gillot @herbygillot} \ + openmaintainer + +checksums rmd160 9ed30002f6d8259d4950efd29e506c8ef9ad6195 \ + sha256 3de4456c6f36a143992661f7357a2bd111b224a72ce7b61d83bfdb3679f36a96 \ + size 381192 + +go.offline_build no + +build.pre_args-append \ + -ldflags \ + \"-X github.com/cert-manager/cert-manager/pkg/util.AppVersion=v${version} \ + -X github.com/cert-manager/cert-manager/pkg/util.AppGitCommit=669a79b9a77cf988e0655a0cd96cabe9a02601fc\" + +destroot { + xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/ +}