BSD Ports

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

SystemPortVersion
FreeBSDdevel/termbox22.5.0
DragonFlydevel/termbox22.5.0
HardenedBSDdevel/termbox22.5.0
GhostBSDdevel/termbox22.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.5.02.5.0-2.5.02.5.0
FreeBSD:14:quarterly2.5.02.5.0n/a2.5.02.5.0
FreeBSD:15:latest2.5.02.5.0n/a2.5.02.5.0
FreeBSD:15:quarterly2.5.02.5.0n/an/an/a
FreeBSD:16:latest2.5.02.5.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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

OptionDefaultDescription
DOCSoffBuild and/or install documentation
EXAMPLESoffBuild 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
FileSizeSHA256
termbox-termbox2-v2.5.0_GH0.tar.gz661221d7a9811060e3673be417019007acbf4e2575734b6f95baaf6e8aed27f06c65a

Commit history 0

No commits in the history this site was built from.