Jshon parses, reads and creates JSON. It is designed to be as usable as
possible from within the shell and replaces fragile ad hoc parsers made
from grep/sed/awk as well as heavyweight one-line parsers made from
perl/python.
Jshon loads JSON text from stdin, performs actions, then displays the last
action on stdout. Some of the options output JSON, others output plain text
meta information. Because Bash has very poor nested data structures, Jshon does
not try to return a native bash data structure as a typical library would.
Instead, Jshon provides a history stack containing all the manipulations.
The big change in the latest release is switching the everything from
pass-by-value to pass-by-reference. In a typical use case (processing AUR
search results for 'python') by-ref is twice as fast and uses one sixth the
memory. If you are editing JSON, by-ref also makes your life a lot easier as
modifications do not need to be manually inserted through the entire stack.
===> The following configuration options are available for jshon-20180209_1:
ZSH=on: Install programmable completions for zsh
===> Use 'make config' to modify these settings
all: drop support for expired FreeBSD 14.0
Simplify expressions for FreeBSD 13.X
Reviewed by: many
Differential Revision: https://reviews.freebsd.org/D46601
*/*: llvm15 build fixes
llvm15 was also merged into 13.2-STABLE effective from OSVERSION
1302505. Fix the ports that failed to build with llvm15.
Approved by: portmgr (blanket)
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
textproc/jshon: Update to 20170302.1
- Take over MAINTAINER'ship.
- Sort variables.
- Remove the COMMIT_HASH variable. Use only GH_TAGNAME instead.
- Add ZSH to OPTIONS_DEFAULT as suggested by the handbook.
- Do not strip in post-install since INSTALL_PROGRAM is already used in
do-install.
- Improve pkg-descr.
Reviewed by: krion
Approved by: krion (mentor)
Differential Revision: https://reviews.freebsd.org/D18422
For the new USE_GITHUB with only GH_TAGNAME set default DISTNAME to
include GH_PROJECT/GH_ACCOUNT/GH_TAGNAME. This prevents the distfile
having the same name despite changing one of these values and causing
a bad checksum.
Differential Revision: https://reviews.freebsd.org/D2103
Reviewed by: mat
With hat: bdrewery
Remove indefinite articles and trailing periods from COMMENT, plus
minor COMMENT typos and surrounding whitespace fixes. A few Makefiles
where not included as they contain Latin-1 characters that break
the Phabricator workflow. Categories T-V.
CR: D509
Approved by: portmgr (antoine)
jshon parses, reads and creates JSON. It is designed to be as usable as possible
from within the shell and replaces fragile adhoc parsers made from grep/sed/awk
as well as heavyweight one-line parsers made from perl/python.
WWW: http://kmkeen.com/jshon/