blob: b3f98cea343079645b97ef0a639c61562ce511e6 (
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
33
34
|
# Created by: kwm@FreeBSD.org
# $FreeBSD$
PORTNAME= libglapi
PORTVERSION= ${MESAVERSION}
PORTREVISION= 0
CATEGORIES= graphics
COMMENT= Common GL api library used by Mesa based ports
LIB_DEPENDS+= libpthread-stubs.so:devel/libpthread-stubs
USE_XORG= x11 xau xcb xdmcp xvmc
# stuff not needed by libglapi but configure wants it
USE_XORG+= glproto dri2proto xext xdamage xfixes presentproto \
xshmfence
LIB_DEPENDS+= libexpat.so:textproc/expat2 \
libdrm.so:graphics/libdrm
.include <bsd.port.options.mk>
.include "${.CURDIR}/../../graphics/libGL/Makefile.common"
MESA_BUILD_WRKSRC= src/mapi
MESA_INSTALL_WRKSRC= src/mapi
.include "${.CURDIR}/../../graphics/libGL/Makefile.targets"
post-install:
@${RM} -r ${STAGEDIR}${PREFIX}/include/GLES*
@${RM} ${STAGEDIR}${PREFIX}/lib/libGLESv2.so*
@${RM} ${STAGEDIR}${PREFIX}/libdata/pkgconfig/glesv2.pc
.include <bsd.port.mk>
|