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 @@ -1,19 +1,29 @@ PORTNAME= xf86-input-egalax PORTVERSION= 0.3 PORTREVISION= 7 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 .include