[57946] trunk/dports/devel/lua-luasocket

and.damore at macports.org and.damore at macports.org
Sat Sep 19 08:46:12 PDT 2009


Revision: 57946
          http://trac.macports.org/changeset/57946
Author:   and.damore at macports.org
Date:     2009-09-19 08:46:11 -0700 (Sat, 19 Sep 2009)
Log Message:
-----------
luasocket 2.0.2 update, closes #21417

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

Added Paths:
-----------
    trunk/dports/devel/lua-luasocket/files/patch-config.diff

Removed Paths:
-------------
    trunk/dports/devel/lua-luasocket/files/config.diff

Modified: trunk/dports/devel/lua-luasocket/Portfile
===================================================================
--- trunk/dports/devel/lua-luasocket/Portfile	2009-09-19 15:34:31 UTC (rev 57945)
+++ trunk/dports/devel/lua-luasocket/Portfile	2009-09-19 15:46:11 UTC (rev 57946)
@@ -3,7 +3,7 @@
 PortSystem 1.0
 
 name                lua-luasocket
-version             2.0.1
+version             2.0.2
 categories          devel
 platforms           darwin
 maintainers         gmail.com:emmett.shear
@@ -16,9 +16,10 @@
 
 homepage            http://www.cs.princeton.edu/~diego/professional/luasocket/
 
-master_sites        http://luaforge.net/frs/download.php/1589/
-checksums           md5 9ca22fd9f9413b54802d3d40b38c4e5c \
-                    sha1 a7da573ce3acbd4b0d846627abd1df43dba72f3c
+master_sites        http://luaforge.net/frs/download.php/2664/
+checksums           md5     41445b138deb7bcfe97bff957503da8e \
+                    sha1    5ce521fc5c6efb7c1eba7f36dfeafa9e4d745464 \
+                    rmd160  24d7e4fb1c9cf0c3d94f8b36e82d494ae922e268
 distname            luasocket-${version}
 
 depends_lib         port:lua
@@ -27,10 +28,10 @@
 livecheck.url       http://luaforge.net/frs/?group_id=23
 livecheck.regex     /frs/download.php/1589/luasocket-(.*?).tar.gz
 
-patchfiles          config.diff
+patchfiles          patch-config.diff
 
 use_configure       no
 
 post-patch {
-    reinplace "s|%%PREFIX%%|${prefix}|g" ${worksrcpath}/config
+    reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/config
 }

Deleted: trunk/dports/devel/lua-luasocket/files/config.diff
===================================================================
--- trunk/dports/devel/lua-luasocket/files/config.diff	2009-09-19 15:34:31 UTC (rev 57945)
+++ trunk/dports/devel/lua-luasocket/files/config.diff	2009-09-19 15:46:11 UTC (rev 57946)
@@ -1,56 +0,0 @@
---- config	2007-06-15 20:45:47.000000000 -0400
-+++ config.new	2007-06-15 20:49:40.000000000 -0400
-@@ -15,8 +15,7 @@
- #------
- # Lua includes and libraries
- #
--LUAINC=-I/usr/local/include/lua50
--#LUAINC=-I/usr/local/include/lua5.1
-+LUAINC=-I%%PREFIX%%/include
- 
- #------
- # Compat-5.1 directory
-@@ -27,10 +26,8 @@
- # Top of your Lua installation
- # Relative paths will be inside the src tree
- #
--INSTALL_TOP_SHARE=/usr/local/share/lua/5.0
--INSTALL_TOP_LIB=/usr/local/lib/lua/5.0
--#INSTALL_TOP_SHARE=/usr/local/share/lua/5.1
--#INSTALL_TOP_LIB=/usr/local/lib/lua/5.1
-+INSTALL_TOP_SHARE=$(DESTDIR)%%PREFIX%%/share/lua/5.1
-+INSTALL_TOP_LIB=$(DESTDIR)%%PREFIX%%/lib/lua/5.1
- 
- INSTALL_DATA=cp
- INSTALL_EXEC=cp
-@@ -39,20 +36,20 @@
- # Compiler and linker settings
- # for Mac OS X
- #
--#CC=gcc
--#DEF=-DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN
--#CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fno-common
--#LDFLAGS=-bundle -undefined dynamic_lookup
--#LD=export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc
-+CC=gcc
-+DEF=-DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN
-+CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fno-common
-+LDFLAGS=-bundle -undefined dynamic_lookup
-+LD=export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc
- 
- #------
- # Compiler and linker settings
- # for Linux
--CC=gcc
--DEF=-DLUASOCKET_DEBUG 
--CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fpic
--LDFLAGS=-O -shared -fpic
--LD=gcc 
-+#CC=gcc
-+#DEF=-DLUASOCKET_DEBUG 
-+#CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fpic
-+#LDFLAGS=-O -shared -fpic
-+#LD=gcc 
- 
- #------
- # End of makefile configuration

Added: trunk/dports/devel/lua-luasocket/files/patch-config.diff
===================================================================
--- trunk/dports/devel/lua-luasocket/files/patch-config.diff	                        (rev 0)
+++ trunk/dports/devel/lua-luasocket/files/patch-config.diff	2009-09-19 15:46:11 UTC (rev 57946)
@@ -0,0 +1,57 @@
+--- config.old	2009-09-16 10:42:22.000000000 +0200
++++ config	2009-09-16 10:44:04.000000000 +0200
+@@ -15,9 +15,7 @@
+ #------
+ # Lua includes and libraries
+ #
+-#LUAINC=-I/usr/local/include/lua50
+-#LUAINC=-I/usr/local/include/lua5.1
+-#LUAINC=-Ilua-5.1.1/src
++LUAINC=-I at PREFIX@/include
+ 
+ #------
+ # Compat-5.1 directory
+@@ -28,10 +26,8 @@
+ # Top of your Lua installation
+ # Relative paths will be inside the src tree
+ #
+-#INSTALL_TOP_SHARE=/usr/local/share/lua/5.0
+-#INSTALL_TOP_LIB=/usr/local/lib/lua/5.0
+-INSTALL_TOP_SHARE=/usr/local/share/lua/5.1
+-INSTALL_TOP_LIB=/usr/local/lib/lua/5.1
++INSTALL_TOP_SHARE=$(DESTDIR)@PREFIX@/share/lua/5.1
++INSTALL_TOP_LIB=$(DESTDIR)@PREFIX@/lib/lua/5.1
+ 
+ INSTALL_DATA=cp
+ INSTALL_EXEC=cp
+@@ -40,20 +36,20 @@
+ # Compiler and linker settings
+ # for Mac OS X
+ #
+-#CC=gcc
+-#DEF= -DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN
+-#CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fno-common
+-#LDFLAGS=-bundle -undefined dynamic_lookup
+-#LD=export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc
++CC=gcc
++DEF= -DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN
++CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fno-common
++LDFLAGS=-bundle -undefined dynamic_lookup
++LD=export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc
+ 
+ #------
+ # Compiler and linker settings
+ # for Linux
+-CC=gcc
+-DEF=-DLUASOCKET_DEBUG 
+-CFLAGS= $(LUAINC) $(DEF) -pedantic -Wall -O2 -fpic
+-LDFLAGS=-O -shared -fpic
+-LD=gcc 
++#CC=gcc
++#DEF=-DLUASOCKET_DEBUG 
++#CFLAGS= $(LUAINC) $(DEF) -pedantic -Wall -O2 -fpic
++#LDFLAGS=-O -shared -fpic
++#LD=gcc 
+ 
+ #------
+ # End of makefile configuration
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090919/ecbf8575/attachment-0001.html>


More information about the macports-changes mailing list