1 | # $Id: Portfile 2243 2009-01-10 02:24:02Z bird $
|
---|
2 | # Very crude atm, everything is exec'ed.
|
---|
3 |
|
---|
4 | PortSystem 1.0
|
---|
5 | name kbuild
|
---|
6 | version 0.1.5
|
---|
7 | categories devel
|
---|
8 | maintainers [email protected]
|
---|
9 | description kBuild
|
---|
10 | long_description \
|
---|
11 | See http://svn.netlabs.org/kbuild (I'm lazy).
|
---|
12 |
|
---|
13 | homepage http://svn.netlabs.org/kbuild
|
---|
14 | platforms darwin
|
---|
15 |
|
---|
16 | master_sites ftp://ftp.netlabs.org/pub/kbuild \
|
---|
17 | ftp://ftp.netlabs.org/incoming/kbuild
|
---|
18 |
|
---|
19 | distfiles kBuild-${version}-src.tar.gz
|
---|
20 |
|
---|
21 | checksums kBuild-${version}-src.tar.gz md5 92e64cace9a3e7269bae1d8d854466e9
|
---|
22 |
|
---|
23 | worksrcdir kBuild-${version}
|
---|
24 |
|
---|
25 | test.run no
|
---|
26 |
|
---|
27 | configure {}
|
---|
28 |
|
---|
29 | build {
|
---|
30 | system "cd ${workpath}/${worksrcdir} && ./kBuild/env.sh --full gnumake -f bootstrap.gmk NIX_INSTALL_DIR=${prefix} "
|
---|
31 | }
|
---|
32 |
|
---|
33 | test {
|
---|
34 | system "cd ${workpath}/${worksrcdir} && ./kBuild/env.sh --full-with-bin kmk -C tests nothing "
|
---|
35 | }
|
---|
36 |
|
---|
37 | destroot {
|
---|
38 | system "cd ${workpath}/${worksrcdir} && ./kBuild/env.sh --full-with-bin kmk NIX_INSTALL_DIR=${prefix} PATH_INS=${destroot}/ "
|
---|
39 | }
|
---|
40 |
|
---|