# Created by: Michael Gmelin # $FreeBSD: head/graphics/intel-backlight/Makefile 533702 2020-05-02 20:02:58Z cperciva $ PORTNAME= intel-backlight DISTVERSION= 20200418 CATEGORIES= graphics MAINTAINER= jmd@FreeBSD.org COMMENT= Control backlight on various modern Intel(R) GPUs LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING ONLY_FOR_ARCHS= amd64 i386 ONLY_FOR_ARCHS_REASON= This hardware is only found on Intel x86 systems LIB_DEPENDS= libdrm.so:graphics/libdrm \ libpciaccess.so:devel/libpciaccess USE_GITHUB= yes GH_ACCOUNT= FreeBSDDesktop GH_PROJECT= intel_backlight_fbsd GH_TAGNAME= a6c0e39 PORTEXAMPLES= asmc_backlight.sh \ isl_backlight.sh \ acpi-video-intel-backlight.conf INSTALL_TARGET= install-strip OPTIONS_SUB= yes OPTIONS_DEFINE= EXAMPLES SUID OPTIONS_DEFAULT= SUID SUID_DESC= Install intel_backlight with the setuid bit set do-install-EXAMPLES-on: cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTEXAMPLES}" ${STAGEDIR}${EXAMPLESDIR} .include