[49753] trunk/dports/devel

anddam at macports.org anddam at macports.org
Fri Apr 17 04:20:08 PDT 2009


Revision: 49753
          http://trac.macports.org/changeset/49753
Author:   anddam at macports.org
Date:     2009-04-17 04:20:07 -0700 (Fri, 17 Apr 2009)
Log Message:
-----------
LuaSec, ssl/tsl library for lua

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

Added: trunk/dports/devel/lua-luasec/Portfile
===================================================================
--- trunk/dports/devel/lua-luasec/Portfile	                        (rev 0)
+++ trunk/dports/devel/lua-luasec/Portfile	2009-04-17 11:20:07 UTC (rev 49753)
@@ -0,0 +1,37 @@
+# $Id:$
+
+PortSystem 1.0
+
+name                lua-luasec
+version             0.3.1
+categories          devel
+maintainers         anddam at macports.org openmaintainer
+platforms			darwin
+description         LuaSec is a binding for OpenSSL library to provide TLS/SSL communication
+long_description    LuaSec is a binding for OpenSSL library to provide TLS/SSL \
+					communication. This version delegates to LuaSocket the TCP connection \
+					establishment between the client and server. Then LuaSec uses this \
+					connection to start a secure TLS/SSL session.
+homepage            http://luasec.luaforge.net/
+
+master_sites        http://luaforge.net/frs/download.php/4013/					
+distname            luasec-${version}
+checksums           md5     aacd011996f79d625c5551a33c410411 \
+                    sha1    13435ec486a5eef09d5e20907703a393447c5ff9 \
+                    rmd160  4aaeb53c2351212a6e9345d875aca8f8f7662df7
+
+patch.pre_args		-p1
+patchfiles          patch-Makefile.diff
+post-patch {
+    reinplace "s|%%PREFIX%%|${prefix}|g" ${worksrcpath}/Makefile
+}
+
+use_configure       no
+
+depends_lib         port:lua
+build.target		macosx
+build.env			INCDIR=-I${prefix}/include LIBDIR=-L${prefix}/lib
+pre-destroot {
+	xinstall	-d ${destroot}${prefix}/lib/lua/5.1
+	xinstall	-d ${destroot}${prefix}/share/lua/5.1
+}
\ No newline at end of file


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

Added: trunk/dports/devel/lua-luasec/files/patch-Makefile.diff
===================================================================
--- trunk/dports/devel/lua-luasec/files/patch-Makefile.diff	                        (rev 0)
+++ trunk/dports/devel/lua-luasec/files/patch-Makefile.diff	2009-04-17 11:20:07 UTC (rev 49753)
@@ -0,0 +1,21 @@
+diff -ur luasec-0.3.1.orig/Makefile luasec-0.3.1/Makefile
+--- luasec-0.3.1.orig/Makefile	2009-03-31 17:50:48.000000000 +0200
++++ luasec-0.3.1/Makefile	2009-04-17 12:02:24.000000000 +0200
+@@ -1,6 +1,6 @@
+ # Inform the location to intall the modules
+-LUAPATH=/usr/local/share/lua/5.1
+-CPATH=/usr/local/lib/lua/5.1
++LUAPATH=$(DESTDIR)%%PREFIX%%/share/lua/5.1
++CPATH=$(DESTDIR)%%PREFIX%%/lib/lua/5.1
+ 
+ # Edit the lines below to inform new path, if necessary
+ #
+@@ -8,7 +8,7 @@
+ #LIBDIR=-L/usr/local/openssl-0.9.8/lib -R/usr/local/openssl-0.9.8/lib
+ 
+ # For Mac OS X: set the system version
+-MACOSX_VERSION=10.4
++MACOSX_VERSION=10.5
+ 
+ DEFS=-DBUFFER_DEBUG
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090417/7d2a07eb/attachment.html>


More information about the macports-changes mailing list