# New ports collection makefile for:    libGLw
# Date created:		7 May 2004
# Whom:			anholt@FreeBSD.org
#
# $FreeBSD: ports/graphics/libGLw/Makefile,v 1.9 2010/03/25 23:11:21 marius Exp $
#

PORTNAME=	libGLw
PORTVERSION=	${MESAVERSION}
CATEGORIES=	graphics

COMMENT=	OpenGL widgets library

BUILD_DEPENDS+=	makedepend:${PORTSDIR}/devel/makedepend
LIB_DEPENDS+=	Xm.3:${PORTSDIR}/x11-toolkits/open-motif

USE_GL=		gl
USE_XORG=	glproto xt x11 xext xxf86vm xdamage xfixes dri2proto

.ifndef	WITHOUT_NOUVEAU
EXTRA_PATCHES+=	${FILESDIR}/mesalib74-configure
.endif

do-install:
	cd ${WRKSRC}/src/glw; ${GMAKE} install

.include "${.CURDIR}/../../graphics/libGL/bsd.mesalib.mk"
.include <bsd.port.mk>
