git: 8930dad071b7 - main - x11-drivers/xf86-input-egalax: Add xlibre support
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 12 Dec 2025 08:54:16 UTC
The branch main has been updated by acm:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8930dad071b7ff4b15450b276d8e4c291b25fe47
commit 8930dad071b7ff4b15450b276d8e4c291b25fe47
Author: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2025-12-12 08:52:55 +0000
Commit: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2025-12-12 08:54:08 +0000
x11-drivers/xf86-input-egalax: Add xlibre support
PR: 291591
Approved by: glebius
---
x11-drivers/xf86-input-egalax/Makefile | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
diff --git a/x11-drivers/xf86-input-egalax/Makefile b/x11-drivers/xf86-input-egalax/Makefile
index 413e9cf3ce3d..b231e898e595 100644
--- a/x11-drivers/xf86-input-egalax/Makefile
+++ b/x11-drivers/xf86-input-egalax/Makefile
@@ -6,13 +6,23 @@ CATEGORIES= x11-drivers
MAINTAINER= glebius@FreeBSD.org
COMMENT= eGalax touch screen input driver for X.Org
+LICENSE= BSD2CLAUSE
+
+FLAVORS= xorg xlibre
+FLAVOR?= ${FLAVORS:[1]}
+
+.if ${FLAVOR} == xlibre
+PKGNAMEPREFIX= xlibre-
+USES= xlibre-cat:driver
+.else
+USES= xorg-cat:driver
+.endif
+
USE_GITHUB= yes
GH_ACCOUNT= glebius
GH_TAGNAME= 7f1e4ac
-LICENSE= BSD2CLAUSE
-
-USES= autoreconf xorg-cat:driver
+USES+= autoreconf
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share