pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Jul  8 16:00:22 UTC 2020

Modified Files:
        pkgsrc/textproc: Makefile
Added Files:
        pkgsrc/textproc/lua-dkjson: DESCR Makefile PLIST distinfo

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


To generate a diff of this commit:
cvs rdiff -u -r1.1155 -r1.1156 pkgsrc/textproc/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/lua-dkjson/DESCR \
    pkgsrc/textproc/lua-dkjson/Makefile pkgsrc/textproc/lua-dkjson/PLIST \
    pkgsrc/textproc/lua-dkjson/distinfo

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

Modified files:

Index: pkgsrc/textproc/Makefile
diff -u pkgsrc/textproc/Makefile:1.1155 pkgsrc/textproc/Makefile:1.1156
--- pkgsrc/textproc/Makefile:1.1155     Wed Jul  8 11:54:53 2020
+++ pkgsrc/textproc/Makefile    Wed Jul  8 16:00:22 2020
@@ -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+=    lowdown
 SUBDIR+=       lq-sp
 SUBDIR+=       lua-cjson
 SUBDIR+=       lua-cmark
+SUBDIR+=       lua-dkjson
 SUBDIR+=       lua-etlua
 SUBDIR+=       lua-expat
 SUBDIR+=       lua-lustache

Added files:

Index: pkgsrc/textproc/lua-dkjson/DESCR
diff -u /dev/null pkgsrc/textproc/lua-dkjson/DESCR:1.1
--- /dev/null   Wed Jul  8 16:00:22 2020
+++ pkgsrc/textproc/lua-dkjson/DESCR    Wed Jul  8 16:00:22 2020
@@ -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.
Index: pkgsrc/textproc/lua-dkjson/Makefile
diff -u /dev/null pkgsrc/textproc/lua-dkjson/Makefile:1.1
--- /dev/null   Wed Jul  8 16:00:22 2020
+++ pkgsrc/textproc/lua-dkjson/Makefile Wed Jul  8 16:00:22 2020
@@ -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"
Index: pkgsrc/textproc/lua-dkjson/PLIST
diff -u /dev/null pkgsrc/textproc/lua-dkjson/PLIST:1.1
--- /dev/null   Wed Jul  8 16:00:22 2020
+++ pkgsrc/textproc/lua-dkjson/PLIST    Wed Jul  8 16:00:22 2020
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2020/07/08 16:00:22 nia Exp $
+${LUA_LDIR}/dkjson.lua
Index: pkgsrc/textproc/lua-dkjson/distinfo
diff -u /dev/null pkgsrc/textproc/lua-dkjson/distinfo:1.1
--- /dev/null   Wed Jul  8 16:00:22 2020
+++ pkgsrc/textproc/lua-dkjson/distinfo Wed Jul  8 16:00:22 2020
@@ -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