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 2025Q3
zig Language designed for robustness, optimality, and maintainability
0.16.0 lang on this many watch lists=5 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.16.0Version of this port present on the latest quarterly branch.
Maintainer: bsd@orsolic.org search for ports maintained by this maintainer
Port Added: 2019-09-21 12:10:14
Last Update: 2026-05-20 08:53:26
Commit Hash: 6f22a7d
People watching this port, also watch:: synth, smartmontools, tmux, mkfontscale, zip
License: MIT
WWW:
https://ziglang.org/
Description:
Zig is a general purpose programming language designed for robustness, optimality, and maintainability.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (3 items)
Collapse this list.
  1. /usr/local/share/licenses/zig-0.16.0/catalog.mk
  2. /usr/local/share/licenses/zig-0.16.0/LICENSE
  3. /usr/local/share/licenses/zig-0.16.0/MIT
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • zig>0:lang/zig
Conflicts:
CONFLICTS_INSTALL:
  • zig0*
To install the port:
cd /usr/ports/lang/zig/ && make install clean
To add the package, run one of these commands:
  • pkg install lang/zig
  • pkg install zig
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: zig
Flavors: there is no flavor information for this port.
ONLY_FOR_ARCHS: aarch64 amd64 powerpc64le
distinfo:
TIMESTAMP = 1776262682 SHA256 (zig-0.16.0.tar.xz) = 43186959edc87d5c7a1be7b7d2a25efffd22ce5807c7af99067f86f99641bfdf SIZE (zig-0.16.0.tar.xz) = 22503260

Packages (timestamps in pop-ups are UTC):
zig
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.15.20.15.2---n/an/an/a
FreeBSD:13:quarterly0.15.20.15.2---n/an/an/a
FreeBSD:14:latest0.16.00.16.0------
FreeBSD:14:quarterly0.16.00.16.0------
FreeBSD:15:latest0.16.00.16.0n/a-n/an/a--
FreeBSD:15:quarterly0.16.00.16.0n/a-n/an/a--
FreeBSD:16:latest0.16.00.16.0n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. llvm21>=0 : devel/llvm21
  2. cmake : devel/cmake-core
  3. ninja : devel/ninja
Runtime dependencies:
  1. llvm21>=0 : devel/llvm21
Library dependencies:
  1. libzstd.so : archivers/zstd
This port is required by:
for Build
  1. audio/linuxwave
  2. devel/superhtml
  3. devel/zls
  4. ports-mgmt/zig2tuple
  5. x11/ly
  6. x11-wm/river
for Run
  1. devel/zls

Configuration Options:
===> The following configuration options are available for zig-0.16.0: DOCS=on: Build and/or install documentation STATIC=off: sets ZIG_STATIC to avoid 800MiB LLVM runtime dependency ===> Use 'make config' to modify these settings
Options name:
lang_zig
USES:
cmake compiler:c++11-lang localbase:ldflags tar:xz
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://ziglang.org/builds/
  2. https://ziglang.org/download/0.16.0/
Collapse this list.

There are no commits on branch 2025Q3 for this port