diff options
author | Alan Somers <asomers@FreeBSD.org> | 2020-05-07 20:39:41 +0000 |
---|---|---|
committer | Alan Somers <asomers@FreeBSD.org> | 2020-05-07 20:39:41 +0000 |
commit | 0c3368c25a8d1f93e1850c603582e85220b973b7 (patch) | |
tree | e8549309721404bb6f367427c83b9d8c140f7f03 | |
parent | devel/clixon: Add user and group (diff) |
textproc/ripgrep: do install completion file for fish
To solve bug 244355, we stopped installing the completion file for fish,
because fish installed it itself. Now fish has stopped doing that, and they
request that packages like ripgrep install it themselves. But we are to
install it into a different directory than we used to. This change puts it
into the new location.
PR: 246290
Approved by: petteri.valkonen@iki.fi (maintainer)
Notes
Notes:
svn path=/head/; revision=534289
-rw-r--r-- | textproc/ripgrep/Makefile | 6 |
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/ |