aboutsummaryrefslogtreecommitdiffstats
path: root/x11-drivers/xf86-video-ati/Makefile
blob: be942d399d459ae3aaf372ba3aa62bf1cf00633d (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
# $FreeBSD$

PORTNAME=   xf86-video-ati
PORTVERSION=    ${ATI_VERSION}
PORTREVISION=   ${ATI_REVISION}
CATEGORIES= x11-drivers

MAINTAINER= x11@FreeBSD.org
COMMENT=    X.Org ati display driver

USE_GL=     gl
XORG_CAT=   driver
USE_XORG=   xf86driproto xineramaproto xf86miscproto glproto

.include <bsd.port.options.mk>

.if ${OSVERSION} < 1000051 || !defined(WITH_NEW_XORG)
ATI_VERSION=    6.14.6
ATI_REVISION=   2
CONFIGURE_ARGS+=--disable-kms
PLIST_SUB+= OLD=""
.else
ATI_VERSION=    7.2.0
ATI_REVISION=   2
CONFIGURE_ARGS+=--disable-udev
CONFIGURE_ARGS+=--disable-glamor
EXTRA_PATCHES+= ${FILESDIR}/extra-src__radeon_kms.c
PLIST_SUB+= OLD="@comment "
.endif

.include <bsd.port.mk>