diff options
Diffstat (limited to 'sysutils/hcloud/Makefile')
| -rw-r--r-- | sysutils/hcloud/Makefile | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/sysutils/hcloud/Makefile b/sysutils/hcloud/Makefile index cfc189d4aff2..33e06e10c602 100644 --- a/sysutils/hcloud/Makefile +++ b/sysutils/hcloud/Makefile @@ -1,6 +1,6 @@ PORTNAME= hcloud DISTVERSIONPREFIX= v -DISTVERSION= 1.43.0 +DISTVERSION= 1.66.0 PORTREVISION= 1 CATEGORIES= sysutils @@ -11,11 +11,22 @@ WWW= https://github.com/hetznercloud/cli LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:modules,1.21 +USES= go:modules 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 <bsd.port.mk> |
