summaryrefslogtreecommitdiffstats
path: root/graphics/dri/Makefile
blob: da3cea8ddaee724ca8433a901a903171a053813e (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
# Created by: 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

USE_PKGCONFIG=  build
USE_XORG=   glproto x11 xext xxf86vm xdamage xfixes dri2proto

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>