json2tsv: Import json2tsv-0.1 as wip/json2tsv
authorLeonardo Taccari <leot@NetBSD.org>
Sun, 13 Oct 2019 19:57:36 +0000 (21:57 +0200)
committerLeonardo Taccari <leot@NetBSD.org>
Sun, 13 Oct 2019 19:57:36 +0000 (21:57 +0200)
json2tsv reads JSON data from stdin.  It outputs each JSON type to a
TAB-Separated Value format per line.  The -n flag can be used to show
the indices for array types (by default off).

Makefile
json2tsv/DESCR [new file with mode: 0644]
json2tsv/Makefile [new file with mode: 0644]
json2tsv/PLIST [new file with mode: 0644]
json2tsv/distinfo [new file with mode: 0644]

index 4a8f05e4eb5ed39504cb4ec5a4ad472a91b40acc..997af82d0582f8f91f5dbb99b1bdcc740ce42a1e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1718,6 +1718,7 @@ SUBDIR+=  jpicedt
 SUBDIR+=       jruby
 SUBDIR+=       js-Gallery
 SUBDIR+=       jsl
+SUBDIR+=       json2tsv
 SUBDIR+=       jsoncpp-git
 SUBDIR+=       judy
 SUBDIR+=       juk
diff --git a/json2tsv/DESCR b/json2tsv/DESCR
new file mode 100644 (file)
index 0000000..06bca74
--- /dev/null
@@ -0,0 +1,3 @@
+json2tsv reads JSON data from stdin.  It outputs each JSON type to a
+TAB-Separated Value format per line.  The -n flag can be used to show
+the indices for array types (by default off).
diff --git a/json2tsv/Makefile b/json2tsv/Makefile
new file mode 100644 (file)
index 0000000..468d3a9
--- /dev/null
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.9 2019/08/01 18:55:29 leot Exp $
+
+DISTNAME=      json2tsv-0.1
+CATEGORIES=    textproc
+MASTER_SITES=  http://codemadness.org/releases/json2tsv/
+
+MAINTAINER=    pkgsrc-users@NetBSD.org
+HOMEPAGE=      http://codemadness.org/git/json2tsv/file/README.html
+COMMENT=       Convert JSON to TSV
+LICENSE=       isc
+
+USE_LANGUAGES= c99
+
+MAKE_FLAGS+=           PREFIX=${PREFIX:Q}
+MAKE_FLAGS+=           MANPREFIX=${PREFIX:Q}/${PKGMANDIR:Q}
+MAKE_FLAGS+=           CC=${CC:Q}
+
+#REPLACE_SH+=          sfeed_opml_export sfeed_update
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/json2tsv/PLIST b/json2tsv/PLIST
new file mode 100644 (file)
index 0000000..d06bdf9
--- /dev/null
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+bin/json2tsv
+man/man1/json2tsv.1
+share/doc/json2tsv/README
diff --git a/json2tsv/distinfo b/json2tsv/distinfo
new file mode 100644 (file)
index 0000000..e0d2e40
--- /dev/null
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.7 2019/08/01 18:55:29 leot Exp $
+
+SHA1 (json2tsv-0.1.tar.gz) = d1bbe51e66b7a9d470c79543b5f580c48fb60c25
+RMD160 (json2tsv-0.1.tar.gz) = bc8bc2b42b35c61bd70fac579528cc801c9231ec
+SHA512 (json2tsv-0.1.tar.gz) = bb43847d95b25fcf8ec56268e22f7889b113717589779f68f43cbab65ab4099c65bd9a86c0b8adeb2d101a8f384fe4a315f271ee8ddacfc6fd220a1424e1b0df
+Size (json2tsv-0.1.tar.gz) = 4752 bytes