lang/lua55 5.5.1 FreeBSD
Powerful, efficient, lightweight, embeddable scripting language
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
d3007511d7- License
- MIT
- Categories
- lang
- Package size
- 348.8 KiB, 1847.3 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/lua55 | 5.5.1 |
| NetBSD | lang/lua55 | 5.5.1 |
Install
Binary package:
pkg install lua55
From the ports tree:
cd /usr/ports/lang/lua55/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= lua55>0:lang/lua55
LIB_DEPENDS= liblua-.so:lang/lua55
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.5.1 | 5.5.1 | - | - | 5.5.1 |
| FreeBSD:14:quarterly | 5.5.1 | 5.5.1 | n/a | - | 5.5.1 |
| FreeBSD:15:latest | 5.5.1 | 5.5.1 | n/a | - | - |
| FreeBSD:15:quarterly | 5.5.1 | 5.5.1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 5.5.1 | 5.5.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
Required by 2
Configuration
Options name: lang_lua
| Option | Default | Description |
|---|---|---|
| APICHECK | off | Enable API checks |
| ASSERT | off | Enable interpreter assertions |
| DOCS | off | Install language and API reference (HTML, ~400kB) |
| EDITNONE | off | No command-line editing |
| LIBEDIT | off | Use libedit (breaks lcurses) |
| LIBEDIT_DL | on | Use dynamically loaded libedit (recommended) |
| READLINE | off | Use GNU Readline (breaks lcurses) |
| READLINE_DL | off | Use dynamically loaded GNU readline |
- USES
- cpe lua:core,55
- Service scripts
- none
Files
Manual pages 2
- lua(1)
- luac(1)
pkg-plist 14
- bin/lua
- bin/luac
- %%LUA_INCDIR%%/lauxlib.h
- %%LUA_INCDIR%%/lua.h
- %%LUA_INCDIR%%/lua.hpp
- %%LUA_INCDIR%%/luaconf.h
- %%LUA_INCDIR%%/lualib.h
- lib/liblua-.a
- lib/liblua-.so
- libdata/pkgconfig/lua-.pc
- share/man/man1/lua.1.gz
- share/man/man1/luac.1.gz
- @dir
- @dir
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| lua-5.5.1.tar.gz | 398643 | 1c4b4068d67061f2a2231ad2b5422e77acea1487ea9890f6320af614f4373dce |
Master sites 1
- https://www.lua.org/ftp/