summaryrefslogtreecommitdiff
path: root/graphics/linux-c7-libdrm/Makefile
blob: 14ba51acd9a154acf3a825ce14d7e036f9c5b6fa (plain)
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

PORTNAME=	libdrm
PORTVERSION=	2.4.97
DISTVERSIONSUFFIX=	-2.el7
CATEGORIES=	graphics linux

MAINTAINER=	emulation@FreeBSD.org
COMMENT=	Interface to kernel Direct Rendering Module (Linux CentOS ${LINUX_DIST_VER})

USES=		linux:c7
USE_LDCONFIG=	yes
USE_LINUX=	libpciaccess
USE_LINUX_RPM=	yes

DESCR=		${.CURDIR}/../${PORTNAME}/pkg-descr

OPTIONS_DEFINE=	DOCS

.include <bsd.port.options.mk>

.if ${OPSYS} == FreeBSD && \
   (${OSVERSION} >= 1300000 && ${OSVERSION} < 1300048)
PORTVERSION=	2.4.91
DISTVERSIONSUFFIX=	-3.el7

LINUX_DIST_VER=	7.6.1810

post-install:
	${MV} ${STAGEDIR}${DOCSDIR}/README ${STAGEDIR}${DOCSDIR}/README.rst
.endif

.include <bsd.port.mk>