Skip to content

Commit 150e9c9

Browse files
trustbyteherbygillot
authored andcommitted
ksctl: update to 2.8.0
1 parent 3bec0c5 commit 150e9c9

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

sysutils/ksctl/Portfile

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
PortSystem 1.0
44
PortGroup golang 1.0
55

6-
go.setup github.com/ksctl/cli 1.3.1 v
6+
go.setup github.com/ksctl/cli 2.8.0 v
77
go.offline_build no
88
name ksctl
99
revision 0
@@ -26,13 +26,18 @@ installs_libs no
2626
license Apache-2
2727
maintainers {gmail.com:herby.gillot @herbygillot} \
2828
openmaintainer
29+
30+
checksums rmd160 47a433e6b20eccb97d6536e41644658d4e5c324e \
31+
sha256 d1939077c4932b90745b8cea98c5c4885e661957e805884f1a8910bf708acdde \
32+
size 93125
2933

30-
checksums rmd160 42d2035925871cb7a461d44d3da2a24d50e5b57a \
31-
sha256 1b62fab92fb8051580ebe47d2038d8bf7ace7355ea3f7f02571b5433eb4fc58d \
32-
size 75660
34+
build.pre_args-append \
35+
-ldflags \"-X github.com/ksctl/cli/v2/pkg/config.Version=${version} \
36+
-X github.com/ksctl/cli/v2/pkg/telemetry.clientIdentity="macports" \
37+
-X github.com/ksctl/cli/v2/pkg/config.KsctlCoreVer="v2.7.6" \
38+
-X github.com/ksctl/cli/v2/pkg/config.BuildDate="2025-10-29"\"
3339

34-
build.args-append -o ${name} ./cli
3540

3641
destroot {
37-
xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
42+
xinstall -m 0755 ${worksrcpath}/cli ${destroot}${prefix}/bin/${name}
3843
}

0 commit comments

Comments
 (0)