maintainers {raimue @raimue} \
description A fast and flexible build system
Bam is a fast and flexible build system. It uses Lua to describe the build \
homepage http://matricks.github.com/bam/
master_sites https://github.com/downloads/matricks/bam/
checksums md5 2f8e8336b8884110e8a355b12c9fa58a \
sha1 c0f32ff9272d5552e02a9d68fbdd72106437ee69 \
rmd160 cbb8d56c891e650f0a14c9a55efc4e9cc96e0e28
depends_build port:python26
reinplace "s:^gcc:${configure.cc}:" ${worksrcpath}/make_unix.sh
system "cd ${worksrcpath} && ${prefix}/bin/python2.6 scripts/gendocs.py"
test.cmd ${prefix}/bin/python2.6 scripts/test.py
# there is no install target
xinstall -d -m 755 ${destroot}${prefix}/share/doc/bam/
xinstall -m 644 ${worksrcpath}/docs/bam.html ${destroot}${prefix}/share/doc/bam/
xinstall -m 755 ${worksrcpath}/bam ${destroot}${prefix}/bin/
livecheck.url ${homepage}
livecheck.regex ${name}-(\\d+(?:\\.\\d+)+)\\.tar