aboutsummaryrefslogtreecommitdiffstats
path: root/x11-drivers/xf86-video-mga/Makefile
blob: 73e372a4b8f8422b0dab45e19d8b265da094f34d (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
# New ports collection makefile for:    xf86-video-mga
# Date Created:             17 Feb 2006
# Whom:                 Florent Thoumie <flz@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   xf86-video-mga
PORTVERSION=    1.4.10
PORTEPOCH=  2
CATEGORIES= x11-drivers

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

USE_GL=     gl

XORG_CAT=   driver
USE_XORG=   xf86driproto videoproto xextproto glproto
MAN4=       mga.4x

pre-patch:
    ${REINPLACE_CMD} \
        -e 's|values.h|sys/limits.h|g' \
        -e 's|MAXSHORT|SHRT_MAX|g' \
        ${WRKSRC}/src/mga_arc.c

.include <bsd.port.mk>