textproc/jo: create port

jo creates a JSON string on stdout from words given it as arguments or read
from stdin. Without option -a it generates an object whereby each word is a
key=value (or key@value) pair with key being the JSON object element and value
its value. jo attempts to guess the type of value in order to create number
(using strtod(3)), string, or null values in JSON.

WWW: https://github.com/jpmens/jo
This commit is contained in:
Steve Wills 2016-03-12 21:01:15 +00:00
parent 29a18c9062
commit c12d5b5de4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=410933
4 changed files with 28 additions and 0 deletions

View file

@ -353,6 +353,7 @@
SUBDIR += jdictionary
SUBDIR += jdictionary-int-eng
SUBDIR += jing
SUBDIR += jo
SUBDIR += jq
SUBDIR += jrefentry
SUBDIR += jshon

18
textproc/jo/Makefile Normal file
View file

@ -0,0 +1,18 @@
# $FreeBSD$
PORTNAME= jo
PORTVERSION= 1.0
CATEGORIES= textproc
MASTER_SITES= http://github.com/jpmens/${PORTNAME}/releases/download/v${PORTVERSION}/
MAINTAINER= swills@FreeBSD.org
COMMENT= Small utility to create JSON objects
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
PLIST_FILES= bin/jo man/man1/jo.1.gz
.include <bsd.port.mk>

2
textproc/jo/distinfo Normal file
View file

@ -0,0 +1,2 @@
SHA256 (jo-1.0.tar.gz) = d66ec97258d1afad15643fb2d5b5e807153a732ba45c2417adc66669acbde52e
SIZE (jo-1.0.tar.gz) = 112488

7
textproc/jo/pkg-descr Normal file
View file

@ -0,0 +1,7 @@
jo creates a JSON string on stdout from words given it as arguments or read
from stdin. Without option -a it generates an object whereby each word is a
key=value (or key@value) pair with key being the JSON object element and value
its value. jo attempts to guess the type of value in order to create number
(using strtod(3)), string, or null values in JSON.
WWW: https://github.com/jpmens/jo