git: 94c4ac6b071b - main - x11/wl-mirror: enable libdecor support after cb2e478eb309

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Tue, 15 Oct 2024 00:57:29 UTC
The branch main has been updated by jbeich:

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

commit 94c4ac6b071bea7a0624684dd4c9fae66dfe7423
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-10-15 00:56:26 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-10-15 00:57:08 +0000

    x11/wl-mirror: enable libdecor support after cb2e478eb309
---
 x11/wl-mirror/Makefile | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/x11/wl-mirror/Makefile b/x11/wl-mirror/Makefile
index 41bb264a90a6..4daed72ba4a2 100644
--- a/x11/wl-mirror/Makefile
+++ b/x11/wl-mirror/Makefile
@@ -22,8 +22,12 @@ GH_ACCOUNT=	Ferdi265
 GL_TUPLE=	https://gitlab.freedesktop.org:wlroots:wlr-protocols:4264185:wlrproto/proto/wlr-protocols
 PLIST_FILES=	bin/${PORTNAME}
 
-OPTIONS_DEFINE=	MANPAGES
-OPTIONS_DEFAULT=MANPAGES
+OPTIONS_DEFINE=	CSD MANPAGES
+OPTIONS_DEFAULT=CSD MANPAGES
+
+CSD_DESC=		Client-side decorations via libdecor
+CSD_LIB_DEPENDS=	libdecor-0.so:x11-toolkits/libdecor
+CSD_CMAKE_BOOL=		WITH_LIBDECOR
 
 MANPAGES_BUILD_DEPENDS=	scdoc:textproc/scdoc
 MANPAGES_CMAKE_BOOL=	INSTALL_DOCUMENTATION