aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/drm-next-kmod/Makefile
blob: 3931f0eb62f7b94929e17b6570ff690eadcaade3 (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
# Created by: Johannes Dieterich <jmd@FreeBSD.org>
# $FreeBSD$

PORTNAME=   drm-next-kmod
PORTVERSION=    g20170912
CATEGORIES= graphics

MAINTAINER= jmd@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>=g20170403:graphics/gpu-firmware-kmod

OPTIONS_DEFINE= DEBUG

USES=       kmod uidfix

USE_GITHUB= yes
GH_ACCOUNT= FreeBSDDesktop
GH_PROJECT= kms-drm
GH_TAGNAME= 5b5d651

.include <bsd.port.options.mk>

.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200043
IGNORE=     not supported on 11.x or older, no kernel support
.endif
.if ${OPSYS} != FreeBSD
IGNORE=     not supported on anything but FreeBSD (missing linuxkpi functionality)
.endif

.include <bsd.port.mk>