devel/termbox2 2.5.0 FreeBSD
Terminal rendering library for creating TUIs
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- devel
- Package size
- 114.5 KiB, 537.6 KiB installed
Description
termbox2 is a terminal rendering library for creating TUIs. It is an alternative to the ubiquitous ncurses library. It ships with built-in support for popular terminals and can also fallback to terminfo if present. Compared to the original termbox, it retains a simple API and no dependencies beyond libc, and adds stricter error checking, more efficient escape sequence parsing, opt-in support for 32-bit color, extended grapheme clusters, code gen for built-in escape sequences, a test suite, and more.
termbox2 is organized as a single file header library, though it is possible to compile it as a stand-alone shared or static library.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/termbox2 | 2.5.0 |
| DragonFly | devel/termbox2 | 2.5.0 |
| HardenedBSD | devel/termbox2 | 2.5.0 |
| GhostBSD | devel/termbox2 | 2.5.0 |
Install
Binary package:
pkg install termbox2
From the ports tree:
cd /usr/ports/devel/termbox2/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= termbox2>0:devel/termbox2
LIB_DEPENDS= libtermbox2.so:devel/termbox2
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.5.0 | 2.5.0 | - | 2.5.0 | 2.5.0 |
| FreeBSD:14:quarterly | 2.5.0 | 2.5.0 | n/a | 2.5.0 | 2.5.0 |
| FreeBSD:15:latest | 2.5.0 | 2.5.0 | n/a | 2.5.0 | 2.5.0 |
| FreeBSD:15:quarterly | 2.5.0 | 2.5.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.5.0 | 2.5.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 3
No port depends on this one.
Configuration
Options name: devel_termbox2
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
| EXAMPLES | off | Build and/or install examples |
- USES
- gmake
- Service scripts
- none
Files
pkg-plist 17
- include/termbox2.h
- lib/libtermbox2.a
- lib/libtermbox2.so
- lib/libtermbox2.so.2
- lib/libtermbox2.so.2.0.0
- share/doc/termbox2/README.md
- share/examples/termbox2/example.d
- share/examples/termbox2/example.go
- share/examples/termbox2/example.nim
- share/examples/termbox2/example.php
- share/examples/termbox2/example.py
- share/examples/termbox2/example.rb
- share/examples/termbox2/example.rs
- share/examples/termbox2/example.zig
- share/examples/termbox2/keyboard
- share/examples/termbox2/keyboard.c
- share/examples/termbox2/keyboard.gif
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| termbox-termbox2-v2.5.0_GH0.tar.gz | 66122 | 1d7a9811060e3673be417019007acbf4e2575734b6f95baaf6e8aed27f06c65a |
Commit history 0
No commits in the history this site was built from.