diff options
Diffstat (limited to 'lang/lua50')
-rw-r--r-- | lang/lua50/Makefile | 43 | ||||
-rw-r--r-- | lang/lua50/distinfo | 1 | ||||
-rw-r--r-- | lang/lua50/files/patch-aa | 19 | ||||
-rw-r--r-- | lang/lua50/files/patch-ab | 20 | ||||
-rw-r--r-- | lang/lua50/pkg-comment | 1 | ||||
-rw-r--r-- | lang/lua50/pkg-descr | 22 | ||||
-rw-r--r-- | lang/lua50/pkg-plist | 13 |
7 files changed, 0 insertions, 119 deletions
diff --git a/lang/lua50/Makefile b/lang/lua50/Makefile deleted file mode 100644 index be114a6760ec..000000000000 --- a/lang/lua50/Makefile +++ /dev/null @@ -1,43 +0,0 @@ -# New ports collection makefile for: lua -# Date created: 27 June 1999 -# Whom: Richard Kiss <richard@homemail.com> -# -# $FreeBSD$ -# - -PORTNAME= lua -PORTVERSION= 4.0 -PORTREVISION= 1 -CATEGORIES= lang -MASTER_SITES= 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= richard@homemail.com - -MAN1= luac.1 -WRKSRC= ${WRKDIR}/lua - -do-install: - @ ${MKDIR} ${PREFIX}/share/doc/lua - @ ${INSTALL_PROGRAM} ${WRKSRC}/bin/lua ${PREFIX}/bin - @ ${INSTALL_PROGRAM} ${WRKSRC}/bin/luac ${PREFIX}/bin - @ ${INSTALL_MAN} ${WRKSRC}/doc/luac.1 ${PREFIX}/man/man1/luac.1 - @ ${INSTALL_DATA} ${WRKSRC}/doc/idx.html ${PREFIX}/share/doc/lua - @ ${INSTALL_DATA} ${WRKSRC}/doc/index.html ${PREFIX}/share/doc/lua - @ ${INSTALL_DATA} ${WRKSRC}/doc/luac.html ${PREFIX}/share/doc/lua - @ ${INSTALL_DATA} ${WRKSRC}/doc/manual.html ${PREFIX}/share/doc/lua - @ ${INSTALL_DATA} ${WRKSRC}/include/lua.h ${PREFIX}/include - @ ${INSTALL_DATA} ${WRKSRC}/include/luadebug.h ${PREFIX}/include - @ ${INSTALL_DATA} ${WRKSRC}/include/lualib.h ${PREFIX}/include - @ ${INSTALL_DATA} ${WRKSRC}/include/lauxlib.h ${PREFIX}/include - @ ${INSTALL_DATA} ${WRKSRC}/lib/liblua.a ${PREFIX}/lib - @ ${INSTALL_DATA} ${WRKSRC}/lib/liblualib.a ${PREFIX}/lib - -post-install: - @strip ${PREFIX}/bin/lua - @strip ${PREFIX}/bin/luac - -.include <bsd.port.mk> diff --git a/lang/lua50/distinfo b/lang/lua50/distinfo deleted file mode 100644 index a371d27024c6..000000000000 --- a/lang/lua50/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (lua-4.0.tar.gz) = be11522d46d33a931868c03694aaeeef diff --git a/lang/lua50/files/patch-aa b/lang/lua50/files/patch-aa deleted file mode 100644 index 44a4a2a5d1bc..000000000000 --- a/lang/lua50/files/patch-aa +++ /dev/null @@ -1,19 +0,0 @@ ---- config Mon Nov 6 12:28:20 2000 -+++ config.new Tue Jan 2 15:51:57 2001 -@@ -28,7 +28,6 @@ - # ------------------------------------------------------------------ C compiler - - # You need an ANSI C compiler. gcc is a popular one. --CC= gcc - WARN= -ansi -pedantic -Wall - - # On IRIX, cc is a good ANSI compiler. -@@ -93,7 +93,7 @@ - INCS= -I$(INC) $(EXTRA_INCS) - DEFS= $(COMPAT) $(NUMBER) $(OLD_ANSI) $(EXTRA_DEFS) - --CFLAGS= -O2 $(WARN) $(INCS) $(DEFS) -+CFLAGS+= $(WARN) $(INCS) $(DEFS) - - V=4.0 - diff --git a/lang/lua50/files/patch-ab b/lang/lua50/files/patch-ab deleted file mode 100644 index b7fbfba0f970..000000000000 --- a/lang/lua50/files/patch-ab +++ /dev/null @@ -1,20 +0,0 @@ ---- src/lib/lmathlib.c.orig Mon Apr 30 00:05:45 2001 -+++ src/lib/lmathlib.c Mon Apr 30 00:06:05 2001 -@@ -168,7 +168,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 */ -- double r = (double)(rand()%RAND_MAX) / (double)RAND_MAX; -+ double r = (double)(random()%RAND_MAX) / (double)RAND_MAX; - switch (lua_gettop(L)) { /* check number of arguments */ - case 0: { /* no arguments */ - lua_pushnumber(L, r); /* Number between 0 and 1 */ -@@ -194,7 +194,7 @@ - - - static int math_randomseed (lua_State *L) { -- srand(luaL_check_int(L, 1)); -+ srandom(luaL_check_int(L, 1)); - return 0; - } - diff --git a/lang/lua50/pkg-comment b/lang/lua50/pkg-comment deleted file mode 100644 index 2ba3321e13d8..000000000000 --- a/lang/lua50/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Small, compilable scripting language providing easy access to C code diff --git a/lang/lua50/pkg-descr b/lang/lua50/pkg-descr deleted file mode 100644 index 8083b0206c3c..000000000000 --- a/lang/lua50/pkg-descr +++ /dev/null @@ -1,22 +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/ -WWW: http://www.tecgraf.puc-rio.br/lua/ diff --git a/lang/lua50/pkg-plist b/lang/lua50/pkg-plist deleted file mode 100644 index eeb818a5e377..000000000000 --- a/lang/lua50/pkg-plist +++ /dev/null @@ -1,13 +0,0 @@ -bin/lua -bin/luac -include/lauxlib.h -include/lua.h -include/luadebug.h -include/lualib.h -lib/liblua.a -lib/liblualib.a -share/doc/lua/idx.html -share/doc/lua/index.html -share/doc/lua/luac.html -share/doc/lua/manual.html -@dirrm share/doc/lua |