summaryrefslogtreecommitdiffstats
path: root/graphics/dri/Makefile
blob: 5be5e9fb08f096a78cc90505446400ebd3c12b8e (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
33
34
35
36
37
38
39
# New ports collection makefile for:    dri
# Date created:		8 Nov 2003
# Whom:			anholt@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=	dri
PORTVERSION=	${MESAVERSION}
PORTEPOCH=	2
CATEGORIES=	graphics

COMMENT=	OpenGL hardware acceleration drivers for the DRI

LIB_DEPENDS=	drm:${PORTSDIR}/graphics/libdrm \
		expat.6:${PORTSDIR}/textproc/expat2
BUILD_DEPENDS=	makedepend:${PORTSDIR}/devel/makedepend

CONFLICTS=	dri-6.2.2005* dri-6.5.2006*
MAKE_JOBS_UNSAFE=	yes

USE_XORG=	glproto x11 xext xxf86vm xdamage xfixes dri2proto

.ifndef WITHOUT_NOUVEAU
EXTRA_PATCHES+=	${FILESDIR}/mesalib74-configure
.endif

do-install:
	cd ${WRKSRC}/src/mesa; ${GMAKE} install-dri

.include "${.CURDIR}/../../graphics/libGL/bsd.mesalib.mk"

.include <bsd.port.pre.mk>

.if ${ARCH} == "ia64"
BROKEN=		Does not install on ia64
.endif

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud