diff --git a/sysutils/hcloud/Makefile b/sysutils/hcloud/Makefile index f3d09be73a06..1b819c50d836 100644 --- a/sysutils/hcloud/Makefile +++ b/sysutils/hcloud/Makefile @@ -1,20 +1,31 @@ PORTNAME= hcloud DISTVERSIONPREFIX= v -DISTVERSION= 1.47.0 +DISTVERSION= 1.48.0 CATEGORIES= sysutils MAINTAINER= uzsolt@FreeBSD.org COMMENT= Official Hetzner Cloud command-line interface WWW= https://github.com/hetznercloud/cli LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:modules,1.21 GO_MODULE= github.com/hetznercloud/cli GO_TARGET= ./cmd/hcloud -PLIST_FILES= bin/hcloud +PLIST_FILES= bin/hcloud \ + share/bash-completion/completions/${PORTNAME} \ + share/fish/completions/${PORTNAME}.fish \ + share/zsh/site_functions/_${PORTNAME} + +post-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions/ \ + ${STAGEDIR}${PREFIX}/share/fish/completions/ \ + ${STAGEDIR}${PREFIX}/share/zsh/site_functions/ + ${STAGEDIR}${PREFIX}/bin/hcloud completion bash > ${STAGEDIR}${PREFIX}/share/bash-completion/completions/${PORTNAME} + ${STAGEDIR}${PREFIX}/bin/hcloud completion fish > ${STAGEDIR}${PREFIX}/share/fish/completions/${PORTNAME}.fish + ${STAGEDIR}${PREFIX}/bin/hcloud completion zsh > ${STAGEDIR}${PREFIX}/share/zsh/site_functions/_${PORTNAME} .include diff --git a/sysutils/hcloud/distinfo b/sysutils/hcloud/distinfo index c1dd0a1c7e5e..1d94889d0fcd 100644 --- a/sysutils/hcloud/distinfo +++ b/sysutils/hcloud/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1726330745 -SHA256 (go/sysutils_hcloud/hcloud-v1.47.0/v1.47.0.mod) = fcd8cc287614de624c61f3605e42b26bc2552bd6e4acc084f5fa631fc3be8576 -SIZE (go/sysutils_hcloud/hcloud-v1.47.0/v1.47.0.mod) = 2554 -SHA256 (go/sysutils_hcloud/hcloud-v1.47.0/v1.47.0.zip) = b5e1134a913b710f9a5c86305d9bbace4aab5821ca9994cbd09974e26ea1cd90 -SIZE (go/sysutils_hcloud/hcloud-v1.47.0/v1.47.0.zip) = 476329 +TIMESTAMP = 1730110798 +SHA256 (go/sysutils_hcloud/hcloud-v1.48.0/v1.48.0.mod) = bb815ad13132025767583223137051b60572589311cc3321389ca3e078de866c +SIZE (go/sysutils_hcloud/hcloud-v1.48.0/v1.48.0.mod) = 3046 +SHA256 (go/sysutils_hcloud/hcloud-v1.48.0/v1.48.0.zip) = bb5c27f12090d72ad1550f9e5c0e36e2d04e4426f1b7cda4842062d5ede6f9c5 +SIZE (go/sysutils_hcloud/hcloud-v1.48.0/v1.48.0.zip) = 496844