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

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem 1.0
4
5name                lua-lunit
6version             0.3
7categories          devel
8maintainers         gmail.com:emmett.shear
9
10description         The lunit library extends lua with a simple unit testing framework
11long_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.
12
13homepage            http://www.nessie.de/mroth/lunit/
14
15master_sites        http://www.nessie.de/mroth/lunit/
16checksums           md5 1510d14d3149a2d0050a220dbc797424 \
17                    sha1 b8c052bc68bb2c05ece4c406b7a7c31c61a611b9
18distname            lunit-${version}alpha
19
20depends_lib         port:lua
21
22livecheck.check     regex
23livecheck.url       http://www.nessie.de/mroth/lunit/
24livecheck.regex     /lunit-(.*?)alpha.tar.gz
25
26use_configure       no
27build               {}
28destroot            {
29    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
30    xinstall -W ${worksrcpath} ANNOUNCE DOCUMENTATION README README.alpha CHANGES LICENSE TODO ${destroot}${prefix}/share/doc/${name}
31    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/examples
32    foreach luaexamp [glob ${worksrcpath}/examples/*] {
33        xinstall -m 0644 ${luaexamp} ${destroot}${prefix}/share/doc/${name}/examples
34    }
35
36    xinstall -m 755 -d ${destroot}${prefix}/share/lua/5.1
37    foreach luadat [glob ${worksrcpath}/*.lua] {
38        xinstall -m 0644 ${luadat} ${destroot}${prefix}/share/lua/5.1
39    }
40}
Note: See TracBrowser for help on using the repository browser.