summaryrefslogtreecommitdiffstats
path: root/dist/macports/devel/kbuild-head/Portfile
blob: 8ca831dd85abcf749f58de4b23531ca1b7d7aafc (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
# $Id: Portfile 2413 2010-09-11 17:43:04Z bird $
# Very crude atm, everything is exec'ed.

PortSystem 1.0
name            kbuild-head
version         9999
categories      devel
maintainers     bird-kBuild-spamx@anduin.net
description     kBuild subversion trunk
long_description \
    See http://svn.netlabs.org/kbuild (I'm lazy).

homepage        http://svn.netlabs.org/kbuild
platforms       darwin
fetch.type      svn
svn.url         http://svn.netlabs.org/repos/kbuild/trunk
#svn.url         svn://system360/svn-mirrors/kbuild/trunk
worksrcdir   	trunk

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}/ "
}