lang/lua52 5.2.4_1 FreeBSD
Small, compilable scripting language providing easy access to C code
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- lang
- Package size
- 184.7 KiB, 1023.5 KiB installed
Description
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.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | lang/lua52 | 5.2.4_1 |
| NetBSD | lang/lua52 | 5.2.4nb1 |
| DragonFly | lang/lua52 | 5.2.4_1 |
| MidnightBSD | lang/lua52 | 5.2.4_2 |
Install
Binary package:
pkg install lua52
From the ports tree:
cd /usr/ports/lang/lua52/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= lua52>0:lang/lua52
LIB_DEPENDS= liblua-5.2.so:lang/lua52
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 5.2.4_1 | 5.2.4_1 | 5.2.4 | 5.2.4_1 | 5.2.4_1 |
| FreeBSD:14:quarterly | 5.2.4_1 | 5.2.4_1 | n/a | 5.2.4_1 | 5.2.4_1 |
| FreeBSD:15:latest | 5.2.4_1 | 5.2.4_1 | n/a | 5.2.4_1 | 5.2.4_1 |
| FreeBSD:15:quarterly | 5.2.4_1 | 5.2.4_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 5.2.4_1 | 5.2.4_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 1
Run dependencies 1
Configuration
No options to configure.
- USES
- cpe libedit lua:core,52
- Service scripts
- none
Files
Manual pages 2
- lua52(1)
- luac52(1)
pkg-plist 14
- bin/lua52
- bin/luac52
- include/lua52/lauxlib.h
- include/lua52/lua.h
- include/lua52/lua.hpp
- include/lua52/luaconf.h
- include/lua52/lualib.h
- lib/liblua-5.2.a
- lib/liblua-5.2.so
- libdata/pkgconfig/lua-5.2.pc
- share/man/man1/lua52.1.gz
- share/man/man1/luac52.1.gz
- @dir lib/lua/5.2
- @dir share/lua52/5.2
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| lua-5.2.4.tar.gz | 252651 | b9e2e4aad6789b3b63a056d442f7b39f0ecfca3ae0f1fc0ae4e9614401b69f4b |
Master sites 1
- http://www.lua.org/ftp/
Commit history 0
No commits in the history this site was built from.