pkgsrc-WIP-changes archive

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

json2tsv-git: Import json2tsv as wip/json2tsv-git



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Sun Oct 20 19:58:01 2019 +0200
Changeset:	562150c0eebb3df4740ba35c776bb3c5d977949d

Modified Files:
	Makefile
Added Files:
	json2tsv-git/DESCR
	json2tsv-git/Makefile
	json2tsv-git/PLIST

Log Message:
json2tsv-git: Import json2tsv as wip/json2tsv-git

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).

Based on wip/json2tsv but tracking Git HEAD.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=562150c0eebb3df4740ba35c776bb3c5d977949d

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

diffstat:
 Makefile              |  1 +
 json2tsv-git/DESCR    |  3 +++
 json2tsv-git/Makefile | 23 +++++++++++++++++++++++
 json2tsv-git/PLIST    |  4 ++++
 4 files changed, 31 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index e98c3368ce..ec6bc93ad2 100644
--- a/Makefile
+++ b/Makefile
@@ -1722,6 +1722,7 @@ SUBDIR+=	jruby
 SUBDIR+=	js-Gallery
 SUBDIR+=	jsl
 SUBDIR+=	json2tsv
+SUBDIR+=	json2tsv-git
 SUBDIR+=	jsoncpp-git
 SUBDIR+=	judy
 SUBDIR+=	juk
diff --git a/json2tsv-git/DESCR b/json2tsv-git/DESCR
new file mode 100644
index 0000000000..06bca7421f
--- /dev/null
+++ b/json2tsv-git/DESCR
@@ -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-git/Makefile b/json2tsv-git/Makefile
new file mode 100644
index 0000000000..f7f0431d5b
--- /dev/null
+++ b/json2tsv-git/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.9 2019/08/01 18:55:29 leot Exp $
+
+DISTNAME=	json2tsv-0.2
+CATEGORIES=	textproc
+MASTER_SITES=	http://codemadness.org/releases/json2tsv/
+
+MAINTAINER=	leot%NetBSD.org@localhost
+HOMEPAGE=	http://codemadness.org/git/json2tsv/file/README.html
+COMMENT=	Convert JSON to TSV
+LICENSE=	isc
+
+GIT_REPOSITORIES=	json2tsv
+GIT_REPO.json2tsv=	git://git.codemadness.org/json2tsv
+WRKSRC=			${WRKDIR}/json2tsv
+
+USE_LANGUAGES=	c99
+
+MAKE_FLAGS+=		PREFIX=${PREFIX:Q}
+MAKE_FLAGS+=		MANPREFIX=${PREFIX:Q}/${PKGMANDIR:Q}
+MAKE_FLAGS+=		CC=${CC:Q}
+
+.include "../../wip/mk/git-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/json2tsv-git/PLIST b/json2tsv-git/PLIST
new file mode 100644
index 0000000000..d06bdf99b0
--- /dev/null
+++ b/json2tsv-git/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+bin/json2tsv
+man/man1/json2tsv.1
+share/doc/json2tsv/README


Home | Main Index | Thread Index | Old Index