Skip to content
Permalink
Browse files

lua-copas, version bump, added files to doc and example

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@77696 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
anddam committed Apr 9, 2011
1 parent 8332377 commit 64c093e7be6f6a5370bffb04d455b8b8027b664e
Showing with 17 additions and 7 deletions.
  1. +17 −7 devel/lua-copas/Portfile
@@ -2,18 +2,18 @@
PortSystem 1.0

name lua-copas
version 1.1.5
version 1.1.6
categories devel
platforms darwin
maintainers and.damore openmaintainer
description Coroutine Oriented Portable Asynchronous Services for Lua
long_description Copas is a dispatcher based on coroutines that can be used by TCP/IP \
servers. It uses LuaSocket as the interface with the TCP/IP stack.
homepage http://www.keplerproject.org/copas/
master_sites http://luaforge.net/frs/download.php/4027/
checksums md5 89b78f2d9a9d13c35a35756f2471f059 \
sha1 fb1726cce15deaed9e0aecd5f2b691d4c2d72a8b \
rmd160 5069fcd0bd134cee9ad9a530752a4b54d73783b5
homepage http://www.keplerproject.org/copas
master_sites https://github.com/downloads/keplerproject/copas
checksums md5 104b4325a6187eeb4b139181b6477558 \
sha1 14fd64df94099af1f29d30f09777562803778da7 \
rmd160 f1cdddfc588c1b5f4aa5a8b8796a8351aad6b8bf
distname copas-${version}
depends_lib port:lua \
port:lua-coxpcall \
@@ -23,4 +23,14 @@ post-patch {
reinplace "s|%%PREFIX%%|${prefix}|g" ${worksrcpath}/Makefile
}
use_configure no
build {}
build {}

post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 755 -d ${destroot}${prefix}/share/examples/${name}

xinstall -m 644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 {*}[glob ${worksrcpath}/doc/us/*] ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 {*}[glob ${worksrcpath}/tests/*] ${destroot}${prefix}/share/examples/${name}
}

0 comments on commit 64c093e

Please sign in to comment.
You can’t perform that action at this time.