BSD Ports

graphics/d2 0.9.0_2 FreeBSD

Modern text-to-diagram language

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
d81b7ba3c3
License
MPL20
Categories
graphics
Package size
13404.9 KiB, 38327.2 KiB installed

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.

In the other systems

SystemPortVersion
FreeBSDgraphics/d20.9.0_2
DragonFlygraphics/d20.6.9_1

Install

Binary package:

pkg install d2

From the ports tree:

cd /usr/ports/graphics/d2/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	d2>0:graphics/d2

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.9.0_10.9.0_1-0.7.10.9.0_1
FreeBSD:14:quarterly0.9.0_10.9.0_1n/a0.7.0_20.9.0_1
FreeBSD:15:latest0.9.0_10.9.0_1n/a-0.7.1
FreeBSD:15:quarterly0.9.0_10.9.0_1n/an/an/a
FreeBSD:16:latest0.9.00.9.0_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Test 1

The full lists below include those, and their dependencies in turn.

Build dependencies 1

No port depends on this one.

Configuration

No options to configure.

USES
go:1.27+,modules
Service scripts
none

Files

distinfo 2
FileSizeSHA256
go/graphics_d2/d2-v0.9.0/v0.9.0.mod163571307c0924ecbf4c51c825b44871aa6cf568921b7eb90bebc5f46623629bed86
go/graphics_d2/d2-v0.9.0/v0.9.0.zip3.4235729e+0739f3aa81c4c6801a290542cfb77f315d0c404d2b5c47bf1227d1e1ff37c59785

Commit history 9

DateCommitCreditsLog message
d81b7ba3c3 Dag-Erling Smørgrav various: Bump Go ports for Go 1.26.10 / 1.27.3
031fc6bfbf Dag-Erling Smørgrav various: Bump Go ports
ffa7bd0d77 Adam Weinberger graphics/d2: Update to 0.9.0
This is a significant release. Until now, D2 shipped with the ELK and Dagre layout engines, but TALA was closed-source and required a paid subscription. Just a day or two ago, D2 announced that they are shutting down their subscription service (and the online editor for D2 diagrams.) This release now includes the TALA engine, and no license key is required to use it. At some point, the Terrastruct D2 editor is expected to be open-sourced. Changes: https://github.com/d2lang/d2/releases/tag/v0.9.0
dd0905142a Adam Weinberger many: Bump go ports for 1.26.8 and 1.27.1
b4918aafb6 Adam Weinberger graphics/d2: Update to 0.8.2

The latest 5 of 9 in the history this site was built from.