summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/ripgrep/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/textproc/ripgrep/Makefile b/textproc/ripgrep/Makefile
index 2c211316ba54..673e05db89a0 100644
--- a/textproc/ripgrep/Makefile
+++ b/textproc/ripgrep/Makefile
@@ -5,7 +5,7 @@
PORTNAME= ripgrep
DISTVERSION= 12.0.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= textproc
MAINTAINER= petteri.valkonen@iki.fi
@@ -84,6 +84,7 @@ CARGO_ENV= RIPGREP_OUTDIR=${RIPGREP_OUTDIR}
PLIST_FILES= bin/rg \
etc/bash_completion.d/rg.bash \
man/man1/rg.1.gz \
+ share/fish/vendor_completions.d/rg.fish \
share/zsh/site-functions/_rg
PORTDOCS= CHANGELOG.md FAQ.md GUIDE.md
@@ -115,6 +116,9 @@ post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d/
${INSTALL_DATA} ${RIPGREP_OUTDIR}/rg.bash \
${STAGEDIR}${PREFIX}/etc/bash_completion.d/
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/fish/vendor_completions.d/
+ ${INSTALL_DATA} ${RIPGREP_OUTDIR}/rg.fish \
+ ${STAGEDIR}${PREFIX}/share/fish/vendor_completions.d/
@${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions/
${INSTALL_DATA} ${WRKSRC}/complete/_rg \
${STAGEDIR}${PREFIX}/share/zsh/site-functions/