1 | # $ld$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name lua-luaunit |
---|
6 | version 1.2 |
---|
7 | categories devel |
---|
8 | maintainers emmett.shear@gmail.com |
---|
9 | |
---|
10 | description The luaunit library extends lua with a simple unit testing framework |
---|
11 | long_description luaunit is modeled after python unit testing framework, which I have found the best testing framework so far. What I enjoy the most is the use of the reflection capabilities of the language to automatically build test suites. |
---|
12 | homepage http://phil.freehackers.org/programs/luaunit/index.html |
---|
13 | |
---|
14 | master_sites http://luaforge.net/frs/download.php/936 |
---|
15 | checksums md5 cb1879077a5cd86dc94b5961fceb87b9 \ |
---|
16 | sha1 b7243b6e5e0dab69ed3a5069bda1c1d36f50024e |
---|
17 | distname luaunit-v12 |
---|
18 | worksrcdir luaunit |
---|
19 | |
---|
20 | depends_lib port:lua |
---|
21 | |
---|
22 | livecheck.check regex |
---|
23 | livecheck.url http://luaforge.net/frs/?group_id=54 |
---|
24 | livecheck.regex /frs/download.php/936/luaunit-(.*?).tar.gz |
---|
25 | |
---|
26 | use_configure no |
---|
27 | build {} |
---|
28 | destroot { |
---|
29 | cd ${workpath}/${worksrcdir} |
---|
30 | xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} |
---|
31 | file copy README.txt ${destroot}${prefix}/share/doc/${name} |
---|
32 | |
---|
33 | xinstall -m 755 -d ${destroot}${prefix}/share/lua/5.1 |
---|
34 | foreach luadat [glob *.lua] { |
---|
35 | xinstall -m 0644 ${luadat} ${destroot}${prefix}/share/lua/5.1 |
---|
36 | } |
---|
37 | } |
---|