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 photosAll times are UTC
Ukraine
Port details on branch 2024Q4
zig Language designed for robustness, optimality, and maintainability
0.15.2 lang on this many watch lists=7 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.15.2Version 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: 2025-12-18 10:47:52
Commit Hash: c99c0e8
People watching this port, also watch:: synth, openjpeg, autoconf, libevent, mesa-libs
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.15.2/catalog.mk
  2. /usr/local/share/licenses/zig-0.15.2/LICENSE
  3. /usr/local/share/licenses/zig-0.15.2/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
distinfo:
TIMESTAMP = 1761276338 SHA256 (zig-0.15.2.tar.xz) = d9b30c7aa983fcff5eed2084d54ae83eaafe7ff3a84d8fb754d854165a6e521c SIZE (zig-0.15.2.tar.xz) = 21366268

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

Configuration Options:
===> The following configuration options are available for zig-0.15.2: 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.15.2/
Collapse this list.

There are no commits on branch 2024Q4 for this port