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