[26046] trunk/dports/devel

source_changes at macosforge.org source_changes at macosforge.org
Sun Jun 10 01:18:31 PDT 2007


Revision: 26046
          http://trac.macosforge.org/projects/macports/changeset/26046
Author:   eridius at macports.org
Date:     2007-06-10 01:18:31 -0700 (Sun, 10 Jun 2007)

Log Message:
-----------
NEW: lua-luasocket 2.0.1 (ticket #12098)

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

Added: trunk/dports/devel/lua-luasocket/Portfile
===================================================================
--- trunk/dports/devel/lua-luasocket/Portfile	                        (rev 0)
+++ trunk/dports/devel/lua-luasocket/Portfile	2007-06-10 08:18:31 UTC (rev 26046)
@@ -0,0 +1,35 @@
+# $ld$
+
+PortSystem 1.0
+
+name                lua-luasocket
+version             2.0.1
+categories          devel
+maintainers         emmett.shear at gmail.com
+
+description         The luasocket library extends lua with tcp, udp, and dns
+long_description    LuaSocket is a Lua extension library that is composed by two parts: \
+                    a C core that provides support for the TCP and UDP transport layers, \
+                    and a set of Lua modules that add support for functionality commonly \
+                    needed by applications that deal with the Internet.
+
+homepage            http://www.cs.princeton.edu/~diego/professional/luasocket/
+
+master_sites        http://luaforge.net/frs/download.php/1589/
+checksums           md5 9ca22fd9f9413b54802d3d40b38c4e5c \
+                    sha1 a7da573ce3acbd4b0d846627abd1df43dba72f3c
+distname            luasocket-${version}
+
+depends_lib         port:lua
+
+livecheck.check     regex
+livecheck.url       http://luaforge.net/frs/?group_id=23
+livecheck.regex     /frs/download.php/1589/luasocket-(.*?).tar.gz
+
+patchfiles          config.diff
+
+use_configure       no
+
+post-patch {
+    reinplace "s|%%PREFIX%%|${prefix}|g" ${worksrcpath}/config
+}


Property changes on: trunk/dports/devel/lua-luasocket/Portfile
___________________________________________________________________
Name: svn:keywords
   + id
Name: svn:eol-style
   + native

Added: trunk/dports/devel/lua-luasocket/files/config.diff
===================================================================
--- trunk/dports/devel/lua-luasocket/files/config.diff	                        (rev 0)
+++ trunk/dports/devel/lua-luasocket/files/config.diff	2007-06-10 08:18:31 UTC (rev 26046)
@@ -0,0 +1,56 @@
+--- config.new	2006-04-26 20:23:21.000000000 -0700
++++ config	2007-06-09 21:37:35.000000000 -0700
+@@ -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)/share/lua/5.1
++INSTALL_TOP_LIB=$(DESTDIR)/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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070610/f5f145e8/attachment.html


More information about the macports-changes mailing list