diff options
| author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2025-07-21 13:27:18 +0000 |
|---|---|---|
| committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2025-07-21 13:29:27 +0000 |
| commit | 80052c484c786817d41fde3d3e493ac48befa442 (patch) | |
| tree | d454fa5d80b362415eb8612dd8485b854f9e2406 | |
| parent | e68c2904caba6c812041fee6b77e34c28affda72 (diff) | |
textproc/dyff: Add new port
dyff is a diff tool for YAML files (and occasionally JSON), designed to
show only meaningful differences in a human-readable format. It is
inspired by the way BOSH v1 displayed configuration changes, using
syntax styles from Spruce and go-patch to locate differences within the
document structure.
dyff supports comparing local or remote files, integrates with kubectl
and Git for improved YAML diffing workflows, and includes utilities to
restructure, pretty-print, and convert between YAML and JSON.
| -rw-r--r-- | textproc/Makefile | 1 | ||||
| -rw-r--r-- | textproc/dyff/Makefile | 22 | ||||
| -rw-r--r-- | textproc/dyff/distinfo | 7 | ||||
| -rw-r--r-- | textproc/dyff/pkg-descr | 9 |
4 files changed, 39 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 67bf0decee29..e47906fb181d 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -170,6 +170,7 @@ SUBDIR += dtdparse SUBDIR += duncan SUBDIR += dwdiff + SUBDIR += dyff SUBDIR += easydiff SUBDIR += ebook-tools SUBDIR += el-aspell diff --git a/textproc/dyff/Makefile b/textproc/dyff/Makefile new file mode 100644 index 000000000000..b7de9e5448b7 --- /dev/null +++ b/textproc/dyff/Makefile @@ -0,0 +1,22 @@ +PORTNAME= dyff +DISTVERSIONPREFIX= v +DISTVERSION= 1.10.1 +CATEGORIES= textproc + +MAINTAINER= ehaupt@FreeBSD.org +COMMENT= Diff tool for YAML files, and sometimes JSON +WWW= https://github.com/homeport/dyff + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= go:modules +USE_GITHUB= yes +GH_ACCOUNT= homeport + +GO_MODULE= github.com/${GH_ACCOUNT}/${PORTNAME} +GO_TARGET= ./cmd/${PORTNAME} + +PLIST_FILES= bin/dyff + +.include <bsd.port.mk> diff --git a/textproc/dyff/distinfo b/textproc/dyff/distinfo new file mode 100644 index 000000000000..2766fc67239e --- /dev/null +++ b/textproc/dyff/distinfo @@ -0,0 +1,7 @@ +TIMESTAMP = 1753103362 +SHA256 (go/textproc_dyff/homeport-dyff-v1.10.1_GH0/v1.10.1.mod) = 5554574a88a01de1d0c522ea4738e6023f438809ac41361c9f8acb78560f7edf +SIZE (go/textproc_dyff/homeport-dyff-v1.10.1_GH0/v1.10.1.mod) = 2031 +SHA256 (go/textproc_dyff/homeport-dyff-v1.10.1_GH0/v1.10.1.zip) = 113c45396586956a0102cc5f01f44a94cd3c0660c4fbd119b027e69abbb5eb73 +SIZE (go/textproc_dyff/homeport-dyff-v1.10.1_GH0/v1.10.1.zip) = 1320571 +SHA256 (go/textproc_dyff/homeport-dyff-v1.10.1_GH0/homeport-dyff-v1.10.1_GH0.tar.gz) = 8f20ba3580fbb45957211efdf5ac4fc60dd339a2f798db0ecf521c930fdb0be0 +SIZE (go/textproc_dyff/homeport-dyff-v1.10.1_GH0/homeport-dyff-v1.10.1_GH0.tar.gz) = 1217573 diff --git a/textproc/dyff/pkg-descr b/textproc/dyff/pkg-descr new file mode 100644 index 000000000000..c23f6fef9b90 --- /dev/null +++ b/textproc/dyff/pkg-descr @@ -0,0 +1,9 @@ +dyff is a diff tool for YAML files (and occasionally JSON), designed to +show only meaningful differences in a human-readable format. It is +inspired by the way BOSH v1 displayed configuration changes, using +syntax styles from Spruce and go-patch to locate differences within the +document structure. + +dyff supports comparing local or remote files, integrates with kubectl +and Git for improved YAML diffing workflows, and includes utilities to +restructure, pretty-print, and convert between YAML and JSON. |
