freebsd-ports/graphics/libglapi/Makefile
Ashish SHUKLA 9cba0ef67a - Update devel/libpthread-stubs to 0.4
- Chase libpthread-stubs update, and also switch to BUILD_DEPENDS
  from LIB_DEPENDS, as port is now only .pc file

PR:		218015
Submitted by:	rezny
2017-03-29 06:50:28 +00:00

36 lines
933 B
Makefile

# Created by: kwm@FreeBSD.org
# $FreeBSD$
PORTNAME= libglapi
PORTVERSION= ${MESAVERSION}
PORTREVISION= 0
CATEGORIES= graphics
COMMENT= Common GL api library used by Mesa based ports
LICENSE= MIT
BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:devel/libpthread-stubs
USE_XORG= x11 xau xcb xdmcp xvmc
# stuff not needed by libglapi but configure wants it
USE_XORG+= dri2proto dri3proto glproto presentproto xdamage xext xfixes \
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>