From nobody Fri Dec 12 18:44:56 2025 X-Original-To: dev-commits-doc-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dSdfx0Y1gz6K6Tb for ; Fri, 12 Dec 2025 18:44:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dSdfw71hhz3MZ3 for ; Fri, 12 Dec 2025 18:44:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765565097; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=mWZmMC2na86KnKnf2ZwJkiiqpg91v1Rhp+IBqGyNHGI=; b=agE8taF1Ki4+l1NoPrbg1hHU4STezkr4mLrF6z/WQZLliau0wr9qMW2ONSy/v7k5jCt+Qg U5eycyfWR7M+PEt775z3cOnD2phMyMMKHd1pE+voes9E15AVteK7ikma/e+NiVkIuETMRm JVwKweS/Inf8F6by2NHDU/6jcbXHdAxB2o4gYy3yNPBAPgSCsUMDloyVshwQZLriGKnyN5 mPYRRwUUthyFF693UOqGX4y9u/I6bO5NzZP4/YKolhai5MBNzH37/XW4C4LlCtjg2Q8T5Z WJ3TSbV+sPDBBYofxnLUFQJkmvMnLnL4ETPCJRpCQD1Gt4dpSvI6kx3/ZOijqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765565097; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=mWZmMC2na86KnKnf2ZwJkiiqpg91v1Rhp+IBqGyNHGI=; b=EIjoP3UbuPuOyeyXBQegUobv3xETkfPv3JFFgbDihnmwqk3INDO1lTe3/OR9hgYRPfgP95 xR35hDtmoroydu19nCSOHvzBAAYkyDQwRpz6lpncTMSJHl0eQwkEobhx6dzZWgJKCs612M E+hGM4JQ4Q7xlIZ0jaraek4wZ8I5cnmp4VOewZKfX1bjecSg9JxI71Cw4q9qvMRFw86wRd EWsRcUPV5iOQhVl7gaH6AGKcoCdyX2HZIOT9j9fsi7Z8yXhdblvPh+X5ryFHf+iw52clJb RhzjOGPLex0eguX0Yqe3OK+FjZk1L5VEwVi/MU21PVUIt0F4zddiHUKPoJ02zQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765565097; a=rsa-sha256; cv=none; b=msbUnHaYhg7UmDFoUFPU58WogERqz2QqT8Wz1n5i7jFlZA4qcWzn/xn+7Tusc2WvoXcIfX MsCvvtrch/A/Uv+mdtE3vY9zdHGY3vkcwzgcrRse1Qk+768JOabC2TOvtwjinmMAUsjU5C fa7u/SX28bkdOjzw29RkEGwjfjYG3hqPAvaJpHtfHLksq1yHVhqR9Ekpq6egxRaBf8MlYc jFWAiepC09PQZrBSFamklWzcYelYEzmnL4pBb0FWYLtezWTk+c47w7P+YT1M7D403V1HpX KrNl+R8mAZVa5swvQKmIC5g7xVWgqBQXAhUDw8daUOfadb/Fxm74CJl8Y4B3Mw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4dSdfw63xPzDY4 for ; Fri, 12 Dec 2025 18:44:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id f593 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 12 Dec 2025 18:44:56 +0000 To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Fernando Apeste=?utf-8?Q?gu=C3=ADa?= Subject: git: d7916248da - main - [phb][Uses]: Document Uses=zig List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-doc-all@freebsd.org Sender: owner-dev-commits-doc-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fernape X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d7916248da8d692453b7228f387f4361c3aab648 Auto-Submitted: auto-generated Date: Fri, 12 Dec 2025 18:44:56 +0000 Message-Id: <693c62a8.f593.20ab0c0a@gitrepo.freebsd.org> The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/doc/commit/?id=d7916248da8d692453b7228f387f4361c3aab648 commit d7916248da8d692453b7228f387f4361c3aab648 Author: Fernando ApesteguĂ­a AuthorDate: 2025-12-12 17:27:16 +0000 Commit: Fernando ApesteguĂ­a 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`