source: trunk/dports/devel/lua-copas/Portfile @ 77697

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

lua-copas whitespaces change (detabbed)

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