View | Details | Raw Unified | Return to bug 240522
Collapse All | Expand All

(-)devel/termbox/Makefile (+23 lines)
Line 0 Link Here
1
# Created by: Adam Saponara <as@php.net>
2
# $FreeBSD
3
4
PORTNAME=		termbox
5
DISTVERSION=	1.1.2
6
PORTREVISION=	1
7
CATEGORIES=		devel
8
9
MAINTAINER=		as@php.net
10
COMMENT=		Legacy-free alternative to ncurses
11
12
USES=			python:2.7,build waf
13
USE_GITHUB=		yes
14
GH_ACCOUNT=		nsf
15
GH_TAGNAME=		v1.1.2
16
17
PLIST_FILES=	include/termbox.h \
18
				lib/libtermbox.so.1.0.0 \
19
				lib/libtermbox.so.1 \
20
				lib/libtermbox.so \
21
				lib/libtermbox.a
22
23
.include <bsd.port.mk>
(-)devel/termbox/pkg-descr (+20 lines)
Line 0 Link Here
1
Termbox is a library that provides minimalistic API which allows the 
2
programmer to write text-based user interfaces.
3
4
It is based on a very simple abstraction. The main idea is viewing 
5
terminals as a table of fixed-size cells and input being a stream of 
6
structured messages. Would be fair to say that the model is inspired 
7
by windows console API. The abstraction itself is not perfect and it 
8
may create problems in certain areas. The most sensitive ones are 
9
copy & pasting and wide characters (mostly Chinese, Japanese, Korean 
10
(CJK) characters). When it comes to copy & pasting, the notion of 
11
cells is not really compatible with the idea of text. And CJK runes 
12
often require more than one cell to display them nicely. Despite the 
13
mentioned flaws, using such a simple model brings benefits in a form 
14
of simplicity. And KISS principle is important.
15
16
At this point one should realize, that CLI (command-line interfaces) 
17
aren't really a thing termbox is aimed at. But rather 
18
pseudo-graphical user interfaces.
19
20
WWW: https://github.com/nsf/termbox

Return to bug 240522