Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147931565
D27584.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D27584.diff
View Options
Index: head/sysutils/helm/Makefile
===================================================================
--- head/sysutils/helm/Makefile
+++ head/sysutils/helm/Makefile
@@ -3,6 +3,7 @@
PORTNAME= helm
PORTVERSION= 3.4.1
+PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= sysutils
@@ -168,5 +169,24 @@
GO_TARGET= ./cmd/${PORTNAME}
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
+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
+
+post-install-FISH-on:
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/fish/vendor_functions.d
+ ${STAGEDIR}${PREFIX}/bin/helm completion fish > ${STAGEDIR}${PREFIX}/share/fish/vendor_functions.d/helm.fish
+
+post-install-ZSH-on:
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
+ ${STAGEDIR}${PREFIX}/bin/helm completion zsh > ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_helm
.include <bsd.port.mk>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 15, 6:27 PM (11 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29727242
Default Alt Text
D27584.diff (1 KB)
Attached To
Mode
D27584: sysutils/helm: Install shell completion files
Attached
Detach File
Event Timeline
Log In to Comment