Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Dec 2025 18:44:56 +0000
From:      Fernando Apeste=?utf-8?Q?gu=C3=ADa?= <fernape@FreeBSD.org>
To:        doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org
Subject:   git: d7916248da - main - [phb][Uses]: Document Uses=zig
Message-ID:  <693c62a8.f593.20ab0c0a@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/doc/commit/?id=d7916248da8d692453b7228f387f4361c3aab648

commit d7916248da8d692453b7228f387f4361c3aab648
Author:     Fernando ApesteguĂ­a <fernape@FreeBSD.org>
AuthorDate: 2025-12-12 17:27:16 +0000
Commit:     Fernando ApesteguĂ­a <fernape@FreeBSD.org>
CommitDate: 2025-12-12 18:44:28 +0000

    [phb][Uses]: Document Uses=zig
    
    Added in
    https://cgit.freebsd.org/ports/commit/?id=2d27a0b0097ca2ddd1e24cb5c656126d64b092a4
---
 .../en/books/porters-handbook/uses/_index.adoc       | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/documentation/content/en/books/porters-handbook/uses/_index.adoc b/documentation/content/en/books/porters-handbook/uses/_index.adoc
index 622021e234..05bcecfa40 100644
--- a/documentation/content/en/books/porters-handbook/uses/_index.adoc
+++ b/documentation/content/en/books/porters-handbook/uses/_index.adoc
@@ -3141,6 +3141,26 @@ The category has to match upstream categories.
 The second argument is the build system to use.
 autotools is the default, but meson is also supported.
 
+[[uses-zig]]
+== `zig`
+
+Possible arguments: (none)
+
+Provide support for building package:lang/zig[] based ports.
+
+The framework exposes the following variables to the port:
+
+`ZIG_TUPLE`::
+List of zig dependencies needed to build the port.
+Every entry is a triplet of a name, an URL, and a directory where the dependency
+is expected to be found.
+These triplets can be generated by running:
+
+[source,shell]
+....
+% make make-zig-tuple
+....
+
 [[uses-zip]]
 == `zip`
 


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?693c62a8.f593.20ab0c0a>