luavenv-1.0, library to execute lua chunks in separate environments
from pedro@
This commit is contained in:
parent
fd37b36d5f
commit
6362098620
36
devel/luavenv/Makefile
Normal file
36
devel/luavenv/Makefile
Normal file
@ -0,0 +1,36 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2005/05/18 03:04:00 jolan Exp $
|
||||
|
||||
COMMENT= "library to execute lua chunks in separate environments"
|
||||
|
||||
DISTNAME= venv-1.0
|
||||
PKGNAME= luavenv-1.0
|
||||
CATEGORIES= devel
|
||||
|
||||
MASTER_SITES= http://luaforge.net/frs/download.php/264/
|
||||
HOMEPAGE= http://www.keplerproject.org/venv/
|
||||
|
||||
MAINTAINER= Pedro Martelletto <pedro@openbsd.org>
|
||||
|
||||
# MIT
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
NO_BUILD= Yes
|
||||
NO_REGRESS= Yes
|
||||
BUILD_DEPENDS= ::lang/lua ::devel/luacompat
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
post-extract:
|
||||
@sed -e "s:@luavenvpath@:${PREFIX}/lua/luavenv/?.lua:g" \
|
||||
${FILESDIR}/init.lua > ${WRKSRC}/init.lua
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/lua/luavenv
|
||||
${INSTALL_DATA} ${WRKSRC}/init.lua ${PREFIX}/lua/luavenv/init.lua
|
||||
${INSTALL_DATA} ${WRKSRC}/venv.lua ${PREFIX}/lua/luavenv/venv.lua
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/luavenv
|
||||
${INSTALL_DATA} ${WRKSRC}/*.{html,png} ${PREFIX}/share/doc/luavenv
|
||||
|
||||
.include <bsd.port.mk>
|
4
devel/luavenv/distinfo
Normal file
4
devel/luavenv/distinfo
Normal file
@ -0,0 +1,4 @@
|
||||
MD5 (venv-1.0.tar.gz) = 9a272fe0439396df908fada6b5551c8c
|
||||
RMD160 (venv-1.0.tar.gz) = 4d5cd3c3e08d49143311b46f62f309114781d993
|
||||
SHA1 (venv-1.0.tar.gz) = 5fd3812d4c47bd722c11238fb5a9a69d12196b43
|
||||
SIZE (venv-1.0.tar.gz) = 13499
|
3
devel/luavenv/files/init.lua
Normal file
3
devel/luavenv/files/init.lua
Normal file
@ -0,0 +1,3 @@
|
||||
-- $OpenBSD: init.lua,v 1.1.1.1 2005/05/18 03:04:00 jolan Exp $
|
||||
-- luavenv's initialization steps
|
||||
lua_addpath("@luavenvpath@")
|
3
devel/luavenv/pkg/DESCR
Normal file
3
devel/luavenv/pkg/DESCR
Normal file
@ -0,0 +1,3 @@
|
||||
Lua Virtual Environment is a simple library which provides a way to
|
||||
execute a Lua function in a separate environment, protecting the
|
||||
original one.
|
10
devel/luavenv/pkg/PLIST
Normal file
10
devel/luavenv/pkg/PLIST
Normal file
@ -0,0 +1,10 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2005/05/18 03:04:00 jolan Exp $
|
||||
@unexec lua ${SYSCONFDIR}/lua/luapkg.lua del luavenv
|
||||
lua/luavenv/
|
||||
lua/luavenv/init.lua
|
||||
lua/luavenv/venv.lua
|
||||
@exec lua ${SYSCONFDIR}/lua/luapkg.lua add luavenv ${PREFIX}/lua/luavenv/init.lua
|
||||
share/doc/luavenv/
|
||||
share/doc/luavenv/index.html
|
||||
share/doc/luavenv/license.html
|
||||
share/doc/luavenv/venv.png
|
Loading…
Reference in New Issue
Block a user