aboutsummaryrefslogtreecommitdiff
path: root/graphics/xfree86-dri/Makefile
blob: 90fa5d05371ad1fe5e8136a8a7964f6eb14e9789 (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
40
41
42
43
44
45
46
47
48
49
50
51
# New ports collection makefile for:    dri
# Date created:		8 Nov 2003
# Whom:			anholt@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=	xfree86-dri
PORTVERSION=	4.4.0
CATEGORIES=	graphics
MASTER_SITES=	${MASTER_SITE_XFREE}
MASTER_SITE_SUBDIR=	${PORTVERSION}
DISTFILES=	XFree86-4.4.0-src-1.tgz \
		XFree86-4.4.0-src-2.tgz \
		XFree86-4.4.0-src-3.tgz

MAINTAINER=	x11@FreeBSD.org
COMMENT=	OpenGL hardware acceleration drivers for XFree86

CONFLICTS=	dri-[5-9].*

EXTRA_PATCHES+=		${FILESDIR}/patch-GL-Imakefile

ONLY_FOR_ARCHS=		i386 alpha amd64

XBUILD_DIRS=		lib/GL
XINSTALL_DIRS=		lib/GL/mesa/src/drv

.include "${.CURDIR}/../../x11/XFree86-4-libraries/Makefile.inc"
.include <bsd.port.pre.mk>

.if ${X_WINDOW_SYSTEM:L} != xfree86-4
IGNORE= is part of XFree86. For X.Org use graphics/dri port. See ports/UPDATING entry 20040723 for further information.
.endif

.if ${ARCH} == i386
PLIST_SUB+=	I386=""
.else
PLIST_SUB+=	I386="@comment "
.endif
.if ${ARCH} == alpha
PLIST_SUB+=	ALPHA_NA="@comment "
.else
PLIST_SUB+=	ALPHA_NA=""
.endif
.if ${ARCH} == amd64
PLIST_SUB+=	AMD64_NA="@comment "
.else
PLIST_SUB+=	AMD64_NA=""
.endif
.include <bsd.port.post.mk>