BSD Ports

lang/lua54 5.4.8 FreeBSD

Powerful, efficient, lightweight, embeddable scripting language

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
lang
Package size
334.5 KiB, 1751.4 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

SystemPortVersion
FreeBSDlang/lua545.4.8
NetBSDlang/lua545.4.9
DragonFlylang/lua545.4.7
MidnightBSDlang/lua545.4.8

Install

Binary package:

pkg install lua54

From the ports tree:

cd /usr/ports/lang/lua54/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	lua54>0:lang/lua54
LIB_DEPENDS=	liblua-.so:lang/lua54

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest5.4.85.4.85.4.45.4.85.4.8
FreeBSD:14:quarterly5.4.85.4.8n/a5.4.75.4.8
FreeBSD:15:latest5.4.85.4.8n/a5.4.85.4.8
FreeBSD:15:quarterly5.4.85.4.8n/an/an/a
FreeBSD:16:latest5.4.85.4.8n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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 2032

The first 100 are listed.

Configuration

Options name: lang_lua

OptionDefaultDescription
APICHECKoffEnable API checks
ASSERToffEnable interpreter assertions
DOCSoffInstall language and API reference (HTML, ~400kB)
EDITNONEoffNo command-line editing
LIBEDIToffUse libedit (breaks lcurses)
LIBEDIT_DLonUse dynamically loaded libedit (recommended)
READLINEoffUse GNU Readline (breaks lcurses)
USES
cpe lua:core,54
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
FileSizeSHA256
lua-5.4.8.tar.gz3743324f18ddae154e793e46eeab727c59ef1c0c0c2b744e7b94219710d76f530629ae
Master sites 1
  • https://www.lua.org/ftp/

Commit history 0

No commits in the history this site was built from.