freebsd-ports/graphics/libglesv2/Makefile
Koop Mast da3e448eb9 Update to 9.1.7.
Stagify, abuse stage dir and plist to only install files we want to install.
So we don't have to do complex do-install anymore, yay.

For the WITH_GALLIUM option we don't need llvm at run-time.

Obtained from:	xorg-dev repo
2013-11-26 20:58:53 +00:00

29 lines
729 B
Makefile

# Created by: kwm@FreeBSD.org
# $FreeBSD$
PORTNAME= libglesv2
PORTVERSION= ${MESAVERSION}
CATEGORIES= graphics
COMMENT= OpenGL ES v2 library
LIB_DEPENDS+= libdrm.so:${PORTSDIR}/graphics/libdrm \
libexpat.so:${PORTSDIR}/textproc/expat2
.if ! defined(WITH_NEW_XORG)
IGNORE= Please enable WITH_NEW_XORG, libglesv2 needs libdrm higher then 2.4.24
.endif
# stuff not needed by libEGL but configure wants it
USE_XORG+= glproto dri2proto xext xdamage xfixes
BUILD_WKRSRC= ${WRKSRC}/src/mapi/es2api
INSTALL_WRKSRC= ${WRKSRC}/src/mapi/es2api
# this library doesn't exist in Mesa 7.6 so use newer
WITH_NEW_XORG=yes
.include <bsd.port.options.mk>
.include "${.CURDIR}/../../graphics/libGL/bsd.mesalib.mk"
.include <bsd.port.mk>