[57760] trunk/dports/devel
and.damore at macports.org
and.damore at macports.org
Wed Sep 16 02:38:31 PDT 2009
Revision: 57760
http://trac.macports.org/changeset/57760
Author: and.damore at macports.org
Date: 2009-09-16 02:38:30 -0700 (Wed, 16 Sep 2009)
Log Message:
-----------
COPAS library for lua
Added Paths:
-----------
trunk/dports/devel/lua-copas/
trunk/dports/devel/lua-copas/Portfile
trunk/dports/devel/lua-copas/files/
trunk/dports/devel/lua-copas/files/patch-Makefile.diff
Added: trunk/dports/devel/lua-copas/Portfile
===================================================================
--- trunk/dports/devel/lua-copas/Portfile (rev 0)
+++ trunk/dports/devel/lua-copas/Portfile 2009-09-16 09:38:30 UTC (rev 57760)
@@ -0,0 +1,25 @@
+# $Id$
+PortSystem 1.0
+
+name lua-copas
+version 1.1.5
+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
+distname copas-${version}
+depends_lib port:lua \
+ port:lua-luasocket
+patchfiles patch-Makefile.diff
+post-patch {
+ reinplace "s|%%PREFIX%%|${prefix}|g" ${worksrcpath}/Makefile
+}
+use_configure no
+build {}
\ No newline at end of file
Property changes on: trunk/dports/devel/lua-copas/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/devel/lua-copas/files/patch-Makefile.diff
===================================================================
--- trunk/dports/devel/lua-copas/files/patch-Makefile.diff (rev 0)
+++ trunk/dports/devel/lua-copas/files/patch-Makefile.diff 2009-09-16 09:38:30 UTC (rev 57760)
@@ -0,0 +1,19 @@
+--- Makefile.orig 2009-09-16 11:13:39.000000000 +0200
++++ Makefile 2009-09-16 11:14:19.000000000 +0200
+@@ -1,13 +1,13 @@
+ # $Id: Makefile,v 1.3 2007/10/29 22:50:16 carregal Exp $
+
+ # Default prefix
+-PREFIX = /usr/local
++PREFIX = %%PREFIX%%
+
+ # System's lua directory (where Lua libraries are installed)
+ LUA_DIR= $(PREFIX)/share/lua/5.1
+
+ install:
+- mkdir -p $(LUA_DIR)/copas
+- cp src/copas/copas.lua $(LUA_DIR)/copas.lua
++ mkdir -p $(DESTDIR)/$(LUA_DIR)/copas
++ cp src/copas/copas.lua $(DESTDIR)$(LUA_DIR)/copas.lua
+
+ clean:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090916/6cb00838/attachment.html>
More information about the macports-changes
mailing list