# $Id$ PortSystem 1.0 name lua-luasec version 0.4 categories devel license MIT maintainers nomaintainer 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://www.inf.puc-rio.br/~brunoos/luasec/download/ distname luasec-${version} checksums md5 712158d60207bdbb6215fc7e07d8db24 \ sha1 b7fe55fd2a75e0233c1d5bd858e48366422901d6 \ rmd160 61b613ac8d767545a327adc88f1dce70ceb8f64b 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 }