Ticket #35392: Portfile

File Portfile, 1.5 KB (added by 521E328E-2A13-4749-826A-E4EF4F22A0F1@…, 12 years ago)

Portfile for devel/ninja

Line 
1# $Id$
2
3PortSystem          1.0
4
5name                ninja
6version             120715
7categories          devel
8
9maintainers         simplit.com:port openmaintainer
10
11platforms           darwin
12license             Apache-2
13
14description         Small build system with a focus on speed.
15
16long_description    Ninja is yet another build system. It takes as input    \
17                    the interdependencies of files (typically source code   \
18                    and output executables) and orchestrates building them, \
19                    quickly.                                                \
20                                                                            \
21                    Ninja joins a sea of other build systems. Its           \
22                    distinguishing goal is to be fast. It is born from my   \
23                    work on the Chromium browser project, which has over    \
24                    30,000 source files and whose other build systems       \
25                    (including one built from custom non-recursive          \
26                    Makefiles) can take ten seconds to start building       \
27                    after changing one file. Ninja is under a second.
28
29homepage            https://github.com/martine/ninja
30
31fetch.type          git
32git.url             https://github.com/martine/ninja.git
33git.branch          50af448b293b411bde5232931525574aba3bb451
34
35use_configure       no
36
37build.cmd           ./bootstrap.py
38build.target
39
40destroot {
41    xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin
42}