pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu Jul  9 13:34:02 UTC 2020

Modified Files:
        pkgsrc/devel: Makefile
Added Files:
        pkgsrc/devel/lua-loadkit: DESCR Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.3167 -r1.3168 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/lua-loadkit/DESCR \
    pkgsrc/devel/lua-loadkit/Makefile pkgsrc/devel/lua-loadkit/PLIST \
    pkgsrc/devel/lua-loadkit/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.3167 pkgsrc/devel/Makefile:1.3168
--- pkgsrc/devel/Makefile:1.3167        Thu Jul  9 13:15:45 2020
+++ pkgsrc/devel/Makefile       Thu Jul  9 13:34:02 2020
@@ -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-filesystem
 SUBDIR+=       lua-gi
 SUBDIR+=       lua-inspect
 SUBDIR+=       lua-ljsyscall
+SUBDIR+=       lua-loadkit
 SUBDIR+=       lua-lpeg
 SUBDIR+=       lua-lpeg-patterns
 SUBDIR+=       lua-lrexlib

Added files:

Index: pkgsrc/devel/lua-loadkit/DESCR
diff -u /dev/null pkgsrc/devel/lua-loadkit/DESCR:1.1
--- /dev/null   Thu Jul  9 13:34:02 2020
+++ pkgsrc/devel/lua-loadkit/DESCR      Thu Jul  9 13:34:02 2020
@@ -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.
Index: pkgsrc/devel/lua-loadkit/Makefile
diff -u /dev/null pkgsrc/devel/lua-loadkit/Makefile:1.1
--- /dev/null   Thu Jul  9 13:34:02 2020
+++ pkgsrc/devel/lua-loadkit/Makefile   Thu Jul  9 13:34:02 2020
@@ -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"
Index: pkgsrc/devel/lua-loadkit/PLIST
diff -u /dev/null pkgsrc/devel/lua-loadkit/PLIST:1.1
--- /dev/null   Thu Jul  9 13:34:02 2020
+++ pkgsrc/devel/lua-loadkit/PLIST      Thu Jul  9 13:34:02 2020
@@ -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
Index: pkgsrc/devel/lua-loadkit/distinfo
diff -u /dev/null pkgsrc/devel/lua-loadkit/distinfo:1.1
--- /dev/null   Thu Jul  9 13:34:02 2020
+++ pkgsrc/devel/lua-loadkit/distinfo   Thu Jul  9 13:34:02 2020
@@ -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