git: 838ee40cf7f9 - main - misc/fabric: New port: Framework for augmenting humans using AI

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 21 Mar 2025 08:18:59 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=838ee40cf7f9e06fd389cfc6340d5909f23258c3

commit 838ee40cf7f9e06fd389cfc6340d5909f23258c3
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-03-21 07:27:45 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-03-21 08:18:53 +0000

    misc/fabric: New port: Framework for augmenting humans using AI
---
 misc/Makefile         |  1 +
 misc/fabric/Makefile  | 20 ++++++++++++++++++++
 misc/fabric/distinfo  |  5 +++++
 misc/fabric/pkg-descr |  3 +++
 4 files changed, 29 insertions(+)

diff --git a/misc/Makefile b/misc/Makefile
index db13a25eb2ae..3f64decca165 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -107,6 +107,7 @@
     SUBDIR += exercism
     SUBDIR += explosions
     SUBDIR += ezc3d
+    SUBDIR += fabric
     SUBDIR += far2l
     SUBDIR += fastscapelib
     SUBDIR += felis
diff --git a/misc/fabric/Makefile b/misc/fabric/Makefile
new file mode 100644
index 000000000000..aa3a7d63adc0
--- /dev/null
+++ b/misc/fabric/Makefile
@@ -0,0 +1,20 @@
+PORTNAME=	fabric
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.4.163
+CATEGORIES=	misc # machine-learning
+PKGNAMESUFFIX=	-ai
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Framework for augmenting humans using AI
+WWW=		https://github.com/danielmiessler/fabric
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		go:1.23,modules
+
+GO_MODULE=	github.com/danielmiessler/fabric
+
+PLIST_FILES=	bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/misc/fabric/distinfo b/misc/fabric/distinfo
new file mode 100644
index 000000000000..de02c4ba681e
--- /dev/null
+++ b/misc/fabric/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1742539238
+SHA256 (go/misc_fabric/fabric-v1.4.163/v1.4.163.mod) = 182920089870c66321251181c6c55e7d25c9e0acb438c42e47933071b26ec043
+SIZE (go/misc_fabric/fabric-v1.4.163/v1.4.163.mod) = 4777
+SHA256 (go/misc_fabric/fabric-v1.4.163/v1.4.163.zip) = 8a6174c9467f9372d76ff5247fde9b6b9900f575ca81e089869a9510df12cdc5
+SIZE (go/misc_fabric/fabric-v1.4.163/v1.4.163.zip) = 182981472
diff --git a/misc/fabric/pkg-descr b/misc/fabric/pkg-descr
new file mode 100644
index 000000000000..dd35d2b20a03
--- /dev/null
+++ b/misc/fabric/pkg-descr
@@ -0,0 +1,3 @@
+Fabric is an open-source framework for augmenting humans using AI.
+It provides a modular framework for solving specific problems using
+a crowdsourced set of AI prompts that can be used anywhere.