BSD Ports

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

SystemPortVersion
FreeBSDlang/lua555.5.1
NetBSDlang/lua555.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest5.5.15.5.1--5.5.1
FreeBSD:14:quarterly5.5.15.5.1n/a-5.5.1
FreeBSD:15:latest5.5.15.5.1n/a--
FreeBSD:15:quarterly5.5.15.5.1n/an/an/a
FreeBSD:16:latest5.5.15.5.1n/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

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)
READLINE_DLoffUse 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
FileSizeSHA256
lua-5.5.1.tar.gz3986431c4b4068d67061f2a2231ad2b5422e77acea1487ea9890f6320af614f4373dce
Master sites 1
  • https://www.lua.org/ftp/

Commit history 1

DateCommitCreditsLog message
d3007511d7 Hiroki Tagato lang/lua55: Update to 5.5.1
Changelog: https://www.lua.org/bugs.html#5.5.1 Reported by: portscout