aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/dri/Makefile
blob: 6678c0ab875d3fa9c909c41086d1e15f591c1a35 (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
# 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

EXTRA_PATCHES+= ${FILESDIR}/patch-mach64_context.h \
        ${FILESDIR}/patch-sis_context.h


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>