pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

wip/termbox: import termbox-1.1.2



Module Name:	pkgsrc-wip
Committed By:	ng0 <ng0%n0.is@localhost>
Pushed By:	ng0
Date:		Wed Mar 20 12:36:57 2019 +0000
Changeset:	2ea229536857f1f382b8c3be8078511568065a40

Added Files:
	termbox/DESCR
	termbox/Makefile
	termbox/PLIST
	termbox/distinfo

Log Message:
wip/termbox: import termbox-1.1.2

Termbox is a library that provides minimalistic API which allows the
programmer to write text-based user interfaces.
It is based on a very simple abstraction. The main idea is viewing
terminals as a table of fixed-size cells and input being a stream of
structured messages.
The model is inspired by the windows console API.
The abstraction itself is not perfect and it may create problems in
certain areas. The most sensitive ones are copy & pasting and wide
characters (mostly Chinese, Japanese, Korean (CJK) characters).
When it comes to copy & pasting, the notion of cells is not really
compatible with the idea of text. And CJK runes often require more
than one cell to display them nicely.
Termbox is aimed at pseudo-graphical user interfaces.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2ea229536857f1f382b8c3be8078511568065a40

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 termbox/DESCR    | 13 +++++++++++++
 termbox/Makefile | 29 +++++++++++++++++++++++++++++
 termbox/PLIST    |  6 ++++++
 termbox/distinfo |  6 ++++++
 4 files changed, 54 insertions(+)

diffs:
diff --git a/termbox/DESCR b/termbox/DESCR
new file mode 100644
index 0000000000..2ce7f82ee0
--- /dev/null
+++ b/termbox/DESCR
@@ -0,0 +1,13 @@
+Termbox is a library that provides minimalistic API which allows the
+programmer to write text-based user interfaces.
+It is based on a very simple abstraction. The main idea is viewing
+terminals as a table of fixed-size cells and input being a stream of
+structured messages.
+The model is inspired by the windows console API.
+The abstraction itself is not perfect and it may create problems in
+certain areas. The most sensitive ones are copy & pasting and wide
+characters (mostly Chinese, Japanese, Korean (CJK) characters).
+When it comes to copy & pasting, the notion of cells is not really
+compatible with the idea of text. And CJK runes often require more
+than one cell to display them nicely.
+Termbox is aimed at pseudo-graphical user interfaces.
diff --git a/termbox/Makefile b/termbox/Makefile
new file mode 100644
index 0000000000..f5d101e81f
--- /dev/null
+++ b/termbox/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD$
+
+GITHUB_PROJECT=	termbox
+GITHUB_TAG=	v1.1.2
+DISTNAME=	${GITHUB_TAG}
+PKGNAME=	termbox-${DISTNAME:S/v//}
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=nsf/}
+DIST_SUBDIR=	${GITHUB_PROJECT}
+
+MAINTAINER=	ng0%n0.is@localhost
+HOMEPAGE=	https://github.com/nsf/termbox/
+COMMENT=	Library for writing text-based user interfaces
+LICENSE=	mit
+
+PYTHON_FOR_BUILD_ONLY=	yes
+
+USE_LANGUAGES=	c
+
+WRKSRC=		${WRKDIR}/${PKGNAME_NOREV}
+
+BUILD_DEPENDS+= waf>=1.8.4:../../devel/waf
+
+WAF_ENV=	CC=${CC:Q} PREFIX=${PREFIX:Q} \
+		CFLAGS=${CFLAGS:Q} \
+		LINKFLAGS=${LDFLAGS:Q} DESTDIR=${DESTDIR:Q}
+
+.include "../../devel/waf/waf.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/termbox/PLIST b/termbox/PLIST
new file mode 100644
index 0000000000..53c60c1b45
--- /dev/null
+++ b/termbox/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD$
+include/termbox.h
+lib/libtermbox.a
+lib/libtermbox.so
+lib/libtermbox.so.1
+lib/libtermbox.so.1.0.0
diff --git a/termbox/distinfo b/termbox/distinfo
new file mode 100644
index 0000000000..d67a39f2ed
--- /dev/null
+++ b/termbox/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (termbox/v1.1.2.tar.gz) = d6f5412e5101242223e414ed5d49085a6e6aa553
+RMD160 (termbox/v1.1.2.tar.gz) = ccd1b806173f7d38eafbbee9282707a0ecb9ee7f
+SHA512 (termbox/v1.1.2.tar.gz) = fcb240e9aa480a0cc738f0d01e60c39ef0f333f434c0d1f2d276d3d75edd351e694fd800e0b8dbadd12be686a4261551d10d475933197ef539cdb4dd70c153cb
+Size (termbox/v1.1.2.tar.gz) = 119673 bytes


Home | Main Index | Thread Index | Old Index