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.8 graphicsnew! 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 Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: adamw@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-12-19 13:45:07
Last Update: 2024-12-19 13:39:07
Commit Hash: 97f77a7
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.8/catalog.mk
  3. /usr/local/share/licenses/d2-0.6.8/LICENSE
  4. /usr/local/share/licenses/d2-0.6.8/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 = 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

Expand this list (2 items)

Collapse this list.

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

Collapse this list.


Packages (timestamps in pop-ups are UTC):
d2
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-0.6.8--0.6.8---
FreeBSD:13:quarterly--------
FreeBSD:14:latest-0.6.8--0.6.8---
FreeBSD:14:quarterly--------
FreeBSD:15:latest-0.6.8n/a-n/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: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
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: 1