git: 3af669d5d6e7 - main - x11/bhotkeys-brightness: New port

From: Devin Teske <dteske_at_FreeBSD.org>
Date: Sat, 10 Oct 2026 19:46:41 UTC
The branch main has been updated by dteske:

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

commit 3af669d5d6e7d40809348e289e7d472f3994a072
Author:     Devin Teske <dteske@FreeBSD.org>
AuthorDate: 2026-10-10 19:42:21 +0000
Commit:     Devin Teske <dteske@FreeBSD.org>
CommitDate: 2026-10-10 19:42:47 +0000

    x11/bhotkeys-brightness: New port
    
    Backlight hotkeys for bhotkeys.
    
    Approved by:    jrm (mentor)
    Reviewed by:    jrm (mentor)
    Differential Revision:  https://reviews.freebsd.org/D60490
---
 x11/Makefile                      |  1 +
 x11/bhotkeys-brightness/Makefile  | 19 +++++++++++++++++++
 x11/bhotkeys-brightness/distinfo  |  3 +++
 x11/bhotkeys-brightness/pkg-descr |  2 ++
 x11/bhotkeys-brightness/pkg-plist |  4 ++++
 5 files changed, 29 insertions(+)

diff --git a/x11/Makefile b/x11/Makefile
index 820c4aab8808..4782628f2b75 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -29,6 +29,7 @@
     SUBDIR += bgrot
     SUBDIR += bgs
     SUBDIR += bhotkeys
+    SUBDIR += bhotkeys-brightness
     SUBDIR += bhotkeys-gnome
     SUBDIR += bhotkeys-i3
     SUBDIR += bhotkeys-kde
diff --git a/x11/bhotkeys-brightness/Makefile b/x11/bhotkeys-brightness/Makefile
new file mode 100644
index 000000000000..c782eeb8ab91
--- /dev/null
+++ b/x11/bhotkeys-brightness/Makefile
@@ -0,0 +1,19 @@
+PORTNAME=	bhotkeys-brightness
+DISTVERSION=	1.0
+CATEGORIES=	x11
+
+MAINTAINER=	dteske@FreeBSD.org
+COMMENT=	Backlight hotkeys for bhotkeys
+
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	bhotkeys:x11/bhotkeys \
+		bosd:x11/bosd
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	FrauBSD
+NO_ARCH=	yes
+NO_BUILD=	yes
+
+.include <bsd.port.mk>
diff --git a/x11/bhotkeys-brightness/distinfo b/x11/bhotkeys-brightness/distinfo
new file mode 100644
index 000000000000..a83f52bf459e
--- /dev/null
+++ b/x11/bhotkeys-brightness/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1791426119
+SHA256 (FrauBSD-bhotkeys-brightness-1.0_GH0.tar.gz) = 943899fb22532b65190bf5f3f29c8d22e3d38914c525a23311121265e13b0e21
+SIZE (FrauBSD-bhotkeys-brightness-1.0_GH0.tar.gz) = 7177
diff --git a/x11/bhotkeys-brightness/pkg-descr b/x11/bhotkeys-brightness/pkg-descr
new file mode 100644
index 000000000000..595bad7bf00f
--- /dev/null
+++ b/x11/bhotkeys-brightness/pkg-descr
@@ -0,0 +1,2 @@
+Backlight hotkeys for bhotkeys.  brightness-osd uses backlight(8).
+bosd draws the gauge.
diff --git a/x11/bhotkeys-brightness/pkg-plist b/x11/bhotkeys-brightness/pkg-plist
new file mode 100644
index 000000000000..6944d593a996
--- /dev/null
+++ b/x11/bhotkeys-brightness/pkg-plist
@@ -0,0 +1,4 @@
+bin/brightness-osd
+share/bhotkeys/plugins.d/fn-bright-down
+share/bhotkeys/plugins.d/fn-bright-up
+share/man/man1/brightness-osd.1.gz