Date: Sat, 12 Mar 2016 21:01:16 +0000 (UTC) From: Steve Wills <swills@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r410933 - in head/textproc: . jo Message-ID: <201603122101.u2CL1GFt008979@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: swills Date: Sat Mar 12 21:01:15 2016 New Revision: 410933 URL: https://svnweb.freebsd.org/changeset/ports/410933 Log: 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 Added: head/textproc/jo/ head/textproc/jo/Makefile (contents, props changed) head/textproc/jo/distinfo (contents, props changed) head/textproc/jo/pkg-descr (contents, props changed) Modified: head/textproc/Makefile Modified: head/textproc/Makefile ============================================================================== --- head/textproc/Makefile Sat Mar 12 20:34:22 2016 (r410932) +++ head/textproc/Makefile Sat Mar 12 21:01:15 2016 (r410933) @@ -353,6 +353,7 @@ SUBDIR += jdictionary SUBDIR += jdictionary-int-eng SUBDIR += jing + SUBDIR += jo SUBDIR += jq SUBDIR += jrefentry SUBDIR += jshon Added: head/textproc/jo/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/jo/Makefile Sat Mar 12 21:01:15 2016 (r410933) @@ -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> Added: head/textproc/jo/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/jo/distinfo Sat Mar 12 21:01:15 2016 (r410933) @@ -0,0 +1,2 @@ +SHA256 (jo-1.0.tar.gz) = d66ec97258d1afad15643fb2d5b5e807153a732ba45c2417adc66669acbde52e +SIZE (jo-1.0.tar.gz) = 112488 Added: head/textproc/jo/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/jo/pkg-descr Sat Mar 12 21:01:15 2016 (r410933) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603122101.u2CL1GFt008979>