BSD Ports

lang/lua52 5.2.4_2 MidnightBSD

Small, compilable scripting language providing easy access to C code

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
mit
Categories
lang

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
MidnightBSDlang/lua525.2.4_2
FreeBSDlang/lua525.2.4_1
NetBSDlang/lua525.2.4nb1
DragonFlylang/lua525.2.4_1
HardenedBSDlang/lua525.2.4_1
GhostBSDlang/lua525.2.4_1

Install

Binary package:

mport install lua52

From mports:

cd /usr/mports/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

Dependencies

No port depends on this one.

Configuration

No options to configure.

USES
cpe libedit lua:core,52
Service scripts
none

Files

Manual pages 2
  • lua52(1)
  • luac52(1)
pkg-plist 17
  • 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
  • @dirrmtry share/lua52/5.2
  • @dirrmtry share/lua52
  • @dirrmtry lib/lua/5.2
  • @dirrmtry lib/lua
  • @dirrmtry include/lua52
distinfo 1
FileSizeSHA256
lua-5.2.4.tar.gz252651b9e2e4aad6789b3b63a056d442f7b39f0ecfca3ae0f1fc0ae4e9614401b69f4b
Master sites 1
  • http://www.lua.org/ftp/