Lines 4-10
Link Here
|
4 |
PORTNAME= ninja |
4 |
PORTNAME= ninja |
5 |
PORTVERSION= 1.8.2 |
5 |
PORTVERSION= 1.8.2 |
6 |
DISTVERSIONPREFIX= v |
6 |
DISTVERSIONPREFIX= v |
7 |
PORTEPOCH= 2 |
7 |
PORTEPOCH= 3 |
8 |
CATEGORIES= devel |
8 |
CATEGORIES= devel |
9 |
|
9 |
|
10 |
MAINTAINER= gblach@FreeBSD.org |
10 |
MAINTAINER= gblach@FreeBSD.org |
Lines 22-28
USES= python
Link Here
|
22 |
PLIST_FILES= bin/ninja |
22 |
PLIST_FILES= bin/ninja |
23 |
PORTDOCS= HACKING.md README manual.asciidoc |
23 |
PORTDOCS= HACKING.md README manual.asciidoc |
24 |
|
24 |
|
25 |
OPTIONS_DEFINE= DOCS |
25 |
OPTIONS_DEFINE= DOCS BASH ZSH |
|
|
26 |
OPTIONS_DEFAULT= BASH ZSH |
27 |
|
28 |
BASH_PLIST_FILES= share/bash-completion/completions/ninja |
29 |
ZSH_PLIST_FILES= share/zsh/site-functions/_ninja |
26 |
|
30 |
|
27 |
post-patch: |
31 |
post-patch: |
28 |
@${REINPLACE_CMD} "s/'-g', //" ${WRKSRC}/configure.py |
32 |
@${REINPLACE_CMD} "s/'-g', //" ${WRKSRC}/configure.py |
Lines 38-43
do-install:
Link Here
|
38 |
${INSTALL_DATA} HACKING.md README doc/manual.asciidoc \ |
42 |
${INSTALL_DATA} HACKING.md README doc/manual.asciidoc \ |
39 |
${STAGEDIR}${DOCSDIR}) |
43 |
${STAGEDIR}${DOCSDIR}) |
40 |
|
44 |
|
|
|
45 |
do-install-BASH-on: |
46 |
@${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions/ |
47 |
${INSTALL_DATA} ${WRKSRC}/misc/bash-completion \ |
48 |
${STAGEDIR}${PREFIX}/share/bash-completion/completions/ninja |
49 |
|
50 |
do-install-ZSH-on: |
51 |
@${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions |
52 |
${INSTALL_DATA} ${WRKSRC}/misc/zsh-completion \ |
53 |
${STAGEDIR}${PREFIX}/share/zsh/site-functions/_ninja |
54 |
|
41 |
do-test: build |
55 |
do-test: build |
42 |
cd ${WRKSRC} && ./ninja ninja_test && ./ninja_test |
56 |
cd ${WRKSRC} && ./ninja ninja_test && ./ninja_test |
43 |
|
57 |
|