git: 88930be811d8 - 2021Q3 - sysutils/py-salt: add Fish shell completion files.
Kirill Ponomarev
krion at FreeBSD.org
Wed Sep 8 16:50:00 UTC 2021
The branch 2021Q3 has been updated by krion:
URL: https://cgit.FreeBSD.org/ports/commit/?id=88930be811d883831bacc3e7d2422c8ed720e593
commit 88930be811d883831bacc3e7d2422c8ed720e593
Author: Kirill Ponomarev <krion at FreeBSD.org>
AuthorDate: 2021-09-08 16:49:14 +0000
Commit: Kirill Ponomarev <krion at FreeBSD.org>
CommitDate: 2021-09-08 16:49:55 +0000
sysutils/py-salt: add Fish shell completion files.
Approved by: maintainer
(cherry picked from commit 1c5bcfb1241cb5592cca0a1bd0009307d7de78e2)
---
sysutils/py-salt/Makefile | 19 +++++++++++++++++--
1 file changed, 17 insertions(+), 2 deletions(-)
diff --git a/sysutils/py-salt/Makefile b/sysutils/py-salt/Makefile
index b00959cd9fb5..b4238e374f3c 100644
--- a/sysutils/py-salt/Makefile
+++ b/sysutils/py-salt/Makefile
@@ -2,6 +2,7 @@
PORTNAME= salt
PORTVERSION= 3003.3
+PORTREVISION= 1
CATEGORIES= sysutils python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -60,8 +61,8 @@ SUB_FILES= pkg-message
# Upstream archive contains files with UTF-8 names
EXTRACT_CMD= ${SETENV} LC_ALL=en_US.UTF-8 /usr/bin/bsdtar
-OPTIONS_DEFINE= AWS BASH TCP ZEROMQ ZSH
-OPTIONS_DEFAULT= BASH ZEROMQ ZSH
+OPTIONS_DEFINE= AWS BASH FISH TCP ZEROMQ ZSH
+OPTIONS_DEFAULT= BASH FISH ZEROMQ ZSH
AWS_DESC= Install dependencies required for Amazon Web Services
TCP_DESC= Install dependencies required for TCP transport
@@ -79,6 +80,15 @@ ZEROMQ_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyzmq>=2.2.0:net/py-pyzmq@${PY_FLAVOR
${PYTHON_PKGNAMEPREFIX}pycryptodomex>=3.9.7:security/py-pycryptodomex@${PY_FLAVOR}
BASH_PLIST_FILES= share/bash-completion/completions/salt
+FISH_PLIST_FILES= share/fish/completions/salt-call.fish \
+ share/fish/completions/salt-cp.fish \
+ share/fish/completions/salt-key.fish \
+ share/fish/completions/salt-master.fish \
+ share/fish/completions/salt-minion.fish \
+ share/fish/completions/salt-run.fish \
+ share/fish/completions/salt-syndic.fish \
+ share/fish/completions/salt.fish \
+ share/fish/completions/salt_common.fish
ZSH_PLIST_FILES= share/zsh/site-functions/_salt
post-patch:
@@ -97,6 +107,11 @@ do-install-BASH-on:
${INSTALL_DATA} ${WRKSRC}/pkg/salt.bash \
${STAGEDIR}${PREFIX}/share/bash-completion/completions/salt
+do-install-FISH-on:
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/fish/completions/
+ ${INSTALL_DATA} ${WRKSRC}/pkg/fish-completions/*.fish \
+ ${STAGEDIR}${PREFIX}/share/fish/completions
+
do-install-ZSH-on:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
${INSTALL_DATA} ${WRKSRC}/pkg/zsh_completion.zsh \
More information about the dev-commits-ports-all
mailing list