Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel devel: add lua-loadkit



details:   https://anonhg.NetBSD.org/pkgsrc/rev/188c919352f0
branches:  trunk
changeset: 435572:188c919352f0
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu Jul 09 13:34:02 2020 +0000

description:
devel: add lua-loadkit

Loadkit allows you to load arbitrary files within the Lua package path.

A project like MoonScript uses a technique like this to let you load compiled
MoonScript as you would load Lua making the integration seamless.

diffstat:

 devel/Makefile             |   3 ++-
 devel/lua-loadkit/DESCR    |   4 ++++
 devel/lua-loadkit/Makefile |  28 ++++++++++++++++++++++++++++
 devel/lua-loadkit/PLIST    |   3 +++
 devel/lua-loadkit/distinfo |   6 ++++++
 5 files changed, 43 insertions(+), 1 deletions(-)

diffs (74 lines):

diff -r c586a7c79895 -r 188c919352f0 devel/Makefile
--- a/devel/Makefile    Thu Jul 09 13:25:12 2020 +0000
+++ b/devel/Makefile    Thu Jul 09 13:34:02 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3167 2020/07/09 13:15:45 nia Exp $
+# $NetBSD: Makefile,v 1.3168 2020/07/09 13:34:02 nia Exp $
 #
 
 COMMENT=       Development utilities
@@ -862,6 +862,7 @@
 SUBDIR+=       lua-gi
 SUBDIR+=       lua-inspect
 SUBDIR+=       lua-ljsyscall
+SUBDIR+=       lua-loadkit
 SUBDIR+=       lua-lpeg
 SUBDIR+=       lua-lpeg-patterns
 SUBDIR+=       lua-lrexlib
diff -r c586a7c79895 -r 188c919352f0 devel/lua-loadkit/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-loadkit/DESCR   Thu Jul 09 13:34:02 2020 +0000
@@ -0,0 +1,4 @@
+Loadkit allows you to load arbitrary files within the Lua package path.
+
+A project like MoonScript uses a technique like this to let you load compiled
+MoonScript as you would load Lua making the integration seamless.
diff -r c586a7c79895 -r 188c919352f0 devel/lua-loadkit/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-loadkit/Makefile        Thu Jul 09 13:34:02 2020 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2020/07/09 13:34:02 nia Exp $
+
+DISTNAME=      loadkit-1.1.0
+PKGNAME=       ${LUA_PKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel lua
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=leafo/}
+GITHUB_PROJECT=        loadkit
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/leafo/loadkit
+COMMENT=       Allows you to load arbitrary files within the Lua package path
+LICENSE=       mit
+
+USE_LANGUAGES= # none
+NO_BUILD=      yes
+
+INSTALLATION_DIRS+=    ${LUA_LDIR}
+INSTALLATION_DIRS+=    share/doc/${PKGNAME_NOREV}
+
+do-install:
+       ${INSTALL_DATA} ${WRKSRC}/README.md \
+               ${DESTDIR}${PREFIX}/share/doc/${PKGNAME_NOREV}
+       ${INSTALL_DATA} ${WRKSRC}/loadkit.lua \
+               ${DESTDIR}${PREFIX}/${LUA_LDIR}/loadkit.lua
+
+.include "../../lang/lua/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r c586a7c79895 -r 188c919352f0 devel/lua-loadkit/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-loadkit/PLIST   Thu Jul 09 13:34:02 2020 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2020/07/09 13:34:02 nia Exp $
+share/doc/${PKGNAME}/README.md
+${LUA_LDIR}/loadkit.lua
diff -r c586a7c79895 -r 188c919352f0 devel/lua-loadkit/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-loadkit/distinfo        Thu Jul 09 13:34:02 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/07/09 13:34:02 nia Exp $
+
+SHA1 (loadkit-1.1.0.tar.gz) = 21d3c7cf2e34282609c2b4fb35eb09b4d510ebc1
+RMD160 (loadkit-1.1.0.tar.gz) = 37c15361766e3a62f3a5e2e21612216309ef1943
+SHA512 (loadkit-1.1.0.tar.gz) = 1d4405d8c2819f4293117df06b1587d190b9925fe77e4d055400b4610813b771b8d7f7fef78e5884ebd494b78fc51c94eb5b5b677b6ec532309b9b489e738457
+Size (loadkit-1.1.0.tar.gz) = 5844 bytes



Home | Main Index | Thread Index | Old Index