From owner-svn-ports-all@freebsd.org Sat Mar 12 21:01:17 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BBBD0ACDBAF; Sat, 12 Mar 2016 21:01:17 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7A10926D; Sat, 12 Mar 2016 21:01:17 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u2CL1GZa008983; Sat, 12 Mar 2016 21:01:16 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u2CL1GFt008979; Sat, 12 Mar 2016 21:01:16 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201603122101.u2CL1GFt008979@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Sat, 12 Mar 2016 21:01:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r410933 - in head/textproc: . jo X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Mar 2016 21:01:17 -0000 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 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