Add dependency on devel/lua-compat51 on don't install share/lua/5.0/compat-5.1.lua

PR:		96071
Submitted by:	Andrew Turner <andrew+ports@fubar.geek.nz> (maintainer)
This commit is contained in:
Erwin Lansing 2006-04-20 08:58:21 +00:00
parent 9e85136469
commit ea6082d3cb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=159996
3 changed files with 13 additions and 1 deletions

View file

@ -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

View file

@ -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

View file

@ -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