aboutsummaryrefslogtreecommitdiff
path: root/net/luasocket
diff options
context:
space:
mode:
Diffstat (limited to 'net/luasocket')
-rw-r--r--net/luasocket/Makefile3
-rw-r--r--net/luasocket/files/patch-Makefile10
-rw-r--r--net/luasocket/pkg-plist1
3 files changed, 13 insertions, 1 deletions
diff --git a/net/luasocket/Makefile b/net/luasocket/Makefile
index 47a13908f0e1..57acda30f23b 100644
--- a/net/luasocket/Makefile
+++ b/net/luasocket/Makefile
@@ -7,6 +7,7 @@
PORTNAME= luasocket
PORTVERSION= 2.0
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://luaforge.net/frs/download.php/1097/
@@ -14,6 +15,8 @@ MAINTAINER= andrew+ports@fubar.geek.nz
COMMENT= IPv4 Sockets support for the Lua language
BUILD_DEPENDS= ${LOCALBASE}/include/lua.h:${PORTSDIR}/lang/lua
+RUN_DEPENDS= ${LOCALBASE}/include/lua.h:${PORTSDIR}/lang/lua \
+ ${LOCALBASE}/share/lua/5.0/compat-5.1.lua:${PORTSDIR}/devel/lua50-compat51
USE_GMAKE= yes
diff --git a/net/luasocket/files/patch-Makefile b/net/luasocket/files/patch-Makefile
new file mode 100644
index 000000000000..8114a8536516
--- /dev/null
+++ b/net/luasocket/files/patch-Makefile
@@ -0,0 +1,10 @@
+--- Makefile.orig Mon Apr 17 11:33:50 2006
++++ Makefile Mon Apr 17 11:33:57 2006
+@@ -25,7 +25,6 @@
+ smtp.lua
+
+ TO_TOP_SHARE:= \
+- $(COMPAT)/compat-5.1.lua \
+ ltn12.lua \
+ socket.lua \
+ mime.lua
diff --git a/net/luasocket/pkg-plist b/net/luasocket/pkg-plist
index 0389f4c7efed..3f6613797661 100644
--- a/net/luasocket/pkg-plist
+++ b/net/luasocket/pkg-plist
@@ -1,7 +1,6 @@
share/lua/5.0/mime.lua
share/lua/5.0/socket.lua
share/lua/5.0/ltn12.lua
-share/lua/5.0/compat-5.1.lua
share/lua/5.0/socket/smtp.lua
share/lua/5.0/socket/ftp.lua
share/lua/5.0/socket/tp.lua