Thu Aug 6 23:08:29 2020 UTC ()
Add lua-repl-0.9:

REPL.lua provides a reusable Read-Execute-Print loop for Lua. It can be
used as alternative to the standalone interpreter included with Lua, one
that supports things like plugins, tab completion, and automatic
insertion of return in front of expressions.

It can also provide a REPL library you may embed in your application, to
provide all of the niceties of the standalone interpreter included with
Lua and then some.


(joerg)
diff -r0 -r1.1 pkgsrc/devel/lua-repl/ALTERNATIVES
diff -r0 -r1.1 pkgsrc/devel/lua-repl/DESCR
diff -r0 -r1.1 pkgsrc/devel/lua-repl/Makefile
diff -r0 -r1.1 pkgsrc/devel/lua-repl/PLIST
diff -r0 -r1.1 pkgsrc/devel/lua-repl/distinfo

File Added: pkgsrc/devel/lua-repl/ALTERNATIVES
bin/luarep @PREFIX@/bin/luarep-@LUADOTVER@

File Added: pkgsrc/devel/lua-repl/DESCR
REPL.lua provides a reusable Read-Execute-Print loop for Lua. It can be
used as alternative to the standalone interpreter included with Lua, one
that supports things like plugins, tab completion, and automatic
insertion of return in front of expressions.

It can also provide a REPL library you may embed in your application, to
provide all of the niceties of the standalone interpreter included with
Lua and then some.

File Added: pkgsrc/devel/lua-repl/Makefile
# $NetBSD: Makefile,v 1.1 2020/08/06 23:08:29 joerg Exp $

DISTNAME=	repl-0.9
PKGNAME=	${LUA_PKGPREFIX}-${DISTNAME}
CATEGORIES=	devel lua
MASTER_SITES=	${MASTER_SITE_GITHUB:=hoelzro/}
GITHUB_PROJECT=	lua-repl
GITHUB_TAG=	${PKGVERSION_NOREV}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://github.com/hoelzro/lua-linenoise/
COMMENT=	REPL library for Lua
LICENSE=	mit

NO_BUILD=	yes

INSTALLATION_DIRS+=	bin ${LUA_LDIR}/repl/plugins

PLIST_SUBST+=		LUADOTVER=${_LUA_DOT_VERSION}

REPLACE_LUA+=	rep.lua

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/rep.lua ${DESTDIR}${PREFIX}/bin/luarep-${_LUA_DOT_VERSION}
	${INSTALL_DATA} ${WRKSRC}/repl/*.lua \
		${DESTDIR}${PREFIX}/${LUA_LDIR}/repl
	${INSTALL_DATA} ${WRKSRC}/repl/plugins/*.lua \
		${DESTDIR}${PREFIX}/${LUA_LDIR}/repl/plugins

.include "../../lang/lua/application.mk"
.include "../../lang/lua/module.mk"
.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/devel/lua-repl/PLIST
@comment $NetBSD: PLIST,v 1.1 2020/08/06 23:08:29 joerg Exp $
bin/luarep-${LUADOTVER}
${LUA_LDIR}/repl/compat.lua
${LUA_LDIR}/repl/console.lua
${LUA_LDIR}/repl/init.lua
${LUA_LDIR}/repl/plugins/autoreturn.lua
${LUA_LDIR}/repl/plugins/completion.lua
${LUA_LDIR}/repl/plugins/example.lua
${LUA_LDIR}/repl/plugins/filename_completion.lua
${LUA_LDIR}/repl/plugins/history.lua
${LUA_LDIR}/repl/plugins/keep_last_eval.lua
${LUA_LDIR}/repl/plugins/linenoise.lua
${LUA_LDIR}/repl/plugins/pretty_print.lua
${LUA_LDIR}/repl/plugins/rcfile.lua
${LUA_LDIR}/repl/plugins/rlwrap.lua
${LUA_LDIR}/repl/plugins/semicolon_suppress_output.lua
${LUA_LDIR}/repl/sync.lua
${LUA_LDIR}/repl/utils.lua

File Added: pkgsrc/devel/lua-repl/distinfo
$NetBSD: distinfo,v 1.1 2020/08/06 23:08:29 joerg Exp $

SHA1 (repl-0.9.tar.gz) = b2059211bc1e791523ac5c35ba9a50cf89102563
RMD160 (repl-0.9.tar.gz) = 42265fc90e64f3382a02af03e053be5813ec75a9
SHA512 (repl-0.9.tar.gz) = 7fdc4a70e149be11f14b59a3143b825fb1a35fc1595039380b13c5e56e9211107629cf33444f2fce5518c92ee02009ca98a8317c50265d102450e720164a355b
Size (repl-0.9.tar.gz) = 23524 bytes