svn commit: r534289 - head/textproc/ripgrep

Alan Somers asomers at FreeBSD.org
Thu May 7 20:39:42 UTC 2020


Author: asomers (src committer)
Date: Thu May  7 20:39:41 2020
New Revision: 534289
URL: https://svnweb.freebsd.org/changeset/ports/534289

Log:
  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 at iki.fi (maintainer)

Modified:
  head/textproc/ripgrep/Makefile

Modified: head/textproc/ripgrep/Makefile
==============================================================================
--- head/textproc/ripgrep/Makefile	Thu May  7 20:32:24 2020	(r534288)
+++ head/textproc/ripgrep/Makefile	Thu May  7 20:39:41 2020	(r534289)
@@ -5,7 +5,7 @@
 
 PORTNAME=	ripgrep
 DISTVERSION=	12.0.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	textproc
 
 MAINTAINER=	petteri.valkonen at 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/


More information about the svn-ports-head mailing list