1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00

JSON Incremental Digger is a very simple tool. You can drill down JSON

interactively by using filtering queries like jq.

WWW: https://github.com/simeji/jid

Differential Revision:	https://reviews.freebsd.org/D8866
This commit is contained in:
Sofian Brabez 2017-01-20 22:35:57 +00:00
parent 9581eb465a
commit 77bf7e24e6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=432003
4 changed files with 57 additions and 0 deletions

View File

@ -354,6 +354,7 @@
SUBDIR += jaxup
SUBDIR += jdictionary
SUBDIR += jdictionary-int-eng
SUBDIR += jid
SUBDIR += jing
SUBDIR += jo
SUBDIR += jq

41
textproc/jid/Makefile Normal file
View File

@ -0,0 +1,41 @@
# Created by: Sofian Brabez <sbz@FreeBSD.org>
# $FreeBSD$
PORTNAME= jid
PORTVERSION= 0.6.3
CATEGORIES= textproc
MAINTAINER= sbz@FreeBSD.org
COMMENT= JSON Incremental Digger
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= simeji
GH_TUPLE= bitly:go-simplejson:aabad6e:simplejson \
mattn:go-runewidth:d6bea18f:runewidth \
nsf:termbox-go:abe82ce:termbox \
pkg:errors:645ef00:errors
USES= go
PLIST_FILES= bin/jid
pre-build: .SILENT
${MKDIR} ${WRKDIR}/src/github.com/mattn
${MV} ${WRKDIR}/go-runewidth-d6bea18f ${WRKDIR}/src/github.com/mattn/go-runewidth
${MKDIR} ${WRKDIR}/src/github.com/bitly
${MV} ${WRKDIR}/go-simplejson-aabad6e ${WRKDIR}/src/github.com/bitly/go-simplejson
${MKDIR} ${WRKDIR}/src/github.com/nsf
${MV} ${WRKDIR}/termbox-go-abe82ce ${WRKDIR}/src/github.com/nsf/termbox-go
${MKDIR} ${WRKDIR}/src/github.com/pkg
${MV} ${WRKDIR}/errors-645ef00 ${WRKDIR}/src/github.com/pkg/errors
${MKDIR} ${WRKDIR}/src/github.com/simeji
${CP} -r ${WRKDIR}/jid-${PORTVERSION} ${WRKDIR}/src/github.com/simeji/jid
do-build:
@(cd ${WRKDIR}/src/github.com/simeji/jid; \
${SETENV} ${GO_ENV} ${GO_CMD} build -v -o ${WRKDIR}/bin/jid cmd/jid/jid.go)
.include <bsd.port.mk>

11
textproc/jid/distinfo Normal file
View File

@ -0,0 +1,11 @@
TIMESTAMP = 1484951365
SHA256 (simeji-jid-0.6.3_GH0.tar.gz) = a8f60c3aaf1ebe78bfc3c20e1b0ff06f0879c78f52901759f030166acb9353ca
SIZE (simeji-jid-0.6.3_GH0.tar.gz) = 11979
SHA256 (bitly-go-simplejson-aabad6e_GH0.tar.gz) = 37fd05170e7c632bfb85ce6646ce2bfbc4c3e50610bbfa9922f98d1f749ef754
SIZE (bitly-go-simplejson-aabad6e_GH0.tar.gz) = 5992
SHA256 (mattn-go-runewidth-d6bea18f_GH0.tar.gz) = 7ad847cd4cba8007609f8e0d42f90ff6220ae63c85a0e441eb10558859226fef
SIZE (mattn-go-runewidth-d6bea18f_GH0.tar.gz) = 5877
SHA256 (nsf-termbox-go-abe82ce_GH0.tar.gz) = d74082bddc8d7de6f2444cdbb553e6bd409bf93e8fe76ca4eff4911ccdbd9726
SIZE (nsf-termbox-go-abe82ce_GH0.tar.gz) = 30258
SHA256 (pkg-errors-645ef00_GH0.tar.gz) = b2e989515688d916216dd0a1b82cd9b18e8fb4fdf0370473996bdde41b83a41f
SIZE (pkg-errors-645ef00_GH0.tar.gz) = 11342

4
textproc/jid/pkg-descr Normal file
View File

@ -0,0 +1,4 @@
JSON Incremental Digger is a very simple tool. You can drill down JSON
interactively by using filtering queries like jq.
WWW: https://github.com/simeji/jid