BSD Ports

lang/lua51 5.1.5_3 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/lua515.1.5_3
FreeBSDlang/lua515.1.5_10
NetBSDlang/lua515.1.5nb3
DragonFlylang/lua515.1.5_10

Install

Binary package:

mport install lua51

From mports:

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

Dependencies

No port depends on this one.

Configuration

No options to configure.

USES
cpe libedit lua:core,51
Service scripts
none

Files

Manual pages 2
  • lua51(1)
  • luac51(1)
pkg-plist 17
  • 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
  • @dirrmtry share/lua51/5.1
  • @dirrmtry share/lua51
  • @dirrmtry lib/lua/5.1
  • @dirrmtry lib/lua
  • @dirrmtry include/lua51
distinfo 1
FileSizeSHA256
lua-5.1.5.tar.gz2212132640fc56a795f29d28ef15e13c34a47e223960b0240e8cb0a82d9b0738695333
Master sites 1
  • http://www.lua.org/ftp/