source: trunk/dports/devel/lua-lunit/Portfile

Last change on this file was 120387, checked in by mf2k@…, 3 years ago

lua-luasocket lua-lunit: port abandoned. (#43472)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 120387 2014-05-26 16:54:52Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                lua-lunit
6version             0.3
7categories          devel
8platforms           darwin
9maintainers         nomaintainer
10
11description         The lunit library extends lua with a simple unit testing framework
12long_description    Lunit is a unit testing framework for lua, written in lua. It provides currently 26 assert functions, 8 type checking functions and a few misc functions for usage as an easy unit testing framework.
13
14homepage            http://www.nessie.de/mroth/lunit/
15
16master_sites        http://www.nessie.de/mroth/lunit/
17checksums           md5 1510d14d3149a2d0050a220dbc797424 \
18                    sha1 b8c052bc68bb2c05ece4c406b7a7c31c61a611b9
19distname            lunit-${version}alpha
20
21depends_lib         port:lua
22
23livecheck.type      regex
24livecheck.url       http://www.nessie.de/mroth/lunit/
25livecheck.regex     /lunit-(.*?)alpha.tar.gz
26
27use_configure       no
28build               {}
29destroot            {
30    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
31    xinstall -W ${worksrcpath} ANNOUNCE DOCUMENTATION README README.alpha CHANGES LICENSE TODO ${destroot}${prefix}/share/doc/${name}
32    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/examples
33    foreach luaexamp [glob ${worksrcpath}/examples/*] {
34        xinstall -m 0644 ${luaexamp} ${destroot}${prefix}/share/doc/${name}/examples
35    }
36
37    xinstall -m 755 -d ${destroot}${prefix}/share/lua/5.1
38    foreach luadat [glob ${worksrcpath}/*.lua] {
39        xinstall -m 0644 ${luadat} ${destroot}${prefix}/share/lua/5.1
40    }
41}
Note: See TracBrowser for help on using the repository browser.