[57779] trunk/dports/devel

and.damore at macports.org and.damore at macports.org
Wed Sep 16 08:24:55 PDT 2009


Revision: 57779
          http://trac.macports.org/changeset/57779
Author:   and.damore at macports.org
Date:     2009-09-16 08:24:53 -0700 (Wed, 16 Sep 2009)
Log Message:
-----------
coxpcall library for lua, new port

Added Paths:
-----------
    trunk/dports/devel/lua-coxpcall/
    trunk/dports/devel/lua-coxpcall/Portfile
    trunk/dports/devel/lua-coxpcall/files/
    trunk/dports/devel/lua-coxpcall/files/patch-Makefile.diff

Added: trunk/dports/devel/lua-coxpcall/Portfile
===================================================================
--- trunk/dports/devel/lua-coxpcall/Portfile	                        (rev 0)
+++ trunk/dports/devel/lua-coxpcall/Portfile	2009-09-16 15:24:53 UTC (rev 57779)
@@ -0,0 +1,25 @@
+# $Id$
+PortSystem 1.0
+
+name                lua-coxpcall
+version             1.13.0
+categories          devel
+platforms           darwin
+maintainers         and.damore openmaintainer
+description         Coroutine-safe xpcall and pcall versions
+long_description    Coxpcall encapsulates the protected calls with a coroutine based loop, \
+					so errors can be dealed without the usual pcall/xpcall issues with \
+					coroutines.
+homepage            http://coxpcall.luaforge.net
+master_sites        http://luaforge.net/frs/download.php/3406/
+checksums           md5     d3e0554dc426a7a24e372780b3dd5fe6 \
+                    sha1    8b3321a9b74305b1347ce2543e998a118ca82701 \
+                    rmd160  1f47691efa233d6f584c1072647fb1330a999c4a
+distname            coxpcall-${version}
+depends_lib         port:lua
+patchfiles          patch-Makefile.diff
+post-patch {
+   reinplace "s|%%PREFIX%%|${prefix}|g" ${worksrcpath}/Makefile
+}
+configure.pre_args	lua
+build               {}
\ No newline at end of file


Property changes on: trunk/dports/devel/lua-coxpcall/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/devel/lua-coxpcall/files/patch-Makefile.diff
===================================================================
--- trunk/dports/devel/lua-coxpcall/files/patch-Makefile.diff	                        (rev 0)
+++ trunk/dports/devel/lua-coxpcall/files/patch-Makefile.diff	2009-09-16 15:24:53 UTC (rev 57779)
@@ -0,0 +1,13 @@
+--- Makefile.orig	2009-09-16 17:15:37.000000000 +0200
++++ Makefile	2009-09-16 17:16:49.000000000 +0200
+@@ -10,8 +10,8 @@
+ 	chmod +x configure
+ 
+ install: $(config_file)
+-	mkdir -p $(LUA_DIR)
+-	cp src/coxpcall.lua $(LUA_DIR)/
++	mkdir -p $(DESTDIR)/$(LUA_DIR)
++	cp src/coxpcall.lua $(DESTDIR)/$(LUA_DIR)/
+ 
+ install-rocks: install
+ 	mkdir -p $(PREFIX)/doc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090916/ab902daf/attachment.html>


More information about the macports-changes mailing list