source: trunk/dports/devel/lua-copas/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.5 KB
Line 
1# $Id: Portfile 114431 2013-12-08 09:48:42Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                lua-copas
6version             1.1.6
7categories          devel
8license             MIT
9platforms           darwin
10supported_archs     noarch
11maintainers         nomaintainer
12description         Coroutine Oriented Portable Asynchronous Services for Lua
13long_description    Copas is a dispatcher based on coroutines that can be used by TCP/IP \
14                    servers. It uses LuaSocket as the interface with the TCP/IP stack.
15homepage            http://www.keplerproject.org/copas
16master_sites        https://github.com/downloads/keplerproject/copas
17checksums           md5     104b4325a6187eeb4b139181b6477558 \
18                    sha1    14fd64df94099af1f29d30f09777562803778da7 \
19                    rmd160  f1cdddfc588c1b5f4aa5a8b8796a8351aad6b8bf
20distname            copas-${version}
21depends_lib         port:lua \
22                    port:lua-coxpcall \
23                    port:lua-luasocket
24patchfiles          patch-Makefile.diff
25post-patch {
26   reinplace "s|%%PREFIX%%|${prefix}|g" ${worksrcpath}/Makefile
27}
28use_configure       no
29build               {}
30
31post-destroot {
32    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
33    xinstall -m 755 -d ${destroot}${prefix}/share/examples/${name}
34   
35    xinstall -m 644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
36    eval xinstall -m 644 [glob ${worksrcpath}/doc/us/*] ${destroot}${prefix}/share/doc/${name}
37    eval xinstall -m 644 [glob ${worksrcpath}/tests/*] ${destroot}${prefix}/share/examples/${name}
38}
Note: See TracBrowser for help on using the repository browser.