git: d0dcfed47a6c - main - x11/bhotkeys-screenshot: New port

From: Devin Teske <dteske_at_FreeBSD.org>
Date: Sun, 11 Oct 2026 01:53:09 UTC
The branch main has been updated by dteske:

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

commit d0dcfed47a6c30c7d8aa7055a561a9c6db900474
Author:     Devin Teske <dteske@FreeBSD.org>
AuthorDate: 2026-10-11 01:50:00 +0000
Commit:     Devin Teske <dteske@FreeBSD.org>
CommitDate: 2026-10-11 01:50:00 +0000

    x11/bhotkeys-screenshot: New port
    
    Screenshot hotkeys for bhotkeys.
    
    Reviewed by:    fuz, jrm
    Differential Revision:  https://reviews.freebsd.org/D60587
---
 x11/Makefile                      |  1 +
 x11/bhotkeys-screenshot/Makefile  | 23 +++++++++++++++++++++++
 x11/bhotkeys-screenshot/distinfo  |  3 +++
 x11/bhotkeys-screenshot/pkg-descr |  3 +++
 x11/bhotkeys-screenshot/pkg-plist |  9 +++++++++
 5 files changed, 39 insertions(+)

diff --git a/x11/Makefile b/x11/Makefile
index a580f4325384..bdcaa8610d7e 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -43,6 +43,7 @@
     SUBDIR += bhotkeys-mate
     SUBDIR += bhotkeys-media
     SUBDIR += bhotkeys-mirror
+    SUBDIR += bhotkeys-screenshot
     SUBDIR += bhotkeys-xfce
     SUBDIR += bitmap
     SUBDIR += bmpanel2
diff --git a/x11/bhotkeys-screenshot/Makefile b/x11/bhotkeys-screenshot/Makefile
new file mode 100644
index 000000000000..7dba22803ca8
--- /dev/null
+++ b/x11/bhotkeys-screenshot/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	bhotkeys-screenshot
+DISTVERSION=	1.1
+CATEGORIES=	x11
+
+MAINTAINER=	dteske@FreeBSD.org
+COMMENT=	Screenshot hotkeys for bhotkeys
+
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	bhotkeys:x11/bhotkeys \
+		bosd:x11/bosd \
+		ffmpeg:multimedia/ffmpeg \
+		gm:graphics/GraphicsMagick \
+		xdpyinfo:x11/xdpyinfo \
+		xprop:x11/xprop \
+		xrandr:x11/xrandr
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	FrauBSD
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/x11/bhotkeys-screenshot/distinfo b/x11/bhotkeys-screenshot/distinfo
new file mode 100644
index 000000000000..cec6ed07aae4
--- /dev/null
+++ b/x11/bhotkeys-screenshot/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1791426203
+SHA256 (FrauBSD-bhotkeys-screenshot-1.1_GH0.tar.gz) = 77ec3eda7d6d85afa2a0134d81e291e732e26eaed71c6068d4d6d80691ac7861
+SIZE (FrauBSD-bhotkeys-screenshot-1.1_GH0.tar.gz) = 9573
diff --git a/x11/bhotkeys-screenshot/pkg-descr b/x11/bhotkeys-screenshot/pkg-descr
new file mode 100644
index 000000000000..f6bf1c4188d0
--- /dev/null
+++ b/x11/bhotkeys-screenshot/pkg-descr
@@ -0,0 +1,3 @@
+Screenshot hotkeys for bhotkeys.  desktop-screenshot and
+greeter-screenshot use ffmpeg.  window-screenshot uses gm import.
+bosd shows the file name.
diff --git a/x11/bhotkeys-screenshot/pkg-plist b/x11/bhotkeys-screenshot/pkg-plist
new file mode 100644
index 000000000000..635fd03cbeb2
--- /dev/null
+++ b/x11/bhotkeys-screenshot/pkg-plist
@@ -0,0 +1,9 @@
+bin/desktop-screenshot
+bin/greeter-screenshot
+bin/window-screenshot
+share/bhotkeys/plugins.d/shot-desktop
+share/bhotkeys/plugins.d/shot-greeter
+share/bhotkeys/plugins.d/shot-window
+share/man/man1/desktop-screenshot.1.gz
+share/man/man1/greeter-screenshot.1.gz
+share/man/man1/window-screenshot.1.gz