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/
Replace lang/lua with the new lang/lua51
lang/lua51 is working the same way lang/lua52, chase ports using lua 5.1
Make the default lua lua52
Make all lua ports using USES=lua
Approved by: portmgr (implicit)
Link lua .so + program with pthread to prevent hangs in extensions that
use pthreads.
Bump PORTREVISION to pull this in.
PR: ports/181052
Submitted by: Vitaly Magerya <vmagerya@gmail.com>
Approved by: mandree@ on behalf of lua@
Hand over mantainership to a newly-formed lua team,
currently consisting of Matthias Andree (mandree@) and Niclas Zeising.
Approved by: garga@ (maintainer)
After some mistakes i made on this port last days, i hop^W believe this is the
last commit.
The original problem is port was broken on amd64 when you have CFLAGS= defined
on make.conf. On last commit i thought it was fixed, but no, i don't know why
but it was building without define LUA_USE_LINUX and the binary generated was
wrong.
I figured out just using GMAKE fixes everything, it respect CFLAGS= when you
have, add -fPIC for amd64 and use correct defines for building, so, lets use
gmake to build this port for now.
Pointyhats to: garga@
- Make lua respect CFLAGS= defined on /etc/make.conf and still plus -fPIC on
necessary archs.
- Remove unecessary dependency gmake
- Bump PORTREVISION because of gmake removal
Thanks to: johans@
- Merge patch-Makefile into patch-src-Makefile (both actually patch same file).
- Patch lang/lua to behave as expected by the framework.
- Add missing library dependency (only run before) when using lua 5.1.
- Add notes in bsd.lua.mk for updating lang/lua* ports describing how they are
integrated into the ports tree.
PR: ports/126207
Submitted by: Daniel Roethlisberger <daniel@roe.ch>
- Split AR parameters to ARFLAGS variable to allow redefining AR for
cross-compilation.
PR: ports/121834
Submitted by: John Hein <jhein@timing.com>
Approved by: maintainer (timeout)
- liblua.so is required in building mod_security, wireshark and possibly others
with lua support, now create a shared lib is needed.
- Bump PORTREVISION.
PR: ports/124297
Submitted by: Tomoyuki Sakurai <cherry@trombik.org>
Approved by: maintainer timeout ( > 2 weeks)