BSD Ports

ports-mgmt/zig2tuple g20260706 FreeBSD

Generate ZIG_TUPLE knob for Zig ports

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
987a92d112
License
BSD2CLAUSE
Categories
ports-mgmt
Package size
118.5 KiB, 258.2 KiB installed

Description

zig2tuple is a FreeBSD ports utility that converts Zig Object Notation dependency entries (build.zig.zon files) to the ZIG_TUPLE knob that is later consumed the USES=zig machinery.

Install

Binary package:

pkg install zig2tuple

From the ports tree:

cd /usr/ports/ports-mgmt/zig2tuple/ && make install clean

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

RUN_DEPENDS=	zig2tuple>0:ports-mgmt/zig2tuple

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:latestg20260706g20260706---
FreeBSD:14:quarterlyg20260706g20260706n/a--
FreeBSD:15:latestg20260706g20260706n/a--
FreeBSD:15:quarterlyg20260706g20260706n/an/an/a
FreeBSD:16:latestg20260706g20260706n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

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

Build dependencies 4

No port depends on this one.

Configuration

No options to configure.

USES
zig
Service scripts
none

Files

distinfo 1
FileSizeSHA256
zig/kenrap-zig2tuple-g20260706-4dbe3ba3516bb9004188e18822c765a0f4fb47d2_GH0.tar.gz6193d9d8793120644f971e99708249b07f9654bb9190e91d4fb66d53fc9ee6422363

Commit history 1

DateCommitCreditsLog message
987a92d112 Kenneth Raplee ports-mgmt/zig2tuple: Update to g20260706
Rewrites the ZON dependency parsing with std.zig.Ast + Zoir. Other changes: - Fixed formatUrl from trimming git+ commit hashes by 7 chars. Hashes are now at 40 chars and removes any possible commit ambiguity. - Drop the tarball-extension allowlist. - Dedupe packages that appear under multiple mirror URLs. - Report malformed ZON to stderr instead of silently skipping it. Approved by: arrowd (co-mentor)