summaryrefslogtreecommitdiff
path: root/textproc/dyff
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/dyff')
-rw-r--r--textproc/dyff/Makefile22
-rw-r--r--textproc/dyff/distinfo7
-rw-r--r--textproc/dyff/pkg-descr9
3 files changed, 38 insertions, 0 deletions
diff --git a/textproc/dyff/Makefile b/textproc/dyff/Makefile
new file mode 100644
index 000000000000..f7e148ccdd76
--- /dev/null
+++ b/textproc/dyff/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= dyff
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.10.2
+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..abf3795b59f6
--- /dev/null
+++ b/textproc/dyff/distinfo
@@ -0,0 +1,7 @@
+TIMESTAMP = 1754898562
+SHA256 (go/textproc_dyff/homeport-dyff-v1.10.2_GH0/v1.10.2.mod) = ee6b6701969c31d9a0f07a6d4f6acc05e938073dd78b5fd9494b59016624e31a
+SIZE (go/textproc_dyff/homeport-dyff-v1.10.2_GH0/v1.10.2.mod) = 2066
+SHA256 (go/textproc_dyff/homeport-dyff-v1.10.2_GH0/v1.10.2.zip) = 2d10c90a8ddc4bed29031ebf0bc41d9188c4295d8ca284610b02e6461f35f5f7
+SIZE (go/textproc_dyff/homeport-dyff-v1.10.2_GH0/v1.10.2.zip) = 1321001
+SHA256 (go/textproc_dyff/homeport-dyff-v1.10.2_GH0/homeport-dyff-v1.10.2_GH0.tar.gz) = 36e103c1424e79135bb4ed54d6b66e6c3f057ff422a5838d3a80ffd4d9a3ef27
+SIZE (go/textproc_dyff/homeport-dyff-v1.10.2_GH0/homeport-dyff-v1.10.2_GH0.tar.gz) = 1218019
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.