Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc textproc: Add lua-dkjson
details: https://anonhg.NetBSD.org/pkgsrc/rev/8a586511e464
branches: trunk
changeset: 435521:8a586511e464
user: nia <nia%pkgsrc.org@localhost>
date: Wed Jul 08 16:00:22 2020 +0000
description:
textproc: Add lua-dkjson
This is a JSON module written in Lua. It supports UTF-8.
dkjson is written in Lua without any dependencies, but when LPeg
is available dkjson uses it to speed up decoding.
diffstat:
textproc/Makefile | 3 ++-
textproc/lua-dkjson/DESCR | 4 ++++
textproc/lua-dkjson/Makefile | 26 ++++++++++++++++++++++++++
textproc/lua-dkjson/PLIST | 2 ++
textproc/lua-dkjson/distinfo | 6 ++++++
5 files changed, 40 insertions(+), 1 deletions(-)
diffs (71 lines):
diff -r 78cf0decfc2b -r 8a586511e464 textproc/Makefile
--- a/textproc/Makefile Wed Jul 08 15:46:52 2020 +0000
+++ b/textproc/Makefile Wed Jul 08 16:00:22 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1155 2020/07/08 11:54:53 nia Exp $
+# $NetBSD: Makefile,v 1.1156 2020/07/08 16:00:22 nia Exp $
#
COMMENT= Text processing utilities (does not include desktop publishing)
@@ -460,6 +460,7 @@
SUBDIR+= lq-sp
SUBDIR+= lua-cjson
SUBDIR+= lua-cmark
+SUBDIR+= lua-dkjson
SUBDIR+= lua-etlua
SUBDIR+= lua-expat
SUBDIR+= lua-lustache
diff -r 78cf0decfc2b -r 8a586511e464 textproc/lua-dkjson/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/lua-dkjson/DESCR Wed Jul 08 16:00:22 2020 +0000
@@ -0,0 +1,4 @@
+This is a JSON module written in Lua. It supports UTF-8.
+
+dkjson is written in Lua without any dependencies, but when LPeg
+is available dkjson uses it to speed up decoding.
diff -r 78cf0decfc2b -r 8a586511e464 textproc/lua-dkjson/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/lua-dkjson/Makefile Wed Jul 08 16:00:22 2020 +0000
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2020/07/08 16:00:22 nia Exp $
+
+DISTNAME= dkjson-2.5
+PKGNAME= ${LUA_PKGPREFIX}-${DISTNAME}
+CATEGORIES= textproc lua
+MASTER_SITES= http://dkolf.de/src/dkjson-lua.fsl/tarball/
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://dkolf.de/src/dkjson-lua.fsl/home
+COMMENT= JSON module written in Lua
+LICENSE= mit
+
+NO_BUILD= yes
+USE_LANGUAGES= # none
+
+INSTALLATION_DIRS+= ${LUA_LDIR}
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/dkjson.lua \
+ ${DESTDIR}${PREFIX}/${LUA_LDIR}/dkjson.lua
+
+do-test:
+ cd ${WRKSRC} && ${LUA_INTERPRETER} jsontest.lua
+
+.include "../../lang/lua/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 78cf0decfc2b -r 8a586511e464 textproc/lua-dkjson/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/lua-dkjson/PLIST Wed Jul 08 16:00:22 2020 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2020/07/08 16:00:22 nia Exp $
+${LUA_LDIR}/dkjson.lua
diff -r 78cf0decfc2b -r 8a586511e464 textproc/lua-dkjson/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/lua-dkjson/distinfo Wed Jul 08 16:00:22 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/07/08 16:00:22 nia Exp $
+
+SHA1 (dkjson-2.5.tar.gz) = 3c27571b08c8f66a12419b690ac5764112ccaed7
+RMD160 (dkjson-2.5.tar.gz) = fa3c87a9705e463a23593734ba520281abd210f0
+SHA512 (dkjson-2.5.tar.gz) = 91c84c662932579e8dd0a34bfb931730502981ad2937029aacd5b7ece972942c1b425ec4b0c9428935c550a060412614d6b26cb5e205c4c840f9effed7995148
+Size (dkjson-2.5.tar.gz) = 15878 bytes
Home |
Main Index |
Thread Index |
Old Index