FreeBSD Bugzilla – Attachment 184138 Details for
Bug 220361
textproc/ripgrep: Add Bash, Fish and Zsh completions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Revised patch for adding options for installing Bash, Fish and Zsh completions
Makefile.diff (text/plain), 1.74 KB, created by
Petteri Valkonen
on 2017-07-06 18:46:18 UTC
(
hide
)
Description:
Revised patch for adding options for installing Bash, Fish and Zsh completions
Filename:
MIME Type:
Creator:
Petteri Valkonen
Created:
2017-07-06 18:46:18 UTC
Size:
1.74 KB
patch
obsolete
>--- Makefile.orig 2017-07-06 21:36:08.558337000 +0300 >+++ Makefile 2017-07-06 21:22:35.698366000 +0300 >@@ -5,6 +5,7 @@ > > PORTNAME= ripgrep > PORTVERSION= 0.5.2 >+PORTREVISION= 1 > CATEGORIES= textproc > > MAINTAINER= petteri.valkonen@iki.fi >@@ -13,14 +14,22 @@ > LICENSE= MIT UNLICENSE > LICENSE_COMB= dual > LICENSE_FILE= ${WRKSRC}/COPYING >+LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT > LICENSE_FILE_UNLICENSE= ${WRKSRC}/UNLICENSE > > USES= cargo > USE_GITHUB= yes > GH_ACCOUNT= BurntSushi > >+OPTIONS_DEFINE= BASH FISH ZSH >+OPTIONS_DEFAULT=BASH FISH ZSH >+FISH_DESC= Install programmable completions for Fish >+ > PLIST_FILES= bin/rg \ > man/man1/rg.1.gz >+BASH_PLIST_FILES= etc/bash_completion.d/rg.bash-completion >+FISH_PLIST_FILES= share/fish/completions/rg.fish >+ZSH_PLIST_FILES= share/zsh/site-functions/_rg > > CARGO_CRATES= aho-corasick-0.6.3 \ > ansi_term-0.9.0 \ >@@ -59,7 +68,29 @@ > winapi-0.2.8 \ > winapi-build-0.1.1 > >+RIPGREP_OUTDIR= ${WRKDIR}/cargo-out >+CARGO_ENV+= RIPGREP_OUTDIR=${RIPGREP_OUTDIR} >+ >+post-patch: >+ @${REINPLACE_CMD} -e 's|OUT_DIR|RIPGREP_OUTDIR|' ${WRKSRC}/build.rs >+ > post-install: >+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/rg > ${INSTALL_MAN} ${WRKSRC}/doc/rg.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 > >+post-install-BASH-on: >+ @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d/ >+ ${INSTALL_DATA} ${RIPGREP_OUTDIR}/rg.bash-completion \ >+ ${STAGEDIR}${PREFIX}/etc/bash_completion.d/ >+ >+post-install-FISH-on: >+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/fish/completions/ >+ ${INSTALL_DATA} ${RIPGREP_OUTDIR}/rg.fish \ >+ ${STAGEDIR}${PREFIX}/share/fish/completions/ >+ >+post-install-ZSH-on: >+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions/ >+ ${INSTALL_DATA} ${RIPGREP_OUTDIR}/_rg \ >+ ${STAGEDIR}${PREFIX}/share/zsh/site-functions/ >+ > .include <bsd.port.mk>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
koobs
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 220361
:
183921
|
184134
| 184138