source: trunk/dports/devel/bam/Portfile

Last change on this file was 80982, checked in by raimue@…, 6 years ago

devel/bam:
Add license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 80982 2011-07-22 22:44:29Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            bam
6version         0.4.0
7categories      devel
8platforms       darwin
9license         zlib
10maintainers     raimue openmaintainer
11
12description     A fast and flexible build system
13long_description \
14    Bam is a fast and flexible build system. It uses Lua to describe the build \
15    process.
16
17homepage        http://matricks.github.com/bam/
18
19master_sites    http://github.com/downloads/matricks/bam/
20checksums       md5     2f8e8336b8884110e8a355b12c9fa58a \
21                sha1    c0f32ff9272d5552e02a9d68fbdd72106437ee69 \
22                rmd160  cbb8d56c891e650f0a14c9a55efc4e9cc96e0e28
23
24depends_build   port:python26
25
26post-patch {
27    reinplace "s:^gcc:${configure.cc}:" ${worksrcpath}/make_unix.sh
28}
29
30use_configure   no
31
32build.cmd       ./make_unix.sh
33build.target
34
35post-build {
36    system "cd ${worksrcpath} && ${prefix}/bin/python2.6 scripts/gendocs.py"
37}
38
39test.run        yes
40test.cmd        ${prefix}/bin/python2.6 scripts/test.py
41test.target
42
43# there is no install target
44destroot {
45    xinstall -d -m 755 ${destroot}${prefix}/share/doc/bam/
46    xinstall -m 644 ${worksrcpath}/docs/bam.html ${destroot}${prefix}/share/doc/bam/
47    xinstall -m 755 ${worksrcpath}/bam ${destroot}${prefix}/bin/
48}
49
50livecheck.type  regex
51livecheck.url   ${homepage}
52livecheck.regex ${name}-(\\d+(?:\\.\\d+)+)\\.tar
Note: See TracBrowser for help on using the repository browser.