FreeBSD Ports

lang/lua51 5.1.5_10

Small, compilable scripting language providing easy access to C code

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

Install

As a binary package — by origin, or by package name:

pkg install lang/lua51
pkg install lua51

From the ports tree:

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

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

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

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.1.5_105.1.5_105.1.5_95.1.5_105.1.5_10
FreeBSD:14:quarterly5.1.5_105.1.5_10n/a5.1.5_105.1.5_10
FreeBSD:15:latest5.1.5_105.1.5_10n/a5.1.5_105.1.5_10
FreeBSD:15:quarterly5.1.5_105.1.5_10n/an/an/a
FreeBSD:16:latest5.1.5_105.1.5_10n/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.

All build dependencies 1
All run dependencies 1
Required by 108

The first 100 are listed.

Configuration

No options to configure.

USES
cpe libedit lua:core,51
Service scripts
none

Files

Manual pages 2
  • lua51(1)
  • luac51(1)
pkg-plist 14
  • bin/lua51
  • bin/luac51
  • include/lua51/lauxlib.h
  • include/lua51/lua.h
  • include/lua51/lua.hpp
  • include/lua51/luaconf.h
  • include/lua51/lualib.h
  • lib/liblua-5.1.a
  • lib/liblua-5.1.so
  • libdata/pkgconfig/lua-5.1.pc
  • share/man/man1/lua51.1.gz
  • share/man/man1/luac51.1.gz
  • @dir lib/lua/5.1
  • @dir share/lua51/5.1
distinfo 1
FileSizeSHA256
lua-5.1.5.tar.gz2212132640fc56a795f29d28ef15e13c34a47e223960b0240e8cb0a82d9b0738695333
Master sites 1
  • http://www.lua.org/ftp/

Commit history 0

No commits in the history this site was built from.