Date: Thu, 15 Jan 2026 11:57:09 +0000 From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: a15a732d40a8 - main - textproc/jsonfmt: Add jsonfmt 0.5.2 Message-ID: <6968d615.399b6.54caf1a4@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=a15a732d40a8a0d8fa1605ed7046ae5b135874db commit a15a732d40a8a0d8fa1605ed7046ae5b135874db Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2026-01-15 11:34:40 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2026-01-15 11:52:57 +0000 textproc/jsonfmt: Add jsonfmt 0.5.2 jsonfmt works like gofmt, but for JSON files. --- textproc/Makefile | 1 + textproc/jsonfmt/Makefile | 19 +++++++++++++++++++ textproc/jsonfmt/distinfo | 5 +++++ textproc/jsonfmt/pkg-descr | 1 + 4 files changed, 26 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index d9e382f69829..0e0f2c5fc6fa 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -346,6 +346,7 @@ SUBDIR += jshon SUBDIR += json-yaml SUBDIR += json2yaml + SUBDIR += jsonfmt SUBDIR += jtc SUBDIR += kdiff3 SUBDIR += kepubify diff --git a/textproc/jsonfmt/Makefile b/textproc/jsonfmt/Makefile new file mode 100644 index 000000000000..9ef1812d8fb7 --- /dev/null +++ b/textproc/jsonfmt/Makefile @@ -0,0 +1,19 @@ +PORTNAME= jsonfmt +PORTVERSION= 0.5.2 +DISTVERSIONPREFIX= v +CATEGORIES= textproc + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Like gofmt, but for JSON files +WWW= https://github.com/caarlos0/jsonfmt + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= go:modules + +GO_MODULE= github.com/caarlos0/jsonfmt + +PLIST_FILES= bin/jsonfmt + +.include <bsd.port.mk> diff --git a/textproc/jsonfmt/distinfo b/textproc/jsonfmt/distinfo new file mode 100644 index 000000000000..6df171db5ebb --- /dev/null +++ b/textproc/jsonfmt/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1767157555 +SHA256 (go/textproc_jsonfmt/jsonfmt-v0.5.2/v0.5.2.mod) = e206aae9a3f676dcd48fe7a3e751959b02a11988ed104a201ed31a882f74eb3a +SIZE (go/textproc_jsonfmt/jsonfmt-v0.5.2/v0.5.2.mod) = 414 +SHA256 (go/textproc_jsonfmt/jsonfmt-v0.5.2/v0.5.2.zip) = f5d3cbbdef99bca75b76f31d2db5d0aed4bc9f25f9b74ca70e54b94d39071e0c +SIZE (go/textproc_jsonfmt/jsonfmt-v0.5.2/v0.5.2.zip) = 10132 diff --git a/textproc/jsonfmt/pkg-descr b/textproc/jsonfmt/pkg-descr new file mode 100644 index 000000000000..c2ed3ed680f9 --- /dev/null +++ b/textproc/jsonfmt/pkg-descr @@ -0,0 +1 @@ +jsonfmt works like gofmt, but for JSON files.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6968d615.399b6.54caf1a4>
