git: 77aeb6f8887a - main - devel/imtui: New port: Immediate Mode Text-based User Interface C++ Library

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 15 Jan 2023 09:53:23 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=77aeb6f8887a01f97194a894ea27fc2058d4b11c

commit 77aeb6f8887a01f97194a894ea27fc2058d4b11c
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-01-15 06:03:48 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-01-15 09:53:19 +0000

    devel/imtui: New port: Immediate Mode Text-based User Interface C++ Library
---
 devel/Makefile        |  1 +
 devel/imtui/Makefile  | 24 ++++++++++++++++++++++++
 devel/imtui/distinfo  |  5 +++++
 devel/imtui/pkg-descr |  2 ++
 devel/imtui/pkg-plist |  8 ++++++++
 5 files changed, 40 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index fcb30d8d6214..979840dee3d4 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -988,6 +988,7 @@
     SUBDIR += ignition-tools
     SUBDIR += ikos
     SUBDIR += imake
+    SUBDIR += imtui
     SUBDIR += inastemp
     SUBDIR += include-what-you-use
     SUBDIR += indi
diff --git a/devel/imtui/Makefile b/devel/imtui/Makefile
new file mode 100644
index 000000000000..cf2bf0ac65cc
--- /dev/null
+++ b/devel/imtui/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	imtui
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.0.5-30
+DISTVERSIONSUFFIX=	-g72f3722
+CATEGORIES=	devel
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Immediate Mode Text-based User Interface C++ Library
+WWW=		https://github.com/ggerganov/imtui
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		cmake compiler:c++11-lang
+USE_LDCONFIG=	yes
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	ggerganov
+GH_TUPLE=	ggerganov:imgui:d413be8:imgui/third-party/imgui/imgui
+
+CMAKE_ON=	BUILD_SHARED_LIBS
+CMAKE_OFF=	IMTUI_BUILD_EXAMPLES
+
+.include <bsd.port.mk>
diff --git a/devel/imtui/distinfo b/devel/imtui/distinfo
new file mode 100644
index 000000000000..2e82d2f7e1bf
--- /dev/null
+++ b/devel/imtui/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1673761943
+SHA256 (ggerganov-imtui-v1.0.5-30-g72f3722_GH0.tar.gz) = 9920cfbe3c8af895a83dad62f0b1ffeeca4d516ada94a1f5a5041ddf11370720
+SIZE (ggerganov-imtui-v1.0.5-30-g72f3722_GH0.tar.gz) = 151687
+SHA256 (ggerganov-imgui-d413be8_GH0.tar.gz) = 3e31273040345290dd04e3eec8f450cfcbc0073780faafff297185ab450bd2f8
+SIZE (ggerganov-imgui-d413be8_GH0.tar.gz) = 1414866
diff --git a/devel/imtui/pkg-descr b/devel/imtui/pkg-descr
new file mode 100644
index 000000000000..da8707e917df
--- /dev/null
+++ b/devel/imtui/pkg-descr
@@ -0,0 +1,2 @@
+ImTui is an immediate mode text-based user interface library. It supports
+256 ANSI colors and mouse/keyboard input.
diff --git a/devel/imtui/pkg-plist b/devel/imtui/pkg-plist
new file mode 100644
index 000000000000..044e1c5aa987
--- /dev/null
+++ b/devel/imtui/pkg-plist
@@ -0,0 +1,8 @@
+include/imgui-for-imtui/imgui/imconfig.h
+include/imgui-for-imtui/imgui/imgui.h
+include/imtui/imtui-impl-ncurses.h
+include/imtui/imtui-impl-text.h
+include/imtui/imtui.h
+lib/libimgui-for-imtui.a
+lib/libimtui-ncurses.so
+lib/libimtui.so