blob: 26b04794044294667cba186e16478c91830e09ac (
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
29
30
31
32
|
# Created by: kwm@FreeBSD.org
# $FreeBSD$
PORTNAME= libglesv2
PORTVERSION= ${MESAVERSION}
PORTREVISION= 0
CATEGORIES= graphics
COMMENT= OpenGL ES v2 library
LIB_DEPENDS+= libdrm.so:graphics/libdrm \
libglapi.so:graphics/libglapi \
libexpat.so:textproc/expat2
# stuff not needed by libglesv2 but configure wants it
USE_XORG+= glproto dri2proto xext xdamage xfixes presentproto \
xshmfence
.include <bsd.port.options.mk>
.include "${.CURDIR}/../../graphics/libGL/Makefile.common"
BUILD_WRKSRC= ${WRKSRC}/src/mapi
INSTALL_WRKSRC= ${WRKSRC}/src/mapi
.include "${.CURDIR}/../../graphics/libGL/Makefile.targets"
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/.mesa
@${MV} ${STAGEDIR}${PREFIX}/lib/libGLESv2.so* \
${STAGEDIR}${PREFIX}/lib/.mesa/
.include <bsd.port.mk>
|