Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 May 2020 20:39:41 +0000 (UTC)
From:      Alan Somers <asomers@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r534289 - head/textproc/ripgrep
Message-ID:  <202005072039.047Kdf16069748@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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@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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005072039.047Kdf16069748>