Tested on FreeBSD 15.0 with X11/scfb.
On FreeBSD, third-party software is typically built and installed through
the ports system under /usr/ports. This is the standard way to compile
software from source on FreeBSD, comparable to building packages from
AUR on Arch Linux or PPAs on Ubuntu.
sudo mkdir -p /usr/ports/x11/onboard
sudo cp -R freebsd-port/* /usr/ports/x11/onboard/
cd /usr/ports/x11/onboard
sudo make install cleanThe port handles all dependencies and shebang rewriting automatically.
The Python version is determined by DEFAULT_VERSIONS in /etc/make.conf
or the ports framework default.
-
The
libudev-devdpackage provides a FreeBSD-compatiblelibudevshim. -
The
bashpackage is required for certain build scripts. -
The
uinputdevice (/dev/uinput) must be accessible for key injection:kldload uinput echo 'uinput_load="YES"' >> /boot/loader.conf