From nobody Mon Jan 6 23:06:52 2025 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YRqZ555MPz5kNF0; Mon, 06 Jan 2025 23:06:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YRqZ50Xbmz4tdc; Mon, 6 Jan 2025 23:06:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736204813; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6pVibV6X6uhlD/Kjqekww64LKmgdDfcMGxq6sJt1uBg=; b=wMsBqAybl3hg6OdAc5rlifGjm/W8EQorJBWx3Hxez0vperu3lk6uSaqNpA65dpfCcifdQo cxYbmI6OQGnbPKM1BYn1bVxCu1Xa1KF4pAe543w+wmX31wYNG6V3rA2u53j/Z8xqFWtOwV NQ5FMddmEni5W/399s0RQHkhc7hkmGpGNfcr8ewTTHO/oyC8YujUI+hgha5d8jvdPYAL9O Cc+bjka/2KPL8SOTlJfJFbF8F3MgRLW3uVzXDrihNc8L9E05IaW32ufD7QUEmAto4NLsP9 okjGO7NtGL5QsezCizlBaqzuSuIFeas74gACBh9Jew5YhtXu+9XhcWBDyRgwzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736204813; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6pVibV6X6uhlD/Kjqekww64LKmgdDfcMGxq6sJt1uBg=; b=FUcOsZEf12iWxp4CFo2vOOCsRxe1CnsdgOE1hSZT/ZkCVlqy2EQ4/04s5UnYTyyCHQSRV6 XmiZIY5K2lHDVxrn/oj5DOpqJ7AOJ0iW4APa1L3jHSz5lVmnogcXFjjCOX+WR1ERa/cjIc O1Dao0pka7saTyIXksd8ccHTUdY40/Z1QkolNZ3LXZkgSo7Pyzmef27NWQ8GOLxmjb562s av2MGPKK2cYe2DSPaSTmohVgOeEIaK9dt9dFW/K31xq1FVNb/Px4IvcrC218WqFHa33jpI IgpzMHlmhzg4hQV6Giwv7TJG91cEmBnfQGL9e9uO52hXMjIV1pJI9Sn6HiVthA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736204813; a=rsa-sha256; cv=none; b=sjkQoy3tsGEOcm1hp5hBT/OajYIr2tF6OHajNXzhMzspu4WQa3rUz8DNsGcIXApKQxZqVo vDqFVj/cDCruJ0YluygeF3zijf4IIl3jPuxil2icG/kMHbtuDgJyFMXz7fR13kRv1MH2g+ EsHga+XyyZtGOnV3udjMSGEVMp9Zx5v0CbzNmKmf9oC7xC4Q8LPJYJVzHvVURxfYudDMKT jIACGuc5FW9m7spbnUOhViVlFGABdQWGRK2Q/7pInUiM+Trq1zBkP1RfnmAA8Cu+uqhGTf OJRqluCzKI71BsnCTl+3jCRHED36GhR4Pzkpc39B14ATFRaGTskVXYaf7t2V3w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YRqZ46y9xzlP7; Mon, 06 Jan 2025 23:06:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 506N6q3I069933; Mon, 6 Jan 2025 23:06:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 506N6qM5069930; Mon, 6 Jan 2025 23:06:52 GMT (envelope-from git) Date: Mon, 6 Jan 2025 23:06:52 GMT Message-Id: <202501062306.506N6qM5069930@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: ab0c4cdc289f - main - devel/termbox2: Terminal rendering library for creating TUIs List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ab0c4cdc289f91b36d2e2094bf64b7c13a7c0c4b Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=ab0c4cdc289f91b36d2e2094bf64b7c13a7c0c4b commit ab0c4cdc289f91b36d2e2094bf64b7c13a7c0c4b Author: Älven AuthorDate: 2024-12-30 20:54:34 +0000 Commit: Robert Clausecker CommitDate: 2025-01-06 23:06:13 +0000 devel/termbox2: Terminal rendering library for creating TUIs 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. WWW: https://github.com/termbox/termbox2 PR: 283751 --- devel/Makefile | 1 + devel/termbox2/Makefile | 34 ++++++++++++++++++++++++++++++++++ devel/termbox2/distinfo | 3 +++ devel/termbox2/pkg-descr | 10 ++++++++++ devel/termbox2/pkg-plist | 17 +++++++++++++++++ 5 files changed, 65 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index a1169437c800..6e64711b7d45 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -8234,6 +8234,7 @@ SUBDIR += tdl SUBDIR += template-glib SUBDIR += termbox + SUBDIR += termbox2 SUBDIR += termcolor SUBDIR += terminality SUBDIR += terraform-ls diff --git a/devel/termbox2/Makefile b/devel/termbox2/Makefile new file mode 100644 index 000000000000..2dacc5046518 --- /dev/null +++ b/devel/termbox2/Makefile @@ -0,0 +1,34 @@ +PORTNAME= termbox2 +DISTVERSIONPREFIX= v +DISTVERSION= 2.5.0 +CATEGORIES= devel + +MAINTAINER= alster@vinterdalen.se +COMMENT= Terminal rendering library for creating TUIs +WWW= https://github.com/termbox/termbox2/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= gmake +USE_GITHUB= yes +GH_ACCOUNT= termbox +USE_LDCONFIG= yes + +INSTALL_TARGET= install install_lib + +OPTIONS_DEFINE= DOCS EXAMPLES + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.so.2.0.0 + +post-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} + +post-install-EXAMPLES-on: + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + (cd ${WRKSRC}/demo && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} "! -name keyboard") + ${INSTALL_PROGRAM} ${WRKSRC}/demo/keyboard ${STAGEDIR}${EXAMPLESDIR}/ + +.include diff --git a/devel/termbox2/distinfo b/devel/termbox2/distinfo new file mode 100644 index 000000000000..2690a6d8d57e --- /dev/null +++ b/devel/termbox2/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1735587865 +SHA256 (termbox-termbox2-v2.5.0_GH0.tar.gz) = 1d7a9811060e3673be417019007acbf4e2575734b6f95baaf6e8aed27f06c65a +SIZE (termbox-termbox2-v2.5.0_GH0.tar.gz) = 66122 diff --git a/devel/termbox2/pkg-descr b/devel/termbox2/pkg-descr new file mode 100644 index 000000000000..2dc04ee56cca --- /dev/null +++ b/devel/termbox2/pkg-descr @@ -0,0 +1,10 @@ +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. diff --git a/devel/termbox2/pkg-plist b/devel/termbox2/pkg-plist new file mode 100644 index 000000000000..d325405ff949 --- /dev/null +++ b/devel/termbox2/pkg-plist @@ -0,0 +1,17 @@ +include/termbox2.h +lib/libtermbox2.a +lib/libtermbox2.so +lib/libtermbox2.so.2 +lib/libtermbox2.so.2.0.0 +%%PORTDOCS%%%%DOCSDIR%%/README.md +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example.d +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example.go +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example.nim +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example.php +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example.rb +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example.rs +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example.zig +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/keyboard +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/keyboard.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/keyboard.gif