mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
34 lines
1008 B
Tcl
34 lines
1008 B
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/homeport/havener 2.2.7 v
|
|
revision 0
|
|
|
|
description A swiss army knife for Kubernetes tasks
|
|
|
|
long_description {*}${description}
|
|
|
|
categories sysutils
|
|
installs_libs no
|
|
license MIT
|
|
maintainers {gmail.com:herby.gillot @herbygillot} \
|
|
openmaintainer
|
|
|
|
checksums rmd160 843fc584ede12e3d2849ad8bf172f04fb2d8f04a \
|
|
sha256 f923cd42bb4ded5535aa089037bc285110b2bc335ae108553e50ac8bddeafff0 \
|
|
size 10655668
|
|
|
|
build.pre_args-append \
|
|
-ldflags \" \
|
|
-s -w \
|
|
-X ${go.package}/internal/cmd.version=${github.tag_prefix}${version} \
|
|
\"
|
|
|
|
build.args ./cmd/${name}
|
|
|
|
destroot {
|
|
xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
|
|
}
|