lang/rust-nightly-bun: add pinned Rust nightly toolchain
Add a binary port with the Rust nightly required by lang/bun, pinned to
2026-09-20 (rustc 1.100.0-nightly (feaadeeac 2026-09-19)). It installs
rustc, cargo, rust-std and rust-src under PREFIX/rust-nightly-bun so it
can coexist with lang/rust and lang/rust-nightly.
PR: 299115
lang/fpc-wasip1-devel: New port: Free Pascal wasm wasip1 compiler (devel)
FPC supports three Wasm compilation targets: WASIp1 (WASI 0.1, also known as
WASI Preview 1), WASIp1threads (WASI 0.1 with the wasi-threads proposal) and
Embedded. FPC's Wasm support adds to FPC's already extensive list of
compilation targets, potentially allowing Pascal programs to run in even more
environments than they already do.
PR: 297129
Reported by: tiga
lang/fpc-wasip1threads-devel: New port: Free Pascal wasm wasip1threads compiler
(devel)
FPC supports three Wasm compilation targets: WASIp1 (WASI 0.1, also known as
WASI Preview 1), WASIp1threads (WASI 0.1 with the wasi-threads proposal) and
Embedded. FPC's Wasm support adds to FPC's already extensive list of
compilation targets, potentially allowing Pascal programs to run in even more
environments than they already do.
PR: 297129
lang/ez80asm: Z80/Z180/eZ80 assembler for the Agon Light platform
ez80asm is a Z80, Z180 and eZ80 assembler written for the Agon Light
computer and cross-compilation environments.
PR: 274464
Event: EuroBSDcon Devsummit 2026
lang/smallbasic: Interpreter for the BASIC programming language
SmallBASIC is a fast and easy to learn BASIC language interpreter ideal for
everyday calculations, scripts and prototypes. SmallBASIC includes
trigonometric, matrices and algebra functions, a built in IDE, a powerful
string library, system, sound, and graphic commands along with structured
programming syntax.
WWW: https://smallbasic.github.io/
PR: 294311
lang/go127: Add go 1.27
Changes:
Go 1.27 now supports generic methods: a method declaration may declare
its own type parameters. This widely anticipated change allows adding
generic functions within the namespace of a particular data type where
before one had to declare such functions with a scope of the entire
package.
A key in a struct literal may now be any valid field selector for the
struct type, not just a (top-level) field name of the struct.
Function type inference has been generalized to apply in all contexts
where a generic function is assigned to a variable of (or converted
to) a matching function type.
lang/csharp-mode.el: Remove expired port
2026-06-30 lang/csharp-mode.el: No longer maintained upstream as a standalone
package. This mode is part of Emacs core since Emacs 29
lang/swift6: Add port: Powerful, flexible, multiplatform programming language
(Version 6)
Swift is the only language that scales from embedded devices and
kernels to apps and cloud infrastructure. It's simple, and
expressive, with incredible performance and safety. And it has
unmatched interoperability with C and C++.
It's the combination of approachability, speed, safety, and all of
Swift's strengths that make it so unique.
WWW: https://www.swift.org/
PR: 296000
Differential Revision: https://reviews.freebsd.org/D57541
lang/gnat15: New GCC-15 Ada Port
GCC-15 Ada Port:
* Add GNAT-15 to the Ports Tree
* Add xz:threads option to ${TAR} to make use of multi-threaded
compression
* Add GNU OpenMP libraries. This is required for GNATColl Bindings
* Add GNAT and GNAT_SO_VERSION to ${PLIST_SUB} to remove hard-coded
version dependent information. The aim here is to reduce work
updating the Port, or using the pkg-plist to bootstrap the next major
release
* Complete ${LICENSE} block
* Expand pkg-message and make UCL compliant
* Modernise and update ${COMMENT}, ${WWW} and pkg-descr
https://gcc.gnu.org/gcc-15/changes.html#ada
PR: 292708
Co-authored-by: Alastair Hogge <agh@riseup.net>
Co-authored-by: Marcin Cieślak <saper@saper.info>
lang/lua55: Add port: Powerful, efficient, lightweight, embeddable scripting
language (Version 5.5)
Lua is a programming language originally designed for extending applications,
but also frequently used as a general-purpose, stand-alone language. Lua
combines simple procedural syntax (similar to Pascal) with powerful data
description constructs based on associative arrays and extensible semantics.
Lua is dynamically typed, interpreted from bytecodes, and has automatic memory
management with garbage collection, making it ideal for configuration,
scripting, and rapid prototyping.
A fundamental concept in the design of Lua is to provide meta-mechanisms for
implementing features, instead of providing a host of features directly in
the language. For example, although Lua is not a pure object-oriented
language, it does provide meta-mechanisms for implementing classes and
inheritance. Lua's meta-mechanisms bring an economy of concepts and keep the
language small, while allowing the semantics to be extended in unconventional
ways. Extensible semantics is a distinguishing feature of Lua.
Lua is implemented as a small library of C functions, written in ANSI C, and
compiles unmodified in all known platforms. The implementation goals are
simplicity, efficiency, portability, and low embedding cost.
WWW: https://www.lua.org/
PR: 295279
Reviewed by: vvd
Approved by: portmgr (implicit)
Differential Revision: https://reviews.freebsd.org/D57001
lang/babashka: New port: Fast native Clojure scripting runtime
Babashka is a native, fast-starting Clojure interpreter for scripting.
It uses GraalVM native-image to produce a self-contained binary that
starts instantly, making Clojure practical for shell scripting and
command-line tools.
This port installs a statically-linked Linux binary that runs via
FreeBSD's Linux binary compatibility layer (Linuxulator).
WWW: https://babashka.org/
lang/gcc16: Add port
GCC, the GNU Compiler Collection, supports a number of languages.
This port installs the C, C++, and Fortran front ends as gcc16,
g++16, and gfortran16, respectively.
This is the first release from the GCC 16 series.
It largely is a copy of lang/gcc16-devel, with release-specific
modifications from lang/gcc15.
Common issues that could happen when porting code to GCC 16:
https://gcc.gnu.org/gcc-16/porting_to.html
Changes: https://gcc.gnu.org/gcc-16/changes.html
lang/zig015: copy from lang/zig
Create the lang/zig015 for ports not ready for Zig 0.16.0 and depending
on Zig 0.15
PR: 294741
Approved by: arrowd (co-mentor)
lang/gcc17-devel: Add port
GCC, the GNU Compiler Collection, supports a number of languages.
This port installs the C, C++, and Fortran front ends as gcc17, g++17,
and gfortran17, respectively.
This is the first snapshot from trunk with the GCC 17 designation.
It largely is a copy of lang/gcc16-devel.
lang/asmc: Masm compatible assembler
Asmc is a slow-burning attempt of making a functional programming
language out of assembly. It supports AVX-512 instructions (Masm v14)
but the Version macro is currently set to v10. The assembler is
written in assembly and is open source under the GNU General Public
License. It runs on Windows and Linux.
NOTE: this assembler is written in assembly and has its own structure
definitions for Linux that it uses when it builds itself. While these
are wrong on FreeBSD, the set of library calls it does is small and
only readdir() and sigaction() seem to possibly diverge. However,
this does not seem to cause any observable problems when using asmc to
build the LZMA SDK on amd64, though there is a crash on i386 I need to
investigate further.
WWW: https://github.com/nidud/asmc
lang/go126: Add go 1.26
From https://go.dev/doc/go1.26:
The latest Go release, version 1.26, arrives in February 2026, six
months after Go 1.25. Most of its changes are in the implementation
of the toolchain, runtime, and libraries. As always, the release
maintains the Go 1 promise of compatibility. We expect almost all Go
programs to continue to compile and run as before.
There are exciting updates in this new Go minor:
- New Green Tea-based garbage collector that cuts GC overhead by an
observed 10-40%.
- cgo runtime overhead reduced by an observed 30%.
- `go fix` has been rewritten as is now Go's official modernizer. In
particular, it includes all of `go vet`'s heuristics, making it
possible to fix the things that the latter identifies.
- Heap base address is now randomized.
- pprof can now (experimentally) identify leaked goroutines.
- New crypto/hpke package includes support for quantum-vulnerable and
post-quantum hybrid KEMs.
lang/go12{2,3}: Remove remaining unsupported versions of Go
Go's support lifecycle is current minor and current-1. New minors are
released every 6 months, so any minor is supported for one year. There
are no LTS versions.
With des's phenomenal work on go.mk, it was finally possible to
resolve the remaining hard deps on these old versions.
lang/kotlin22: add port for Kotlin 2.2.21
This port is required by games/lwjgl3. Since Kotlin 2.3.0, Ant support has been
removed, but lwjgl3 has complex long ongoing migration story from Ant to
Gradle.
Hopefully after migration the port may be removed.
PR: 292099
Reported by: vvd@
lang/zig014: copy from lang/zig
Zig is making lots of breaking changes from 0.14
to 0.15 consumers aren't necessarily keeping up.
Create the lang/zig014 as a tempoirary solution
for ports depending on zig 0.14
PR: 289011
Approved by: Pero Oršolić <bsd@orsolic.org> (maintainer)
lang/typescript: Remove expired port
2025-11-30 lang/typescript: New port was added without port maintainer,
submitter not interested in taking it. See
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289856 and contact mandree@ if
you are willing to maintain typescript and have a track record that lets you
appear suitable for maintaining a high-profile port.
lang/spidermonkey91: Remove expired port
lang/spidermonkey91 has no users in the ports tree, so let's remove
before someone adds a museum software port that depends on it.
We have more than enough newer versions available to start new projects.
lang/python313: add
What's new: https://docs.python.org/3/whatsnew/3.13.html
Most notably, introduce free-threaded mode. As this mode changes
the ABI, the entire distribution lives in a separate hierarchy, and
thus a new child port (lang/python313t) and FLAVOR (py313t) are
introduced.
Co-authored-by: vishwin
PR: 274671
Differential Revision: https://reviews.freebsd.org/D49680
lang/python39: Remove expired port
2025-10-31 lang/python39: Upgrade to a newer Python version. 3.9 is in
maintenance status and gets security fixes only. End-of-Life: 2025-10. See
https://devguide.python.org/versions/
lang/dotnet-devel: Add port targeting .NET 10.0.0-alpha.1.24530.1
This port is intended to be used to produce bootstraps for upcoming .NET
versions. It is not intended to be packaged by FreeBSD, hence setting
the IGNORE knob.
lang/kefir: C17/C23 compiler
Kefir is an independent compiler for the C17/C23 programming language,
developed by Jevgenij Protopopov. Kefir has been validated with a test
suite of 80 software projects, among which are GNU core- and binutils,
Curl, Nginx, OpenSSL, Perl, Postgresql, Tcl and many others. The
compiler targets x86_64 architecture and System-V AMD64 ABI, supporting
Linux, FreeBSD, NetBSD an OpenBSD. While the primary priority is
compatibility and compliance, Kefir also features conservative SSA-based
optimization pipeline, debug information generation,
position-independent code, and implements bit-identical bootstrap.
Kefir focuses on C source code translation to assembly, and integrates
with the rest of system toolchain (assembler, linker, standard library)
for other tasks.
WWW: https://kefir.protopopov.lv/
lang/go125: Add port
Introduction to Go 1.25¶
The latest Go release, version 1.25, arrives in August 2025, six months
after Go 1.24. Most of its changes are in the implementation of the
toolchain, runtime, and libraries. As always, the release maintains the
Go 1 promise of compatibility. We expect almost all Go programs to
continue to compile and run as before.
https://go.dev/doc/go1.25
lang/luajit: update to v2.1
Disconnect lang/luajit-devel from the build, will be removed soon.
Bump PORTREVISIONs for the consumers.
Discussed with: adamw
PR: 225342
lang/swift510: New port
The Swift programming language -- a modern programming language with
many great features.
This port includes:
* the Swift compiler
* the Swift standard library
* various tools
* the Foundation framework
* the Swift Package Manager (SwiftPM)
* the run-time support that you need for running compiled programs
PR: 286454
Reviewed-by: kib
lang/gcc16-devel: Add port
GCC, the GNU Compiler Collection, supports a number of languages.
This port installs the C, C++, and Fortran front ends as gcc16, g++16,
and gfortran16, respectively.
This is the first snapshot from trunk with the GCC 16 designation. It
largely is a copy of lang/gcc15-devel.
Note: files/patch-libgcc_unwind.inc will get obsolete once all supported
FreeBSD releases include commit
22e564c74eb20e14bd93fd9fdde20e38a29cfcf1. [1]
PR: 285711 [1]