dstask: update to 0.27

This commit is contained in:
Herby Gillot
2025-03-22 18:42:36 -04:00
parent cbfba38463
commit 8bfaa3fccc
+17 -9
View File
@@ -3,7 +3,8 @@
PortSystem 1.0
PortGroup golang 1.0
go.setup github.com/naggie/dstask 0.26 v
go.setup github.com/naggie/dstask 0.27
go.offline_build no
revision 0
description \
@@ -21,9 +22,9 @@ license MIT
maintainers {gmail.com:herby.gillot @herbygillot} \
openmaintainer
checksums rmd160 d87a9abdf573827e8b2c060569424bd62e8021e2 \
sha256 ccd7afcb825eb799bdaaaf6eaf8150bbb8ceda02fec6c97f042b7bbc913a46fc \
size 3297022
checksums rmd160 e73e77c569407ed316fd9d910cd9a572dcf7a977 \
sha256 85da92eb50c3611e1054f5153dc0cf90fe1b8b12219c77d1aa86a61384c450a0 \
size 1709082
use_parallel_build no
@@ -38,13 +39,20 @@ patch {
${worksrcpath}/Makefile
}
# Enable Go modules. GOPROXY=off is still present to disable fetching
# dependencies at build time, but we must re-enable Go modules in order
# to enable building vendored dependencies (-mod=vendor).
build.env-delete GO111MODULE=off
destroot {
foreach dstask_bin [glob ${worksrcpath}/dist/*] {
xinstall -m 0755 ${dstask_bin} ${destroot}${prefix}/bin/
}
xinstall -d ${destroot}${prefix}/share/bash-completion/completions
xinstall ${worksrcpath}/completions/bash.sh \
${destroot}${prefix}/share/bash-completion/completions/${name}
xinstall -d ${destroot}${prefix}/share/fish/vendor_completions.d
xinstall ${worksrcpath}/completions/completions.fish \
${destroot}${prefix}/share/fish/vendor_completions.d/${name}.fish
xinstall -d ${destroot}${prefix}/share/zsh/site-functions
xinstall ${worksrcpath}/completions/zsh.sh \
${destroot}${prefix}/share/zsh/site-functions/_${name}
}