# New ports collection makefile for: xf86-video-mga # Date Created: 17 Feb 2006 # Whom: Florent Thoumie # # $FreeBSD$ # PORTNAME= xf86-video-mga PORTVERSION= 1.4.11 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 .if ${OSVERSION} < 700000 USE_GCC= 4.2+ .endif .include