aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-11-19 00:12:45 +0800
committerbapt <bapt@FreeBSD.org>2013-11-19 00:12:45 +0800
commit0d7bdb38076f5369300d925536da2504d7052dde (patch)
tree4ad67e0babf7468e04160692e63150af4937eada
parent87eecaa444fd44f7696c3e3704fbd5c681694590 (diff)
downloadfreebsd-ports-gnome-0d7bdb38076f5369300d925536da2504d7052dde.tar.gz
freebsd-ports-gnome-0d7bdb38076f5369300d925536da2504d7052dde.tar.zst
freebsd-ports-gnome-0d7bdb38076f5369300d925536da2504d7052dde.zip
Third pass at removing EOLed lua50
devel/lua50-compat51 lang/lua50
-rw-r--r--MOVED2
-rw-r--r--devel/Makefile1
-rw-r--r--devel/lua50-compat51/Makefile35
-rw-r--r--devel/lua50-compat51/distinfo2
-rw-r--r--devel/lua50-compat51/files/Makefile10
-rw-r--r--devel/lua50-compat51/files/patch-compat-5110
-rw-r--r--devel/lua50-compat51/pkg-descr4
-rw-r--r--lang/Makefile1
-rw-r--r--lang/lua50/Makefile92
-rw-r--r--lang/lua50/distinfo2
-rw-r--r--lang/lua50/files/patch-ab20
-rw-r--r--lang/lua50/files/patch-config11
-rw-r--r--lang/lua50/pkg-descr21
-rw-r--r--lang/lua50/pkg-plist71
14 files changed, 2 insertions, 280 deletions
diff --git a/MOVED b/MOVED
index 5119bcfe2663..be84b1aadcca 100644
--- a/MOVED
+++ b/MOVED
@@ -5239,3 +5239,5 @@ devel/lua50-pty||2013-11-18|Removed
lang/tolua++50||2013-11-18|Removed
lang/tolua50||2013-11-18|Removed
net/lua50-luasocket||2013-11-18|Removed
+devel/lua50-compat51||2013-11-18|Removed
+lang/lua50||2013-11-18|Removed
diff --git a/devel/Makefile b/devel/Makefile
index 178b2adc5e0f..20c7c35c7e54 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1177,7 +1177,6 @@
SUBDIR += lua-rds-parser
SUBDIR += lua-redis-parser
SUBDIR += lua-sysctl
- SUBDIR += lua50-compat51
SUBDIR += luabind
SUBDIR += luafilesystem
SUBDIR += luajava
diff --git a/devel/lua50-compat51/Makefile b/devel/lua50-compat51/Makefile
deleted file mode 100644
index c898efdf7e8b..000000000000
--- a/devel/lua50-compat51/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-# Created by: Andrew Turner <andrew+ports@fubar.geek.nz>
-# $FreeBSD$
-
-PORTNAME= compat
-DISTVERSION= ${CVER}${CREV}
-PORTREVISION= 1
-CATEGORIES= devel
-MASTER_SITES= http://files.luaforge.net/releases/compat/Compat-5.1/Compat-5.1release5/
-PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Lua 5.1 package compatibility layer for Lua 5.0.x
-
-USE_LUA= 5.0
-WRKSRC= ${WRKDIR}/compat-${CVER}${CREV}
-
-MAKE_ENV+= CVER="${CVER}"
-PLIST_FILES= %%LUA_MODSHAREDIR%%/compat-${CVER}.lua \
- %%LUA_MODLIBDIR%%/lcompat-${CVER}.so \
- %%LUA_INCDIR%%/compat-${CVER}.h
-
-# Update these values when there is a new release.
-CVER= 5.1
-CREV= r5
-
-NO_STAGE= yes
-post-extract:
- @${CP} ${FILESDIR}/Makefile ${WRKSRC}
-
-do-install:
- ${INSTALL_DATA} ${WRKSRC}/compat-${CVER}.lua ${LUA_MODSHAREDIR}
- ${INSTALL_PROGRAM} ${WRKSRC}/lcompat-${CVER}.so ${LUA_MODLIBDIR}
- ${INSTALL_DATA} ${WRKSRC}/compat-${CVER}.h ${LUA_INCDIR}
-
-.include <bsd.port.mk>
diff --git a/devel/lua50-compat51/distinfo b/devel/lua50-compat51/distinfo
deleted file mode 100644
index f11d8eeb1402..000000000000
--- a/devel/lua50-compat51/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (compat-5.1r5.tar.gz) = 93262ad793552c338b825e6b67c903063aa07625952ef643d126ae60949c8ab6
-SIZE (compat-5.1r5.tar.gz) = 2977
diff --git a/devel/lua50-compat51/files/Makefile b/devel/lua50-compat51/files/Makefile
deleted file mode 100644
index 229ab6e7c892..000000000000
--- a/devel/lua50-compat51/files/Makefile
+++ /dev/null
@@ -1,10 +0,0 @@
-# $FreeBSD$
-
-SHLIB= compat-${CVER}
-SHLIB_NAME= lcompat-${CVER}.so
-
-SRCS= compat-${CVER}.c
-
-CFLAGS+= -I${LUA_INCDIR}
-
-.include <bsd.lib.mk>
diff --git a/devel/lua50-compat51/files/patch-compat-51 b/devel/lua50-compat51/files/patch-compat-51
deleted file mode 100644
index 5f13eeb5ebfc..000000000000
--- a/devel/lua50-compat51/files/patch-compat-51
+++ /dev/null
@@ -1,10 +0,0 @@
---- compat-5.1.lua.orig Fri Apr 14 19:13:01 2006
-+++ compat-5.1.lua Fri Apr 14 19:14:21 2006
-@@ -260,6 +260,7 @@
- ns._M = ns
- ns._PACKAGE = gsub (modname, "[^.]*$", "")
- end
-+ setmetatable(ns, {__index = _G})
- setfenv (2, ns)
- for i, f in ipairs (arg) do
- f (ns)
diff --git a/devel/lua50-compat51/pkg-descr b/devel/lua50-compat51/pkg-descr
deleted file mode 100644
index 302f6a32bfbc..000000000000
--- a/devel/lua50-compat51/pkg-descr
+++ /dev/null
@@ -1,4 +0,0 @@
-The Package Compatibility (Compat-5.1) is a set of files which provides an
-implementation of the new package model of Lua 5.1 to be used in Lua 5.0.
-
-WWW: http://luaforge.net/projects/compat/
diff --git a/lang/Makefile b/lang/Makefile
index e0f83dcd22e3..3f82fa51acf4 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -154,7 +154,6 @@
SUBDIR += logo
SUBDIR += lua
SUBDIR += lua-mode.el
- SUBDIR += lua50
SUBDIR += lua52
SUBDIR += luajit
SUBDIR += lush
diff --git a/lang/lua50/Makefile b/lang/lua50/Makefile
deleted file mode 100644
index 653997b057b1..000000000000
--- a/lang/lua50/Makefile
+++ /dev/null
@@ -1,92 +0,0 @@
-# Created by: Richard Kiss <him@richardkiss.com>
-# $FreeBSD$
-
-PORTNAME= lua
-PORTVERSION= 5.0.3
-CATEGORIES= lang
-MASTER_SITES= http://www.lua.org/ftp/ \
- ftp://ftp.tecgraf.puc-rio.br/pub/lua/ \
- ftp://csg.uwaterloo.ca/pub/lhf/lua/ \
- ftp://ftp.ntua.gr/pub/lang/lua/ \
- ftp://ftp.uni-trier.de/pub/languages/lua/ \
- ftp://ftp.gwdg.de/pub/languages/lua/
-
-MAINTAINER= him@richardkiss.com
-COMMENT= Small, compilable scripting language providing easy access to C code
-
-USE_LDCONFIG= yes
-USE_LUA= 5.0
-LUA_COMPS= # only define variables
-ALL_TARGET= all so
-
-MAN1= lua-${LUA_VER}.1 luac-${LUA_VER}.1
-DOCSDIR= ${PREFIX}/share/doc/${LUA_SUBDIR}
-LATEST_LINK= ${LUA_SUBDIR}
-
-LUA_BIN= lua luac
-LUA_LIB= lua lualib
-LUA_MAN= ${LUA_BIN:S/$/.1/}
-
-MAKE_JOBS_UNSAFE= yes
-
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "amd64"
-CFLAGS+= -fPIC
-.endif
-
-post-patch:
- @${REINPLACE_CMD} -Ee \
- 's|^(MYCFLAGS=).*|\1 ${CFLAGS}|; \
- s|^(LOADLIB=).*|\1 -DUSE_DLOPEN=1|; \
- s|^(CC=).*|\1 ${CC}|; \
- s|^#(USERCONF.*READLINE.*)|\1|; \
- s|^(EXTRA_LIBS=).*|\1 -lm -lreadline -lhistory -lncurses|; \
- s|^(V=[[:digit:]])\.0|\1|' \
- ${WRKSRC}/config
- @${REINPLACE_CMD} -Ee 's|(ld -o lib/(liblua(lib)?)\.so\.\$$V)|\1 -soname=\2-${LUA_VER}.so.${LUA_VER_SH}|' \
- ${WRKSRC}/${MAKEFILE}
-
-post-build:
- @${RM} -f ${WRKSRC}/test/lua ${WRKSRC}/test/luac
-
-do-install:
-# Programs.
- ${MKDIR} ${LUA_BINDIR}
-.for f in ${LUA_BIN}
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/${f} ${LUA_BINDIR}
- ${LN} -sf ${LUA_SUBDIR}/${f} ${PREFIX}/bin/${f}-${LUA_VER}
-.endfor
-# Include files.
- ${MKDIR} ${LUA_INCDIR}
- ${INSTALL_DATA} ${WRKSRC}/include/*.h ${LUA_INCDIR}
-# Libraries.
- ${MKDIR} ${LUA_LIBDIR}
-.for f in ${LUA_LIB}
- ${INSTALL_DATA} ${WRKSRC}/lib/lib${f}.a ${LUA_LIBDIR}
- ${INSTALL_DATA} ${WRKSRC}/lib/lib${f}.so \
- ${LUA_LIBDIR}/lib${f}-${LUA_VER}.so.${LUA_VER_SH}
- @${LN} -sf lib${f}-${LUA_VER}.so.${LUA_VER_SH} ${LUA_LIBDIR}/lib${f}.so
- @${LN} -sf ${LUA_SUBDIR}/lib${f}-${LUA_VER}.so.${LUA_VER_SH} \
- ${PREFIX}/lib
- @${LN} -sf lib${f}-${LUA_VER}.so.${LUA_VER_SH} \
- ${PREFIX}/lib/lib${f}-${LUA_VER}.so
-.endfor
-# Manual pages.
-.for f in ${LUA_MAN}
- ${INSTALL_MAN} ${WRKSRC}/doc/${f} \
- ${PREFIX}/man/man1/${f:C/.1$//}-${LUA_VER}.1
-.endfor
-# Documentation.
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
- cd ${WRKSRC}/doc && ${INSTALL_DATA} *.html *.gif ${DOCSDIR}
- ${CP} -r ${WRKSRC}/etc ${WRKSRC}/test ${DOCSDIR}
-.endif
-# Module directories.
- ${MKDIR} ${LUA_MODLIBDIR}
- ${MKDIR} ${LUA_MODSHAREDIR}
-
-.include <bsd.port.post.mk>
diff --git a/lang/lua50/distinfo b/lang/lua50/distinfo
deleted file mode 100644
index 4e374781bc70..000000000000
--- a/lang/lua50/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (lua-5.0.3.tar.gz) = 1193a61b0e08acaa6eee0eecf29709179ee49c71baebc59b682a25c3b5a45671
-SIZE (lua-5.0.3.tar.gz) = 191384
diff --git a/lang/lua50/files/patch-ab b/lang/lua50/files/patch-ab
deleted file mode 100644
index 5a24cd697f27..000000000000
--- a/lang/lua50/files/patch-ab
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/lib/lmathlib.c.orig Tue Mar 11 21:30:37 2003
-+++ src/lib/lmathlib.c Fri May 9 02:32:59 2003
-@@ -170,7 +170,7 @@
- static int math_random (lua_State *L) {
- /* the `%' avoids the (rare) case of r==1, and is needed also because on
- some systems (SunOS!) `rand()' may return a value larger than RAND_MAX */
-- lua_Number r = (lua_Number)(rand()%RAND_MAX) / (lua_Number)RAND_MAX;
-+ lua_Number r = (lua_Number)(random()%RAND_MAX) / (lua_Number)RAND_MAX;
- switch (lua_gettop(L)) { /* check number of arguments */
- case 0: { /* no arguments */
- lua_pushnumber(L, r); /* Number between 0 and 1 */
-@@ -196,7 +196,7 @@
-
-
- static int math_randomseed (lua_State *L) {
-- srand(luaL_checkint(L, 1));
-+ srandom(luaL_checkint(L, 1));
- return 0;
- }
-
diff --git a/lang/lua50/files/patch-config b/lang/lua50/files/patch-config
deleted file mode 100644
index af26d8b26550..000000000000
--- a/lang/lua50/files/patch-config
+++ /dev/null
@@ -1,11 +0,0 @@
---- config.orig Fri Apr 11 16:00:41 2003
-+++ config Wed Jul 6 00:09:46 2005
-@@ -6,7 +6,7 @@
- LOADLIB=
- DLLIB=
- NUMBER=
--POPEN=
-+POPEN= -DUSE_POPEN=1
- TMPNAM=
- DEGREES=
- USERCONF=
diff --git a/lang/lua50/pkg-descr b/lang/lua50/pkg-descr
deleted file mode 100644
index d0ed8afbd09c..000000000000
--- a/lang/lua50/pkg-descr
+++ /dev/null
@@ -1,21 +0,0 @@
-Lua is a programming language originally designed for extending applications,
-but also frequently used as a general-purpose, stand-alone language. Lua
-combines simple procedural syntax (similar to Pascal) with powerful data
-description constructs based on associative arrays and extensible semantics.
-Lua is dynamically typed, interpreted from bytecodes, and has automatic memory
-management with garbage collection, making it ideal for configuration,
-scripting, and rapid prototyping.
-
-A fundamental concept in the design of Lua is to provide meta-mechanisms for
-implementing features, instead of providing a host of features directly in
-the language. For example, although Lua is not a pure object-oriented
-language, it does provide meta-mechanisms for implementing classes and
-inheritance. Lua's meta-mechanisms bring an economy of concepts and keep the
-language small, while allowing the semantics to be extended in unconventional
-ways. Extensible semantics is a distinguishing feature of Lua.
-
-Lua is implemented as a small library of C functions, written in ANSI C, and
-compiles unmodified in all known platforms. The implementation goals are
-simplicity, efficiency, portability, and low embedding cost.
-
-WWW: http://www.lua.org/
diff --git a/lang/lua50/pkg-plist b/lang/lua50/pkg-plist
deleted file mode 100644
index 8ed37a9a4bc4..000000000000
--- a/lang/lua50/pkg-plist
+++ /dev/null
@@ -1,71 +0,0 @@
-@exec mkdir -p %D/share/lua/%%LUA_VER%%
-@exec mkdir -p %D/lib/lua/%%LUA_VER%%
-bin/lua-%%LUA_VER%%
-%%LUA_BINDIR%%/lua
-%%LUA_BINDIR%%/luac
-bin/luac-%%LUA_VER%%
-%%LUA_INCDIR%%/lauxlib.h
-%%LUA_INCDIR%%/lua.h
-%%LUA_INCDIR%%/lualib.h
-lib/liblua-%%LUA_VER%%.so
-lib/liblua-%%LUA_VER%%.so.%%LUA_VER_SH%%
-lib/liblualib-%%LUA_VER%%.so
-lib/liblualib-%%LUA_VER%%.so.%%LUA_VER_SH%%
-%%LUA_LIBDIR%%/liblua-%%LUA_VER%%.so.%%LUA_VER_SH%%
-%%LUA_LIBDIR%%/liblua.a
-%%LUA_LIBDIR%%/liblua.so
-%%LUA_LIBDIR%%/liblualib-%%LUA_VER%%.so.%%LUA_VER_SH%%
-%%LUA_LIBDIR%%/liblualib.a
-%%LUA_LIBDIR%%/liblualib.so
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/contents.html
-%%PORTDOCS%%%%DOCSDIR%%/etc/Makefile
-%%PORTDOCS%%%%DOCSDIR%%/etc/README
-%%PORTDOCS%%%%DOCSDIR%%/etc/bin2c.c
-%%PORTDOCS%%%%DOCSDIR%%/etc/compat.lua
-%%PORTDOCS%%%%DOCSDIR%%/etc/doall.lua
-%%PORTDOCS%%%%DOCSDIR%%/etc/lua.ico
-%%PORTDOCS%%%%DOCSDIR%%/etc/lua.magic
-%%PORTDOCS%%%%DOCSDIR%%/etc/lua.xpm
-%%PORTDOCS%%%%DOCSDIR%%/etc/luser_number.h
-%%PORTDOCS%%%%DOCSDIR%%/etc/luser_tests.h
-%%PORTDOCS%%%%DOCSDIR%%/etc/min.c
-%%PORTDOCS%%%%DOCSDIR%%/etc/noparser.c
-%%PORTDOCS%%%%DOCSDIR%%/etc/saconfig.c
-%%PORTDOCS%%%%DOCSDIR%%/etc/trace.c
-%%PORTDOCS%%%%DOCSDIR%%/logo.gif
-%%PORTDOCS%%%%DOCSDIR%%/lua.html
-%%PORTDOCS%%%%DOCSDIR%%/luac.html
-%%PORTDOCS%%%%DOCSDIR%%/manual.html
-%%PORTDOCS%%%%DOCSDIR%%/readme.html
-%%PORTDOCS%%%%DOCSDIR%%/test/README
-%%PORTDOCS%%%%DOCSDIR%%/test/bisect.lua
-%%PORTDOCS%%%%DOCSDIR%%/test/cf.lua
-%%PORTDOCS%%%%DOCSDIR%%/test/echo.lua
-%%PORTDOCS%%%%DOCSDIR%%/test/env.lua
-%%PORTDOCS%%%%DOCSDIR%%/test/factorial.lua
-%%PORTDOCS%%%%DOCSDIR%%/test/fib.lua
-%%PORTDOCS%%%%DOCSDIR%%/test/fibfor.lua
-%%PORTDOCS%%%%DOCSDIR%%/test/globals.lua
-%%PORTDOCS%%%%DOCSDIR%%/test/hello.lua
-%%PORTDOCS%%%%DOCSDIR%%/test/life.lua
-%%PORTDOCS%%%%DOCSDIR%%/test/luac.lua
-%%PORTDOCS%%%%DOCSDIR%%/test/printf.lua
-%%PORTDOCS%%%%DOCSDIR%%/test/readonly.lua
-%%PORTDOCS%%%%DOCSDIR%%/test/sieve.lua
-%%PORTDOCS%%%%DOCSDIR%%/test/sort.lua
-%%PORTDOCS%%%%DOCSDIR%%/test/table.lua
-%%PORTDOCS%%%%DOCSDIR%%/test/trace-calls.lua
-%%PORTDOCS%%%%DOCSDIR%%/test/trace-globals.lua
-%%PORTDOCS%%%%DOCSDIR%%/test/undefined.lua
-%%PORTDOCS%%%%DOCSDIR%%/test/xd.lua
-@dirrm share/lua/%%LUA_VER%%
-@dirrmtry share/lua
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/test
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/etc
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrm %%LUA_LIBDIR%%
-@dirrm lib/lua/%%LUA_VER%%
-@dirrmtry lib/lua
-@dirrm %%LUA_INCDIR%%
-@dirrm %%LUA_BINDIR%%