aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gpu-firmware-kmod/Makefile
blob: f04ad21e313c76f99ebc9a914681af9b892cf7c2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Created by: Johannes Dieterich <jmd@FreeBSD.org>
# $FreeBSD$

PORTNAME=   gpu-firmware-kmod
PORTVERSION=    g20180825
CATEGORIES= graphics

MAINTAINER= jmd@FreeBSD.org
COMMENT=    Firmware modules for the linuxkpi-based KMS components

LICENSE=    AMD INTEL
LICENSE_COMB=   multi
LICENSE_NAME_AMD=   AMD firmware license (amdgpu/radeon)
LICENSE_NAME_INTEL= Intel firmware license (i915)
LICENSE_FILE_AMD=   ${WRKSRC}/LICENSE.radeon
LICENSE_FILE_INTEL= ${WRKSRC}/LICENSE.i915
LICENSE_PERMS_AMD=  dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept
LICENSE_PERMS_INTEL=    dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept

USES=       kmod uidfix

USE_GITHUB= yes
GH_ACCOUNT= FreeBSDDesktop
GH_PROJECT= kms-firmware
GH_TAGNAME= da173cc

.include <bsd.port.pre.mk>

.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200000 && ${OSVERSION} < 1200019
IGNORE=     not supported on older CURRENT, no kernel support
.endif

.include <bsd.port.post.mk>