Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Volunteers wanted to help translate FreshPorts
Searches without login should now work. You must get asked to click a button.
Port details on branch 2025Q3
zig Language designed for robustness, optimality, and maintainability
0.16.0 lang Σ=6 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-10-10 18:15:25
Commit Hash: 6736d9e
People watching this port, also watch: synth, libgd, png, nmap, curl
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 powerpc64
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
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest0.16.00.16.0---
FreeBSD:14:quarterly0.16.00.16.0---
FreeBSD:15:latest0.16.00.16.0n/a-n/a
FreeBSD:15:quarterly0.16.00.16.0n/a-n/a
FreeBSD:16:latest0.16.00.16.0n/a-n/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
  7. x11-wm/river-classic
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