svn commit: r527923 - in head/textproc: . jtc
Kurt Jaeger
pi at FreeBSD.org
Sat Mar 7 08:19:28 UTC 2020
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 at 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 at 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
More information about the svn-ports-all
mailing list