1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/graphics/libEGL/Makefile
Mathieu Arnold 4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00

37 lines
856 B
Makefile

# Created by: kwm@FreeBSD.org
# $FreeBSD$
PORTNAME= libEGL
PORTVERSION= ${MESAVERSION}
PORTREVISION= 0
CATEGORIES= graphics
COMMENT= OpenEGL library
LIB_DEPENDS+= libpthread-stubs.so:devel/libpthread-stubs \
libexpat.so:textproc/expat2 \
libdevq.so:devel/libdevq \
libdrm.so:graphics/libdrm
USE_GL= gbm
USE_XORG= x11 xau xcb xdmcp
# stuff not needed by libEGL but configure wants it
USE_XORG+= glproto dri2proto xext xdamage xfixes presentproto \
xshmfence
.include <bsd.port.options.mk>
.include "${.CURDIR}/../../graphics/libGL/Makefile.common"
MESA_BUILD_WRKSRC= src/mapi src/gbm src/egl/
MESA_INSTALL_WRKSRC= src/egl
.include "${.CURDIR}/../../graphics/libGL/Makefile.targets"
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/.mesa
@${MV} ${STAGEDIR}${PREFIX}/lib/libEGL* \
${STAGEDIR}${PREFIX}/lib/.mesa/
.include <bsd.port.mk>