Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Mar 2020 08:19:27 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r527923 - in head/textproc: . jtc
Message-ID:  <202003070819.0278JRnl064618@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Sat Mar  7 08:19:27 2020
New Revision: 527923
URL: https://svnweb.freebsd.org/changeset/ports/527923

Log:
  New port: textproc/jtc: CLI tool to extract, manipulate and transform JSON
  
  Simple but efficient cli utility tool to manipulate
  JSON data. Offering a powerful way to select one or
  multiple elements from a source JSON and apply various
  actions on the selected elements at once, e.g. wrap
  selected elements into a new JSON, filter in/out,
  sort elements, update elements, insert new elements,
  remove, copy, move, compare, transform, swap around
  and many other operations.
  
  WWW: https://github.com/ldn-softdev/jtc
  
  PR:		244643
  Submitted by:	Lewis Cook <vulcan@wired.sh>

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

Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile	Sat Mar  7 08:16:31 2020	(r527922)
+++ head/textproc/Makefile	Sat Mar  7 08:19:27 2020	(r527923)
@@ -314,6 +314,7 @@
     SUBDIR += jrefentry
     SUBDIR += jshon
     SUBDIR += json-yaml
+    SUBDIR += jtc
     SUBDIR += kdiff3
     SUBDIR += kenlm
     SUBDIR += kf5-kcodecs

Added: head/textproc/jtc/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/jtc/Makefile	Sat Mar  7 08:19:27 2020	(r527923)
@@ -0,0 +1,36 @@
+# $FreeBSD$
+
+PORTNAME=	jtc
+DISTVERSION=	1.75d
+CATEGORIES=	textproc
+
+MAINTAINER=	vulcan@wired.sh
+COMMENT=	CLI tool to extract, manipulate and transform JSON
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		compiler:c++14-lang
+USE_CXXSTD=	c++14
+USE_GITHUB=	yes
+GH_ACCOUNT=	ldn-softdev
+
+LDFLAGS+=	-lexecinfo
+
+PLIST_FILES=	bin/${PORTNAME}
+PORTDOCS=	README.md Release\ Notes.md User\ Guide.md \
+		Walk-path\ tutorial.md
+
+OPTIONS_DEFINE=	DOCS
+
+do-build:
+	${CXX} ${CXXFLAGS} ${LDFLAGS} ${WRKSRC}/${PORTNAME}.cpp -o ${WRKSRC}/${PORTNAME}
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>

Added: head/textproc/jtc/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/jtc/distinfo	Sat Mar  7 08:19:27 2020	(r527923)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1583518848
+SHA256 (ldn-softdev-jtc-1.75d_GH0.tar.gz) = e490a754be493660ef4f2e764ea121b5c39b280adf9b4c55d73e4876e8618f04
+SIZE (ldn-softdev-jtc-1.75d_GH0.tar.gz) = 206457

Added: head/textproc/jtc/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/jtc/pkg-descr	Sat Mar  7 08:19:27 2020	(r527923)
@@ -0,0 +1,10 @@
+Simple but efficient cli utility tool to manipulate
+JSON data. Offering a powerful way to select one or
+multiple elements from a source JSON and apply various
+actions on the selected elements at once, e.g. wrap
+selected elements into a new JSON, filter in/out,
+sort elements, update elements, insert new elements,
+remove, copy, move, compare, transform, swap around
+and many other operations.
+
+WWW: https://github.com/ldn-softdev/jtc



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