From 09b8be7c4aaf618cb3d1c6f1e981880084f34cb6 Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Thu, 26 Dec 2024 15:46:20 +0400 Subject: [PATCH] jenkins-cli: update to 0.0.45 --- devel/jenkins-cli/Portfile | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/devel/jenkins-cli/Portfile b/devel/jenkins-cli/Portfile index 70d984e0a9be5..7a038fc9cf12e 100644 --- a/devel/jenkins-cli/Portfile +++ b/devel/jenkins-cli/Portfile @@ -3,7 +3,7 @@ PortSystem 1.0 PortGroup golang 1.0 -go.setup github.com/jenkins-zh/jenkins-cli 0.0.44 v +go.setup github.com/jenkins-zh/jenkins-cli 0.0.45 v set git_commit 4a589b1 categories devel license MIT @@ -20,9 +20,9 @@ set short jcli homepage https://${short}.jenkins-zh.cn checksums ${distname}${extract.suffix} \ - rmd160 0a2153716e9d31d4824027a668860b21f650284f \ - sha256 1a28cbf9824dccb7775eb3010a577122b1481550487af4c6fbe0022fac07ba76 \ - size 221672 + rmd160 d0edea8bcd4954a01e51b2766e68d203426cc4f4 \ + sha256 ecbd21c5e4a9d2b2948f9d4bd4086f381b221d73eed6b309657dc80d70c1e390 \ + size 221980 # Allows for version number, last commit and build date in `jcli version` # Suppress build date for reproducible builds @@ -52,10 +52,15 @@ post-destroot { } # bash completion - set bash_completion_dir ${destroot}${prefix}/etc/bash_completion.d + set bash_completion_dir ${destroot}${prefix}/share/bash-completion/completions xinstall -d ${bash_completion_dir} system -W ${worksrcpath} "${worksrcpath}/${name} completion --type bash > ${bash_completion_dir}/${short}" + # fish completion + set fish_completion_dir ${destroot}${prefix}/share/fish/vendor_completions.d + xinstall -d ${fish_completion_dir} + system -W ${worksrcpath} "${worksrcpath}/${name} completion --type fish > ${fish_completion_dir}/${short}.fish" + # zsh completion set zsh_completion_dir ${destroot}${prefix}/share/zsh/site-functions xinstall -d ${zsh_completion_dir}