aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/drm-fbsd11.2-kmod/Makefile
blob: 05c7824bd4fa411a947185bf9a562d2403057c42 (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
34
35
36
37
38
39
40
41
42
43
# Created by: Johannes Dieterich <jmd@FreeBSD.org>
# $FreeBSD$

PORTNAME=   drm-fbsd11.2-kmod
PORTVERSION=    4.11g20190906
CATEGORIES= graphics

MAINTAINER= x11@FreeBSD.org
COMMENT=    DRM modules for the linuxkpi-based KMS components

LICENSE=    BSD2CLAUSE MIT GPLv2
LICENSE_COMB=   multi

ONLY_FOR_ARCHS= amd64
ONLY_FOR_ARCHS_REASON=  the new KMS components are only supported on amd64

RUN_DEPENDS=    gpu-firmware-kmod>=g20180319:graphics/gpu-firmware-kmod

CONFLICTS_INSTALL=  drm-devel-kmod \
            drm-fbsd12.0-kmod \
            drm-current-kmod \
            drm-legacy-kmod

OPTIONS_DEFINE= DEBUG

USES=       kmod uidfix

USE_GITHUB= yes
GH_ACCOUNT= FreeBSDDesktop
GH_PROJECT= kms-drm
GH_TAGNAME= 72300db

.include <bsd.port.options.mk>

.if ${OPSYS} == FreeBSD && (${OSVERSION} < 1102000 || ${OSVERSION} > 1200000)
IGNORE=     only supported on FreeBSD 11.
.endif

.if ${OPSYS} != FreeBSD
IGNORE=     not supported on anything but FreeBSD (missing linuxkpi functionality)
.endif

.include <bsd.port.mk>