Ticket #12098: Portfile

File Portfile, 860 bytes (added by emmett.shear@…, 17 years ago)
Line 
1# $ld$
2
3PortSystem 1.0
4name            lua-luasocket
5version         2.0.1
6categories      devel
7maintainers     emmett.shear@gmail.com
8master_sites    http://luaforge.net/frs/download.php/1589/
9checksums       md5 9ca22fd9f9413b54802d3d40b38c4e5c
10description     The luasocket library extends lua with tcp, udp, and dns
11homepage        http://www.cs.princeton.edu/~diego/professional/luasocket/
12depends_lib     port:lua
13distname        luasocket-${version}
14use_configure   no
15patchfiles      config.diff
16
17post-patch {
18    reinplace "s|%%PREFIX%%|${prefix}|g" ${worksrcpath}/config
19}
20
21long_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.
22
23