diff options
author | cpiazza <cpiazza@FreeBSD.org> | 1999-07-06 09:28:28 +0800 |
---|---|---|
committer | cpiazza <cpiazza@FreeBSD.org> | 1999-07-06 09:28:28 +0800 |
commit | d6ffb6a13b21f671019895bb5c6c72cfea95c095 (patch) | |
tree | c452e7a2914a83876c3351f252cc5def0a6c003f /lang/lua50 | |
parent | 9a817b547fe90e537c56827404d82900039439f0 (diff) | |
download | freebsd-ports-gnome-d6ffb6a13b21f671019895bb5c6c72cfea95c095.tar.gz freebsd-ports-gnome-d6ffb6a13b21f671019895bb5c6c72cfea95c095.tar.zst freebsd-ports-gnome-d6ffb6a13b21f671019895bb5c6c72cfea95c095.zip |
Lua:
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.
PR: 12459
Submitted by: Richard Kiss <richard@homemail.com>
Diffstat (limited to 'lang/lua50')
-rw-r--r-- | lang/lua50/Makefile | 33 | ||||
-rw-r--r-- | lang/lua50/distinfo | 1 | ||||
-rw-r--r-- | lang/lua50/files/patch-aa | 17 | ||||
-rw-r--r-- | lang/lua50/pkg-comment | 1 | ||||
-rw-r--r-- | lang/lua50/pkg-descr | 21 | ||||
-rw-r--r-- | lang/lua50/pkg-plist | 7 |
6 files changed, 80 insertions, 0 deletions
diff --git a/lang/lua50/Makefile b/lang/lua50/Makefile new file mode 100644 index 000000000000..eb07cbe012a2 --- /dev/null +++ b/lang/lua50/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: lua +# Version required: 3.1 +# Date created: 27 June 1999 +# Whom: Richard Kiss <richard@homemail.com> +# +# $Id$ +# + +DISTNAME= lua-3.1 +CATEGORIES= lang +MASTER_SITES= ftp://ftp.tecgraf.puc-rio.br/pub/lua/ \ + ftp://csg.uwaterloo.ca/pub/lhf/lua/ \ + ftp://ftp.cdrom.com/pub/languages/lua/ \ + ftp://ftp.ntua.gr/pub/lang/lua/ \ + ftp://ftp.uni-trier.de/pub/languages/lua/ \ + ftp://ftp.gwdg.de/pub/languages/lua/ + +MAINTAINER= richard@homemail.com + +MAN1= luac.1 +WRKSRC= ${WRKDIR}/lua + +do-install: + @ ${MKDIR} ${PREFIX}/share/doc/lua + @ ${INSTALL_PROGRAM} ${WRKSRC}/bin/lua ${PREFIX}/bin + @ ${INSTALL_PROGRAM} ${WRKSRC}/bin/luac ${PREFIX}/bin + @ ${INSTALL_MAN} ${WRKSRC}/doc/luac.man ${PREFIX}/man/man1/luac.1 + @ ${INSTALL_DATA} ${WRKSRC}/doc/idx.html ${PREFIX}/share/doc/lua + @ ${INSTALL_DATA} ${WRKSRC}/doc/index.html ${PREFIX}/share/doc/lua + @ ${INSTALL_DATA} ${WRKSRC}/doc/luac.html ${PREFIX}/share/doc/lua + @ ${INSTALL_DATA} ${WRKSRC}/doc/manual.html ${PREFIX}/share/doc/lua + +.include <bsd.port.mk> diff --git a/lang/lua50/distinfo b/lang/lua50/distinfo new file mode 100644 index 000000000000..f55e08bb1cca --- /dev/null +++ b/lang/lua50/distinfo @@ -0,0 +1 @@ +MD5 (lua-3.1.tar.gz) = d677f3827167eefdefc7b211397cfdfb diff --git a/lang/lua50/files/patch-aa b/lang/lua50/files/patch-aa new file mode 100644 index 000000000000..101f1a83e236 --- /dev/null +++ b/lang/lua50/files/patch-aa @@ -0,0 +1,17 @@ +--- config.orig Tue Jul 6 18:17:42 1999 ++++ config Tue Jul 6 18:18:03 1999 +@@ -3,7 +3,7 @@ + # == CHANGE THE SETTINGS BELOW TO SUIT YOUR ENVIRONMENT ====================== + + # you need an ANSI C compiler. gcc is a popular one. +-CC= gcc ++CC?= gcc + WARN= -ansi -Wall + + # on SGI's, cc is ANSI. +@@ -51,4 +51,4 @@ + INCS= -I$(INC) $(EXTRA_INCS) + DEFS= $(COMPAT) $(NUMBER) $(OLD_ANSI) $(EXTRA_DEFS) + +-CFLAGS= -O2 $(WARN) $(INCS) $(DEFS) ++CFLAGS+= $(WARN) $(INCS) $(DEFS) diff --git a/lang/lua50/pkg-comment b/lang/lua50/pkg-comment new file mode 100644 index 000000000000..2ba3321e13d8 --- /dev/null +++ b/lang/lua50/pkg-comment @@ -0,0 +1 @@ +Small, compilable scripting language providing easy access to C code diff --git a/lang/lua50/pkg-descr b/lang/lua50/pkg-descr new file mode 100644 index 000000000000..a232582174e2 --- /dev/null +++ b/lang/lua50/pkg-descr @@ -0,0 +1,21 @@ +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. + +WWW: http://www.tecgraf.puc-rio.br/lua/ diff --git a/lang/lua50/pkg-plist b/lang/lua50/pkg-plist new file mode 100644 index 000000000000..e9e4b9b78eec --- /dev/null +++ b/lang/lua50/pkg-plist @@ -0,0 +1,7 @@ +bin/lua +bin/luac +share/doc/lua/idx.html +share/doc/lua/index.html +share/doc/lua/luac.html +share/doc/lua/manual.html +@dirrm share/doc/lua |