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 photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
After the ports freeze to fix some stuff, the freeze is over. I have some work to do before FreshPorts can start processing commits again before it can start processing again. I've created an issue for that.
Port details on branch 2026Q3
d2 Modern text-to-diagram language
0.7.1_13 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.7.1_13Version of this port present on the latest quarterly branch.
Maintainer: adamw@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-07-10 08:24:41
Last Update: 2026-07-10 08:00:52
Commit Hash: c328c3d
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.7.1_13/catalog.mk
  3. /usr/local/share/licenses/d2-0.7.1_13/LICENSE
  4. /usr/local/share/licenses/d2-0.7.1_13/MPL20
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
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 = 1755614907 SHA256 (go/graphics_d2/d2-v0.7.1/v0.7.1.mod) = 3e80ff104186c4966c030fd807ef143fed3e92d551a7da48b1ffbbc830624810 SIZE (go/graphics_d2/d2-v0.7.1/v0.7.1.mod) = 2278

Expand this list (2 items)

Collapse this list.

SHA256 (go/graphics_d2/d2-v0.7.1/v0.7.1.zip) = 0793db1dcb02a011f278d2c01f870eeb04d941464f64ed1d376d1b22eda257f8 SIZE (go/graphics_d2/d2-v0.7.1/v0.7.1.zip) = 32485253

Collapse this list.


Packages (timestamps in pop-ups are UTC):
d2
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.7.1_100.7.1_10-0.7.1_10.7.1_10n/an/an/a
FreeBSD:13:quarterly0.7.1_100.7.1_10-0.7.0_20.7.1_10n/an/an/a
FreeBSD:14:latest0.7.1_130.7.1_13-0.7.10.7.1_13---
FreeBSD:14:quarterly0.7.1_130.7.1_13-0.7.0_20.7.1_13---
FreeBSD:15:latest0.7.1_130.7.1_13n/a-n/an/a--
FreeBSD:15:quarterly0.7.1_130.7.1_13n/a-n/an/a--
FreeBSD:16:latest0.7.1_130.7.1_13n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. go125 : lang/go125
Fetch dependencies:
  1. go125 : lang/go125
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.7.1_13
10 Jul 2026 08:00:52
commit hash: c328c3d404abdecbaf1429067d07fa84f6de3487commit hash: c328c3d404abdecbaf1429067d07fa84f6de3487commit hash: c328c3d404abdecbaf1429067d07fa84f6de3487commit hash: c328c3d404abdecbaf1429067d07fa84f6de3487 files touched by this commit
Dag-Erling Smørgrav (des) search for other commits by this committer
various: Bump go ports for go-1.25.12 / 1.26.5

Number of commits found: 1