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

Last change on this file was 114431, checked in by and.damore@…, 4 years ago

Drop maintenance, leave openmaintainer in ports with shared maintenance

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 114431 2013-12-08 09:48:42Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                lua-coxpcall
6version             1.13.0
7revision            1
8categories          devel
9license             MIT
10platforms           darwin
11supported_archs     noarch
12maintainers         nomaintainer
13description         Coroutine-safe xpcall and pcall versions
14long_description    Coxpcall encapsulates the protected calls with a coroutine based loop, \
15                    so errors can be dealed without the usual pcall/xpcall issues with \
16                    coroutines.
17homepage            http://coxpcall.luaforge.net
18master_sites        http://luaforge.net/frs/download.php/3406/
19checksums           md5     d3e0554dc426a7a24e372780b3dd5fe6 \
20                    sha1    8b3321a9b74305b1347ce2543e998a118ca82701 \
21                    rmd160  1f47691efa233d6f584c1072647fb1330a999c4a
22distname            coxpcall-${version}
23depends_lib         port:lua
24patchfiles          patch-Makefile.diff
25post-patch {
26   reinplace "s|%%PREFIX%%|${prefix}|g" ${worksrcpath}/Makefile
27}
28configure.pre_args  lua
29build               {}
30
31post-destroot {
32    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
33   
34    xinstall -m 644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
35    eval xinstall -m 644 [glob ${worksrcpath}/doc/us/*] ${destroot}${prefix}/share/doc/${name}
36}
Note: See TracBrowser for help on using the repository browser.