git: 81cd705011d9 - main - devel/seer-gdb: New port: GUI frontend to gdb

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 17 Aug 2023 07:13:52 UTC
The branch main has been updated by yuri:

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

commit 81cd705011d9394062665ebf63c5969faa1efbf4
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-08-17 07:12:17 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-08-17 07:13:39 +0000

    devel/seer-gdb: New port: GUI frontend to gdb
---
 devel/Makefile           |  1 +
 devel/seer-gdb/Makefile  | 33 +++++++++++++++++++++++++++++++++
 devel/seer-gdb/distinfo  |  3 +++
 devel/seer-gdb/pkg-descr |  3 +++
 4 files changed, 40 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 8f2eeb558322..0d83fd9ed483 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -7551,6 +7551,7 @@
     SUBDIR += sdsl-lite
     SUBDIR += sdts++
     SUBDIR += sedsed
+    SUBDIR += seer-gdb
     SUBDIR += selene
     SUBDIR += sentry-cli
     SUBDIR += serd
diff --git a/devel/seer-gdb/Makefile b/devel/seer-gdb/Makefile
new file mode 100644
index 000000000000..6fcae6564b3b
--- /dev/null
+++ b/devel/seer-gdb/Makefile
@@ -0,0 +1,33 @@
+PORTNAME=	seer-gdb
+DISTVERSIONPREFIX=	v
+DISTVERSION=	2.1
+CATEGORIES=	devel
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	GUI frontend to gdb
+WWW=		https://github.com/epasveer/seer
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/../LICENSE
+
+RUN_DEPENDS=	gdb:devel/gdb
+
+USES=		cmake compiler:c++17-lang gl qt:6
+USE_QT=		base charts svg
+USE_GL=		gl opengl
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	epasveer
+GH_PROJECT=	seer
+
+WRKSRC_SUBDIR=	src
+
+PLIST_FILES=	bin/seergdb
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|/usr/bin/gdb|${LOCALBASE}/bin/gdb|' \
+		${WRKSRC}/SeerGdbConfigPage.cpp \
+		${WRKSRC}/SeerGdbWidget.cpp \
+		${WRKSRC}/SeerMainWindow.cpp
+
+.include <bsd.port.mk>
diff --git a/devel/seer-gdb/distinfo b/devel/seer-gdb/distinfo
new file mode 100644
index 000000000000..6a9ed22a0dc8
--- /dev/null
+++ b/devel/seer-gdb/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1692254429
+SHA256 (epasveer-seer-v2.1_GH0.tar.gz) = fdac5540d7d889c5b7645566c68eafbe5917fdb63c6d47515a44e2f7ff9f15fe
+SIZE (epasveer-seer-v2.1_GH0.tar.gz) = 419994
diff --git a/devel/seer-gdb/pkg-descr b/devel/seer-gdb/pkg-descr
new file mode 100644
index 000000000000..5f7148e2a783
--- /dev/null
+++ b/devel/seer-gdb/pkg-descr
@@ -0,0 +1,3 @@
+Seer is a gui frontend to gdb.
+
+The aim is a simple, yet pleasing gui to gdb.