# $MidnightBSD$

PORTNAME=	mesa-demos
PORTVERSION=	8.4.0
CATEGORIES=	graphics
MASTER_SITES=	ftp://ftp.freedesktop.org/pub/mesa/demos/ #${PORTVERSION}/

MAINTAINER=	ports@MidnightBSD.org
COMMENT=	OpenGL demos distributed with Mesa

LICENSE=	mit

LIB_DEPENDS=	libdrm.so:graphics/libdrm

GNU_CONFIGURE=	yes
USES=		gmake localbase pkgconfig tar:bzip2
USE_GL=		egl gbm gl glesv2 glew glu glut
USE_XORG=	xorgproto x11 xdamage xext xfixes xi xxf86vm

CONFIGURE_ARGS+=--disable-osmesa --disable-vg --disable-wayland \
		--with-system-data-files

.include <bsd.port.mk>
