Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jun 1999 01:08:38 -0700 (PDT)
From:      Richard Kiss <kiss@kalamalka.gizzywump.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/12459: new port
Message-ID:  <199906300808.BAA50419@kalamalka.gizzywump.com>

next in thread | raw e-mail | index | archive | help

>Number:         12459
>Category:       ports
>Synopsis:       new port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 30 01:10:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Richard Kiss
>Release:        FreeBSD 3.2-STABLE i386
>Organization:
>Environment:
	

>Description:
	A new port: lua-3.1

>How-To-Repeat:

>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	.
#	./Makefile
#	./files
#	./files/md5
#	./pkg
#	./pkg/COMMENT
#	./pkg/DESCR
#	./pkg/PLIST
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# New ports collection makefile for: 	lua
X# Version required: 			3.1
X# Date created:				27 June 1999
X# Whom:					Richard Kiss <richard@homemail.com>
X#
X# $Id$
X#
X
XDISTNAME=	lua-3.1
XCATEGORIES=	lang
XMASTER_SITES=	ftp://ftp.tecgraf.puc-rio.br/pub/lua/ \
X		ftp://csg.uwaterloo.ca/pub/lhf/lua/ \
X		ftp://ftp.cdrom.com/pub/languages/lua/ \
X		ftp://ftp.ntua.gr/pub/lang/lua/ \
X		ftp://ftp.uni-trier.de/pub/languages/lua/ \
X		ftp://ftp.gwdg.de/pub/languages/lua/
X
XMAINTAINER=	richard@homemail.com
X
XMAN1=		luac.1
XWRKSRC=         ${WRKDIR}/lua/
X
Xpost-patch:
X	@ ${CP} ${WRKSRC}/doc/luac.man ${WRKSRC}/doc/luac.1
X
Xdo-install:
X	@ ${MKDIR} ${PREFIX}/share/doc/lua
X	@ ${INSTALL_PROGRAM} ${WRKSRC}/bin/lua ${PREFIX}/bin
X	@ ${INSTALL_PROGRAM} ${WRKSRC}/bin/luac ${PREFIX}/bin
X	@ ${INSTALL_MAN} ${WRKSRC}/doc/luac.1 ${PREFIX}/man/man1
X	@ ${INSTALL_DATA} ${WRKSRC}/doc/idx.html ${PREFIX}/share/doc/lua
X	@ ${INSTALL_DATA} ${WRKSRC}/doc/index.html ${PREFIX}/share/doc/lua
X	@ ${INSTALL_DATA} ${WRKSRC}/doc/luac.html ${PREFIX}/share/doc/lua
X	@ ${INSTALL_DATA} ${WRKSRC}/doc/manual.html ${PREFIX}/share/doc/lua
X
Xpost-install:
X	strip ${PREFIX}/bin/lua
X	strip ${PREFIX}/bin/luac
X
X.include <bsd.port.mk>
END-of-./Makefile
echo c - ./files
mkdir -p ./files > /dev/null 2>&1
echo x - ./files/md5
sed 's/^X//' >./files/md5 << 'END-of-./files/md5'
XMD5 (lua-3.1.tar.gz) = d677f3827167eefdefc7b211397cfdfb
END-of-./files/md5
echo c - ./pkg
mkdir -p ./pkg > /dev/null 2>&1
echo x - ./pkg/COMMENT
sed 's/^X//' >./pkg/COMMENT << 'END-of-./pkg/COMMENT'
XSmall, compilable scripting language providing easy access to C code.
END-of-./pkg/COMMENT
echo x - ./pkg/DESCR
sed 's/^X//' >./pkg/DESCR << 'END-of-./pkg/DESCR'
XFrom the official Lua home page at <http://www.tecgraf.puc-rio.br/lua/>:
X
XLua is a programming language originally designed for extending applications,
Xbut also frequently used as a general-purpose, stand-alone language. Lua
Xcombines simple procedural syntax (similar to Pascal) with powerful data
Xdescription constructs based on associative arrays and extensible semantics.
XLua is dynamically typed, interpreted from bytecodes, and has automatic memory
Xmanagement with garbage collection, making it ideal for configuration,
Xscripting, and rapid prototyping. 
X
XA fundamental concept in the design of Lua is to provide meta-mechanisms for
Ximplementing features, instead of providing a host of features directly in
Xthe language. For example, although Lua is not a pure object-oriented
Xlanguage, it does provide meta-mechanisms for implementing classes and
Xinheritance. Lua's meta-mechanisms bring an economy of concepts and keep the
Xlanguage small, while allowing the semantics to be extended in unconventional
Xways. Extensible semantics is a distinguishing feature of Lua. 
X
XLua is implemented as a small library of C functions, written in ANSI C, and
Xcompiles unmodified in all known platforms. The implementation goals are
Xsimplicity, efficiency, portability, and low embedding cost. 
END-of-./pkg/DESCR
echo x - ./pkg/PLIST
sed 's/^X//' >./pkg/PLIST << 'END-of-./pkg/PLIST'
Xbin/lua
Xbin/luac
Xshare/doc/lua/idx.html
Xshare/doc/lua/index.html
Xshare/doc/lua/luac.html
Xshare/doc/lua/manual.html
X@dirrm share/doc/lua
END-of-./pkg/PLIST
exit



>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906300808.BAA50419>