notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
d2 Modern text-to-diagram language
0.6.9_1 graphics on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.6.8Version of this port present on the latest quarterly branch.
Maintainer: adamw@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-12-19 13:45:07
Last Update: 2025-03-05 16:02:56
Commit Hash: d0642a6
License: MPL20
WWW:
https://www.d2lang.com
Description:
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (4 items)
Collapse this list.
  1. bin/d2
  2. /usr/local/share/licenses/d2-0.6.9_1/catalog.mk
  3. /usr/local/share/licenses/d2-0.6.9_1/LICENSE
  4. /usr/local/share/licenses/d2-0.6.9_1/MPL20
Collapse this list.
Dependency lines:
  • d2>0:graphics/d2
To install the port:
cd /usr/ports/graphics/d2/ && make install clean
To add the package, run one of these commands:
  • pkg install graphics/d2
  • pkg install d2
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: d2
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1738815697 SHA256 (go/graphics_d2/d2-v0.6.9/v0.6.9.mod) = c14310ac13457a48bd8040b2ab4c8552312e6b81abd2ca8d971cebca227dc060 SIZE (go/graphics_d2/d2-v0.6.9/v0.6.9.mod) = 2267

Expand this list (2 items)

Collapse this list.

SHA256 (go/graphics_d2/d2-v0.6.9/v0.6.9.zip) = 1bc6ad103a364456896aa1feda8cd68ed6190a0f73cb73fe0c94b8686d118d64 SIZE (go/graphics_d2/d2-v0.6.9/v0.6.9.zip) = 30022278

Collapse this list.


Packages (timestamps in pop-ups are UTC):
d2
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.6.90.6.9_1-0.6.90.6.9_1---
FreeBSD:13:quarterly0.6.80.6.8-0.6.80.6.8---
FreeBSD:14:latest0.6.90.6.9_1-0.6.80.6.9_1---
FreeBSD:14:quarterly0.6.80.6.8-0.6.80.6.8---
FreeBSD:15:latest0.6.90.6.9n/a0.6.9n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. go121 : lang/go121
Fetch dependencies:
  1. go121 : lang/go121
  2. ca_root_nss>0 : security/ca_root_nss
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
graphics_d2
USES:
go:modules zip
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://proxy.golang.org/github.com/terrastruct/d2/@v/
Collapse this list.

Number of commits found: 3

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.6.9_1
05 Mar 2025 16:02:56
commit hash: d0642a617631ca9d19d24750b6669ecc13584027commit hash: d0642a617631ca9d19d24750b6669ecc13584027commit hash: d0642a617631ca9d19d24750b6669ecc13584027commit hash: d0642a617631ca9d19d24750b6669ecc13584027 files touched by this commit
Adam Weinberger (adamw) search for other commits by this committer
Bump all go ports for yesterday's releases
0.6.9
06 Feb 2025 04:24:42
commit hash: a219d5e31eb3c2be2b0e707d35907e128553fd26commit hash: a219d5e31eb3c2be2b0e707d35907e128553fd26commit hash: a219d5e31eb3c2be2b0e707d35907e128553fd26commit hash: a219d5e31eb3c2be2b0e707d35907e128553fd26 files touched by this commit
Adam Weinberger (adamw) search for other commits by this committer
graphics/d2: Update to 0.6.9
0.6.8
19 Dec 2024 13:39:07
commit hash: 97f77a7cb57017e623393803984b79080a79be09commit hash: 97f77a7cb57017e623393803984b79080a79be09commit hash: 97f77a7cb57017e623393803984b79080a79be09commit hash: 97f77a7cb57017e623393803984b79080a79be09 files touched by this commit
Adam Weinberger (adamw) search for other commits by this committer
graphics/d2: Add port

D2 is a text-to-diagram tool, similarly to Mermaid and PlantUML. I find
it far easier to use than PlantUML, and it produces diagrams that--to
my eye--are more visually-appealing than Mermaid. Plus, it's written in
Go, so it can compile diagrams to disk (unlike Mermaid) and doesn't
require a goofy JVM (unlike PlantUML).

https://d2lang.com

Number of commits found: 3