pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
debugbreak: add header-only library
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By: wiz
Date: Wed Nov 18 11:52:27 2026 +0100
Changeset: 1ee33e55b5dd44f6c6fd0a7305ad33aac8d4f89a
Modified Files:
Makefile
Added Files:
debugbreak/DESCR
debugbreak/Makefile
debugbreak/PLIST
debugbreak/buildlink3.mk
debugbreak/distinfo
Log Message:
debugbreak: add header-only library
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1ee33e55b5dd44f6c6fd0a7305ad33aac8d4f89a
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 4 +++-
debugbreak/DESCR | 2 ++
debugbreak/Makefile | 27 +++++++++++++++++++++++++++
debugbreak/PLIST | 5 +++++
debugbreak/buildlink3.mk | 14 ++++++++++++++
debugbreak/distinfo | 5 +++++
6 files changed, 56 insertions(+), 1 deletion(-)
diffs:
diff --git a/Makefile b/Makefile
index 3d673613aa..f4aa2b6dc5 100644
--- a/Makefile
+++ b/Makefile
@@ -710,6 +710,7 @@ SUBDIR+= debian_glib
SUBDIR+= debian_gtk
SUBDIR+= debian_x11
SUBDIR+= debootstrap
+SUBDIR+= debugbreak
SUBDIR+= debugger-git
SUBDIR+= decode-dimms
SUBDIR+= dee
@@ -3501,6 +3502,7 @@ SUBDIR+= py-arabic
SUBDIR+= py-arabic-stopwords
SUBDIR+= py-arabic-text-quote
SUBDIR+= py-archan
+SUBDIR+= py-argus-api-client
SUBDIR+= py-arpeggio
SUBDIR+= py-arramooz-sqlite
SUBDIR+= py-arrayfire
@@ -5811,7 +5813,6 @@ SUBDIR+= tilix
SUBDIR+= timescaledb-tune
SUBDIR+= timewarrior
SUBDIR+= timg
-SUBDIR+= tintin++
SUBDIR+= tinyca2
SUBDIR+= tinycobol
SUBDIR+= tinyfugue-beta
@@ -6327,6 +6328,7 @@ SUBDIR+= zig-git
SUBDIR+= zimh
SUBDIR+= zimpl
SUBDIR+= zino
+SUBDIR+= zino-argus-glue
SUBDIR+= zip-devel
SUBDIR+= ziparchive
SUBDIR+= zipios
diff --git a/debugbreak/DESCR b/debugbreak/DESCR
new file mode 100644
index 0000000000..bcf3d8d5ba
--- /dev/null
+++ b/debugbreak/DESCR
@@ -0,0 +1,2 @@
+Include one header file and insert calls to `debug_break()` in the
+code where you wish to break into the debugger.
diff --git a/debugbreak/Makefile b/debugbreak/Makefile
new file mode 100644
index 0000000000..1f728f294c
--- /dev/null
+++ b/debugbreak/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD$
+
+DISTNAME= debugbreak-1.0
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=scottt/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/scottt/debugbreak/
+COMMENT= Break into the debugger programmatically
+LICENSE= 2-clause-bsd
+
+USE_LANGUAGES= c c++
+USE_TOOLS+= gmake
+MAKE_FILE= GNUmakefile
+
+INSTALLATION_DIRS+= include share/debugbreak share/doc/debugbreak
+
+# just builds testp programs
+do-build:
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/debugbreak.h ${DESTDIR}${PREFIX}/include
+ ${INSTALL_DATA} ${WRKSRC}/debugbreak-gdb.py ${DESTDIR}${PREFIX}/share/debugbreak
+ ${INSTALL_DATA} ${WRKSRC}/*.md ${DESTDIR}${PREFIX}/share/doc/debugbreak
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/debugbreak/PLIST b/debugbreak/PLIST
new file mode 100644
index 0000000000..7d99c7ddaa
--- /dev/null
+++ b/debugbreak/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD$
+include/debugbreak.h
+share/debugbreak/debugbreak-gdb.py
+share/doc/debugbreak/HOW-TO-USE-DEBUGBREAK-GDB-PY.md
+share/doc/debugbreak/README.md
diff --git a/debugbreak/buildlink3.mk b/debugbreak/buildlink3.mk
new file mode 100644
index 0000000000..0d2bbf21da
--- /dev/null
+++ b/debugbreak/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= debugbreak
+
+.if !defined(DEBUGBREAK_BUILDLINK3_MK)
+DEBUGBREAK_BUILDLINK3_MK:=
+
+BUILDLINK_DEPMETHOD.debugbreak?= build
+
+BUILDLINK_API_DEPENDS.debugbreak+= debugbreak>=1.0
+BUILDLINK_PKGSRCDIR.debugbreak?= ../../wip/debugbreak
+.endif # DEBUGBREAK_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -debugbreak
diff --git a/debugbreak/distinfo b/debugbreak/distinfo
new file mode 100644
index 0000000000..807d1fcba8
--- /dev/null
+++ b/debugbreak/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (debugbreak-1.0.tar.gz) = d58d1cbe531e3d51f87daeccb7278094b6b7bbd68363cf7341e8a8b92fae01d9
+SHA512 (debugbreak-1.0.tar.gz) = bf8c43d42d9b19c9a3cb1fa5955a24efb48c2c21f0d89685f23702c3e2644637f2e8c6ec599024866138519b107787baef838b6d981779e2484e30d20a7386b9
+Size (debugbreak-1.0.tar.gz) = 7020 bytes
Home |
Main Index |
Thread Index |
Old Index