FreeBSD Bugzilla – Attachment 200515 Details for
Bug 234407
devel/ninja: Install zsh and bash completion files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
ninja-completion.patch
ninja-completion.patch (text/plain), 1.23 KB, created by
Val Packett
on 2018-12-25 22:52:12 UTC
(
hide
)
Description:
ninja-completion.patch
Filename:
MIME Type:
Creator:
Val Packett
Created:
2018-12-25 22:52:12 UTC
Size:
1.23 KB
patch
obsolete
>diff --git c/devel/ninja/Makefile w/devel/ninja/Makefile >index f5b565bd1069..922cbb9e884a 100644 >--- c/devel/ninja/Makefile >+++ w/devel/ninja/Makefile >@@ -4,7 +4,7 @@ > PORTNAME= ninja > PORTVERSION= 1.8.2 > DISTVERSIONPREFIX= v >-PORTEPOCH= 2 >+PORTEPOCH= 3 > CATEGORIES= devel > > MAINTAINER= gblach@FreeBSD.org >@@ -22,7 +22,11 @@ USES= python > PLIST_FILES= bin/ninja > PORTDOCS= HACKING.md README manual.asciidoc > >-OPTIONS_DEFINE= DOCS >+OPTIONS_DEFINE= DOCS BASH ZSH >+OPTIONS_DEFAULT= BASH ZSH >+ >+BASH_PLIST_FILES= share/bash-completion/completions/ninja >+ZSH_PLIST_FILES= share/zsh/site-functions/_ninja > > post-patch: > @${REINPLACE_CMD} "s/'-g', //" ${WRKSRC}/configure.py >@@ -38,6 +42,16 @@ do-install: > ${INSTALL_DATA} HACKING.md README doc/manual.asciidoc \ > ${STAGEDIR}${DOCSDIR}) > >+do-install-BASH-on: >+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions/ >+ ${INSTALL_DATA} ${WRKSRC}/misc/bash-completion \ >+ ${STAGEDIR}${PREFIX}/share/bash-completion/completions/ninja >+ >+do-install-ZSH-on: >+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions >+ ${INSTALL_DATA} ${WRKSRC}/misc/zsh-completion \ >+ ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_ninja >+ > do-test: build > cd ${WRKSRC} && ./ninja ninja_test && ./ninja_test >
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 234407
: 200515