git: d717312f98ae - main - devel/lldb-mi: + Machine interface to LLDB

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Sat, 18 May 2024 12:06:40 UTC
The branch main has been updated by arrowd:

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

commit d717312f98ae40f3b6a41d54756463e8e7c5e741
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-05-18 12:06:11 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-05-18 12:06:36 +0000

    devel/lldb-mi: + Machine interface to LLDB
---
 devel/Makefile          |  1 +
 devel/lldb-mi/Makefile  | 20 ++++++++++++++++++++
 devel/lldb-mi/distinfo  |  3 +++
 devel/lldb-mi/pkg-descr |  5 +++++
 4 files changed, 29 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 3aca77f3ba49..0414d79f64ee 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1526,6 +1526,7 @@
     SUBDIR += listserialc
     SUBDIR += liteide
     SUBDIR += llbuild
+    SUBDIR += lldb-mi
     SUBDIR += llnextgen
     SUBDIR += llvm
     SUBDIR += llvm-cheri
diff --git a/devel/lldb-mi/Makefile b/devel/lldb-mi/Makefile
new file mode 100644
index 000000000000..17066c912a01
--- /dev/null
+++ b/devel/lldb-mi/Makefile
@@ -0,0 +1,20 @@
+PORTNAME=	lldb-mi
+DISTVERSION=	g20231216
+CATEGORIES=	devel lang
+
+MAINTAINER=	arrowd@FreeBSD.org
+COMMENT=	Machine interface driver for the LLDB debugger
+WWW=		https://lldb.llvm.org/
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+USES=		cmake llvm:lib,noexport
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	lldb-tools
+GH_TAGNAME=	a6c8c66d70b13209f3dabba5b6aefb2c58c3976c
+
+PLIST_FILES=	bin/lldb-mi
+
+.include <bsd.port.mk>
diff --git a/devel/lldb-mi/distinfo b/devel/lldb-mi/distinfo
new file mode 100644
index 000000000000..90b0bb79c976
--- /dev/null
+++ b/devel/lldb-mi/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1716033448
+SHA256 (lldb-tools-lldb-mi-g20231216-a6c8c66d70b13209f3dabba5b6aefb2c58c3976c_GH0.tar.gz) = c32ca77969e16b312c28c3ae86a5efc01f6a0e2a808605eb5fb553cd54908bdb
+SIZE (lldb-tools-lldb-mi-g20231216-a6c8c66d70b13209f3dabba5b6aefb2c58c3976c_GH0.tar.gz) = 191038
diff --git a/devel/lldb-mi/pkg-descr b/devel/lldb-mi/pkg-descr
new file mode 100644
index 000000000000..400555706bef
--- /dev/null
+++ b/devel/lldb-mi/pkg-descr
@@ -0,0 +1,5 @@
+LLDB is a next generation, high-performance debugger. It is built as a set of
+reusable components which highly leverage existing libraries in the larger LLVM
+Project, such as the Clang expression parser and LLVM disassembler.
+
+lldb-mi is console program that allows programmatic access to a debugging session.