git: 1c62cb470260 - main - x11/xlibre: XLibre + X.Org complete distribution metaport

From: Jose Alonso Cardenas Marquez <acm_at_FreeBSD.org>
Date: Fri, 12 Dec 2025 01:26:57 UTC
The branch main has been updated by acm:

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

commit 1c62cb470260075c39418fb0ccc79ec873256f81
Author:     b-aaz <b-aazbsd@proton.me>
AuthorDate: 2025-12-12 01:25:04 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2025-12-12 01:26:26 +0000

    x11/xlibre: XLibre + X.Org complete distribution metaport
    
    This is a metaport for the XLibre server and XLibre drivers with many of the
    complementary X.Org packages available in the ports tree.
    
    Reviewed by:    dtxdf acm
    Tested by:      dtxdf acm
    Obtained from:  https://github.com/b-aaz/xlibre-ports
---
 x11/Makefile         |  1 +
 x11/xlibre/Makefile  | 28 ++++++++++++++++++++++++++++
 x11/xlibre/pkg-descr |  2 ++
 3 files changed, 31 insertions(+)

diff --git a/x11/Makefile b/x11/Makefile
index f0e22736f852..abaf2faf9cff 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -608,6 +608,7 @@
     SUBDIR += xkeycaps
     SUBDIR += xkeywrap
     SUBDIR += xkill
+    SUBDIR += xlibre
     SUBDIR += xload
     SUBDIR += xloadimage
     SUBDIR += xlockmore
diff --git a/x11/xlibre/Makefile b/x11/xlibre/Makefile
new file mode 100644
index 000000000000..5b8f5e01c8fc
--- /dev/null
+++ b/x11/xlibre/Makefile
@@ -0,0 +1,28 @@
+PORTNAME=	xlibre
+PORTVERSION=	0.1
+CATEGORIES=	x11
+
+MAINTAINER=	b-aazbsd@proton.me
+COMMENT=	XLibre + X.Org complete distribution metaport
+WWW=		https://github.com/X11Libre/ \
+		https://www.x.org/
+
+USES=		metaport
+
+RUN_DEPENDS+=	${LOCALBASE}/libdata/pkgconfig/dri.pc:graphics/mesa-dri
+
+# data
+RUN_DEPENDS+=	${LOCALBASE}/libdata/pkgconfig/xbitmaps.pc:x11/xbitmaps \
+		${LOCALBASE}/share/icons/handhelds/cursors/X_cursor:x11-themes/xcursor-themes
+
+OPTIONS_DEFINE=	DOCS
+
+DOCS_RUN_DEPENDS+=	${LOCALBASE}/share/doc/xorg-docs/README.xml:x11/xorg-docs
+
+# app, lib, font, driver
+RUN_DEPENDS+=	xorg-apps>0:x11/xorg-apps \
+		xorg-libraries>0:x11/xorg-libraries \
+		xorg-fonts>0:x11-fonts/xorg-fonts \
+		xlibre-drivers>0:x11-drivers/xlibre-drivers
+
+.include <bsd.port.mk>
diff --git a/x11/xlibre/pkg-descr b/x11/xlibre/pkg-descr
new file mode 100644
index 000000000000..5f53e3ac8129
--- /dev/null
+++ b/x11/xlibre/pkg-descr
@@ -0,0 +1,2 @@
+This is a metaport for the XLibre server and XLibre drivers with many of the
+complementary X.Org packages available in the ports tree.