Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Dec 2018 16:07:22 +0000 (UTC)
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r488547 - in head/textproc: . json-yaml
Message-ID:  <201812271607.wBRG7Mv3080066@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: madpilot
Date: Thu Dec 27 16:07:22 2018
New Revision: 488547
URL: https://svnweb.freebsd.org/changeset/ports/488547

Log:
  json-yaml is a small command line utility to convert JSON to YAML.
  It is useful to get more readable output from web APIs and such.
  
  WWW: https://github.com/sjmulder/json-yaml
  
  PR:		230190
  Submitted by:	ik@sjmulder.nl

Added:
  head/textproc/json-yaml/
  head/textproc/json-yaml/Makefile   (contents, props changed)
  head/textproc/json-yaml/distinfo   (contents, props changed)
  head/textproc/json-yaml/pkg-descr   (contents, props changed)
Modified:
  head/textproc/Makefile

Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile	Thu Dec 27 15:55:46 2018	(r488546)
+++ head/textproc/Makefile	Thu Dec 27 16:07:22 2018	(r488547)
@@ -378,6 +378,7 @@
     SUBDIR += jq
     SUBDIR += jrefentry
     SUBDIR += jshon
+    SUBDIR += json-yaml
     SUBDIR += kdiff3
     SUBDIR += kenlm
     SUBDIR += kf5-kcodecs

Added: head/textproc/json-yaml/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/json-yaml/Makefile	Thu Dec 27 16:07:22 2018	(r488547)
@@ -0,0 +1,24 @@
+# $FreeBSD$
+
+PORTNAME=	json-yaml
+DISTVERSION=	1.1.2
+CATEGORIES=	textproc
+
+MAINTAINER=	ik@sjmulder.nl
+COMMENT=	Convert JSON to YAML
+
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE.md
+
+LIB_DEPENDS=	libyajl.so:devel/yajl \
+		libyaml.so:textproc/libyaml
+
+MAKE_ARGS+=	MANPREFIX=${PREFIX}/man
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	sjmulder
+
+PLIST_FILES=	bin/json-yaml \
+		man/man1/json-yaml.1.gz
+
+.include <bsd.port.mk>

Added: head/textproc/json-yaml/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/json-yaml/distinfo	Thu Dec 27 16:07:22 2018	(r488547)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1545817767
+SHA256 (sjmulder-json-yaml-1.1.2_GH0.tar.gz) = a3302a0492186225388f13bd1a9bcd0759dfa2d39d2fef9768583de8da3420ad
+SIZE (sjmulder-json-yaml-1.1.2_GH0.tar.gz) = 4381

Added: head/textproc/json-yaml/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/json-yaml/pkg-descr	Thu Dec 27 16:07:22 2018	(r488547)
@@ -0,0 +1,4 @@
+json-yaml is a small command line utility to convert JSON to YAML.
+It is useful to get more readable output from web APIs and such.
+
+WWW: https://github.com/sjmulder/json-yaml



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812271607.wBRG7Mv3080066>