[77696] trunk/dports/devel/lua-copas/Portfile

and.damore at macports.org and.damore at macports.org
Sat Apr 9 13:17:28 PDT 2011


Revision: 77696
          http://trac.macports.org/changeset/77696
Author:   and.damore at macports.org
Date:     2011-04-09 13:17:28 -0700 (Sat, 09 Apr 2011)
Log Message:
-----------
lua-copas, version bump, added files to doc and example

Modified Paths:
--------------
    trunk/dports/devel/lua-copas/Portfile

Modified: trunk/dports/devel/lua-copas/Portfile
===================================================================
--- trunk/dports/devel/lua-copas/Portfile	2011-04-09 20:16:41 UTC (rev 77695)
+++ trunk/dports/devel/lua-copas/Portfile	2011-04-09 20:17:28 UTC (rev 77696)
@@ -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 @@
    reinplace "s|%%PREFIX%%|${prefix}|g" ${worksrcpath}/Makefile
 }
 use_configure       no
-build               {}
\ No newline at end of file
+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}
+}
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110409/b4b9ef42/attachment-0001.html>


More information about the macports-changes mailing list