aboutsummaryrefslogtreecommitdiff
path: root/graphics/d2
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2024-12-19 13:39:07 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2024-12-19 13:39:07 +0000
commit97f77a7cb57017e623393803984b79080a79be09 (patch)
treec451bb77e96278b90b866eb6dd8f4844d40edc95 /graphics/d2
parent4278c4b2a42bfc3db8db6d6708d4f1c34f56c3ef (diff)
Diffstat (limited to 'graphics/d2')
-rw-r--r--graphics/d2/Makefile18
-rw-r--r--graphics/d2/distinfo5
-rw-r--r--graphics/d2/pkg-descr4
3 files changed, 27 insertions, 0 deletions
diff --git a/graphics/d2/Makefile b/graphics/d2/Makefile
new file mode 100644
index 000000000000..1b7d513185ec
--- /dev/null
+++ b/graphics/d2/Makefile
@@ -0,0 +1,18 @@
+PORTNAME= d2
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.6.8
+CATEGORIES= graphics
+
+MAINTAINER= adamw@FreeBSD.org
+COMMENT= Modern text-to-diagram language
+WWW= https://www.d2lang.com
+
+LICENSE= MPL20
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+USES= go:modules
+GO_MODULE= github.com/terrastruct/d2
+
+PLIST_FILES= bin/d2
+
+.include <bsd.port.mk>
diff --git a/graphics/d2/distinfo b/graphics/d2/distinfo
new file mode 100644
index 000000000000..c15ece772f9a
--- /dev/null
+++ b/graphics/d2/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1734614498
+SHA256 (go/graphics_d2/d2-v0.6.8/v0.6.8.mod) = 3070a8145612f4ee19be25bd51554e88679c4c9fd388fc29569a9053dee0d06f
+SIZE (go/graphics_d2/d2-v0.6.8/v0.6.8.mod) = 2260
+SHA256 (go/graphics_d2/d2-v0.6.8/v0.6.8.zip) = 0b42a53ccfadcec4086e2eb08cde30da0159bbdd6d48c7e7c8ebc07a679aa22e
+SIZE (go/graphics_d2/d2-v0.6.8/v0.6.8.zip) = 22071105
diff --git a/graphics/d2/pkg-descr b/graphics/d2/pkg-descr
new file mode 100644
index 000000000000..523a6e6fd49e
--- /dev/null
+++ b/graphics/d2/pkg-descr
@@ -0,0 +1,4 @@
+D2 is a scripting language that turns text into diagrams, similar to
+Mermaid and PlantUML. However, D2 puts more focus on simply doing the
+right thing, and it can produce highly visually-appealing diagrams with
+very little input.