Fix paths to the standard bash-completion directory
It's "bash-completion" not "bash-completions".
This commit is contained in:
parent
479b0692b1
commit
db76f9e075
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=557775
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= helm
|
||||
PORTVERSION= 3.4.1
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= sysutils
|
||||
|
||||
@ -173,13 +173,13 @@ PLIST_FILES= ${GO_TARGET:C/.\/cmd/bin/}
|
||||
OPTIONS_DEFINE= BASH FISH ZSH
|
||||
OPTIONS_DEFAULT= BASH FISH ZSH
|
||||
|
||||
BASH_PLIST_FILES= share/bash-completions/completions/helm
|
||||
BASH_PLIST_FILES= share/bash-completion/completions/helm
|
||||
FISH_PLIST_FILES= share/fish/vendor_functions.d/helm.fish
|
||||
ZSH_PLIST_FILES= share/zsh/site-functions/_helm
|
||||
|
||||
post-install-BASH-on:
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completions/completions
|
||||
${STAGEDIR}${PREFIX}/bin/helm completion bash > ${STAGEDIR}${PREFIX}/share/bash-completions/completions/helm
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions
|
||||
${STAGEDIR}${PREFIX}/bin/helm completion bash > ${STAGEDIR}${PREFIX}/share/bash-completion/completions/helm
|
||||
|
||||
post-install-FISH-on:
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/share/fish/vendor_functions.d
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= kubectl
|
||||
PORTVERSION= 1.19.4
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= sysutils
|
||||
|
||||
@ -36,7 +36,7 @@ PLIST_FILES= bin/${PORTNAME}
|
||||
OPTIONS_DEFINE= BASH ZSH
|
||||
OPTIONS_DEFAULT= BASH ZSH
|
||||
|
||||
BASH_PLIST_FILES= share/bash-completions/completions/${PORTNAME}
|
||||
BASH_PLIST_FILES= share/bash-completion/completions/${PORTNAME}
|
||||
ZSH_PLIST_FILES= share/zsh/site-functions/_${PORTNAME}
|
||||
|
||||
post-extract:
|
||||
@ -44,8 +44,8 @@ post-extract:
|
||||
${MV} ${WRKSRC}/vendor/golang.org/x/sys_${GOLANG_SYS_V} ${WRKSRC}/vendor/golang.org/x/sys
|
||||
|
||||
post-install-BASH-on:
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completions/completions
|
||||
${STAGEDIR}${PREFIX}/bin/${PORTNAME} completion bash > ${STAGEDIR}${PREFIX}/share/bash-completions/completions/${PORTNAME}
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions
|
||||
${STAGEDIR}${PREFIX}/bin/${PORTNAME} completion bash > ${STAGEDIR}${PREFIX}/share/bash-completion/completions/${PORTNAME}
|
||||
|
||||
post-install-ZSH-on:
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
|
||||
|
Loading…
Reference in New Issue
Block a user