FreeBSD Bugzilla – Attachment 183921 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]
Patch for adding options for installing Bash, Fish and Zsh completions
Makefile.diff (text/plain), 1.84 KB, created by
Petteri Valkonen
on 2017-06-29 18:44:14 UTC
(
hide
)
Description:
Patch for adding options for installing Bash, Fish and Zsh completions
Filename:
MIME Type:
Creator:
Petteri Valkonen
Created:
2017-06-29 18:44:14 UTC
Size:
1.84 KB
patch
obsolete
>--- Makefile.orig 2017-06-29 21:29:14.748416000 +0300 >+++ Makefile 2017-06-29 21:24:41.810989000 +0300 >@@ -5,15 +5,16 @@ > > PORTNAME= ripgrep > PORTVERSION= 0.5.2 >+PORTREVISION= 1 > CATEGORIES= textproc > > MAINTAINER= petteri.valkonen@iki.fi > COMMENT= Command line search tool > > LICENSE= MIT UNLICENSE >-LICENSE_FILE= ${WRKSRC}/COPYING > LICENSE_COMB= dual > LICENSE_NAME_UNLICENSE= The Unlicense >+LICENSE_FILE= ${WRKSRC}/COPYING > LICENSE_FILE_UNLICENSE= ${WRKSRC}/UNLICENSE > LICENSE_PERMS_UNLICENSE=dist-mirror dist-sell pkg-mirror pkg-sell auto-accept > >@@ -21,8 +22,15 @@ > 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 \ >@@ -61,7 +69,25 @@ > winapi-0.2.8 \ > winapi-build-0.1.1 > >+.include <bsd.port.options.mk> >+ > post-install: >+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/rg > ${INSTALL_MAN} ${WRKSRC}/doc/rg.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 >+.if ${PORT_OPTIONS:MBASH} >+ @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d/ >+ ${INSTALL_DATA} ${WRKDIR}/target/release/build/ripgrep-*/out/rg.bash-completion \ >+ ${STAGEDIR}${PREFIX}/etc/bash_completion.d/ >+.endif >+.if ${PORT_OPTIONS:MFISH} >+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/fish/completions/ >+ ${INSTALL_DATA} ${WRKDIR}/target/release/build/ripgrep-*/out/rg.fish \ >+ ${STAGEDIR}${PREFIX}/share/fish/completions/ >+.endif >+.if ${PORT_OPTIONS:MZSH} >+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions/ >+ ${INSTALL_DATA} ${WRKDIR}/target/release/build/ripgrep-*/out/_rg \ >+ ${STAGEDIR}${PREFIX}/share/zsh/site-functions/ >+.endif > > .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
Actions:
View
|
Diff
Attachments on
bug 220361
:
183921
|
184134
|
184138