svn commit: r410933 - in head/textproc: . jo

Steve Wills swills at FreeBSD.org
Sat Mar 12 21:01:17 UTC 2016


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 at 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 at 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 at 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


More information about the svn-ports-head mailing list