git: 6133c90a77d1 - main - x11/dmenu2: Fork of dmenu with many enhancements and additional options

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Thu, 11 May 2023 23:26:33 UTC
The branch main has been updated by fuz:

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

commit 6133c90a77d11945f09dc79f7fd3e7cc3be6934a
Author:     Timothy Beyer <beyert@cs.ucr.edu>
AuthorDate: 2023-05-10 19:06:23 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-05-11 23:23:28 +0000

    x11/dmenu2: Fork of dmenu with many enhancements and additional options
    
    dmenu2 is the fork of original dmenu -- an efficient dynamic menu for
    X11, patched to support features like flexible positioning, fuzzy
    matching, follow focus, tab navigation, background dimming, etc.
    
    This is a resurrection of a previously removed port following the
    submitter's new upstream.
    
    WWW: https://github.com/beyert/dmenu2
    
    PR:             257851
---
 MOVED                |  1 -
 x11/Makefile         |  1 +
 x11/dmenu2/Makefile  | 33 +++++++++++++++++++++++++++++++++
 x11/dmenu2/distinfo  |  3 +++
 x11/dmenu2/pkg-descr |  3 +++
 5 files changed, 40 insertions(+), 1 deletion(-)

diff --git a/MOVED b/MOVED
index 662f43c4980f..a2523e57907b 100644
--- a/MOVED
+++ b/MOVED
@@ -4434,7 +4434,6 @@ www/webreport||2020-05-05|Has expired: Broken for more than 6 months
 www/webstats||2020-05-05|Has expired: Broken for more than 6 months
 www/www6to4||2020-05-05|Has expired: Broken for more than 6 months
 x11/deskpaint||2020-05-05|Has expired: Broken for more than 6 months
-x11/dmenu2||2020-05-05|Has expired: Broken for more than 6 months
 x11/gcb||2020-05-05|Has expired: Broken for more than 6 months
 x11/gpctool||2020-05-05|Has expired: Broken for more than 6 months
 x11/ipager||2020-05-05|Has expired: Broken for more than 6 months
diff --git a/x11/Makefile b/x11/Makefile
index 4d3da6fe76d0..f1d1d1cd0b6c 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -58,6 +58,7 @@
     SUBDIR += deskmenu
     SUBDIR += disman
     SUBDIR += dmenu
+    SUBDIR += dmenu2
     SUBDIR += docker-tray
     SUBDIR += dsbautostart
     SUBDIR += dsbxinput
diff --git a/x11/dmenu2/Makefile b/x11/dmenu2/Makefile
new file mode 100644
index 000000000000..96ac87d66c06
--- /dev/null
+++ b/x11/dmenu2/Makefile
@@ -0,0 +1,33 @@
+PORTNAME=	dmenu2
+PORTVERSION=	0.2
+CATEGORIES=	x11
+
+MAINTAINER=	beyert@cs.ucr.edu
+COMMENT=	Fork of dmenu with many enhancements and additional options
+WWW=		https://github.com/beyert/dmenu2
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/COPYRIGHT
+
+LIB_DEPENDS=	libfreetype.so:print/freetype2 \
+		libfontconfig.so:x11-fonts/fontconfig
+
+USES=		xorg
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	beyert
+GH_TAGNAME=	${PORTVERSION}
+
+USE_XORG=	x11 xft xrender
+
+PLIST_FILES=	bin/dmenu2 bin/dmenu2_path bin/dmenu2_run bin/stest2 \
+		share/man/man1/dmenu2.1.gz share/man/man1/stest2.1.gz
+
+OPTIONS_DEFINE=	XINERAMA
+OPTIONS_DEFAULT=	XINERAMA
+
+XINERAMA_USE=	XORG=xinerama
+XINERAMA_CFLAGS=	-DXINERAMA
+XINERAMA_LIBS=	-lXinerama
+
+.include <bsd.port.mk>
diff --git a/x11/dmenu2/distinfo b/x11/dmenu2/distinfo
new file mode 100644
index 000000000000..8c77ef75013b
--- /dev/null
+++ b/x11/dmenu2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1629000489
+SHA256 (beyert-dmenu2-0.2_GH0.tar.gz) = c1fa86e8eea4e734f81561037a15d8ec4b5774f6345cfb5a0bc4fc7d389c6f57
+SIZE (beyert-dmenu2-0.2_GH0.tar.gz) = 16300
diff --git a/x11/dmenu2/pkg-descr b/x11/dmenu2/pkg-descr
new file mode 100644
index 000000000000..1c25987dff75
--- /dev/null
+++ b/x11/dmenu2/pkg-descr
@@ -0,0 +1,3 @@
+dmenu2 is the fork of original dmenu -- an efficient dynamic menu for X11,
+patched to support features like flexible positioning, fuzzy matching, follow
+focus, tab navigation, background dimming, etc.