Changeset View
Changeset View
Standalone View
Standalone View
head/graphics/libEGL/Makefile
# Created by: kwm@FreeBSD.org | # Created by: kwm@FreeBSD.org | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= libEGL | PORTNAME= libEGL | ||||
PORTVERSION= ${MESAVERSION} | PORTVERSION= ${MESAVERSION} | ||||
PORTREVISION= 0 | PORTREVISION= 1 | ||||
CATEGORIES= graphics | CATEGORIES= graphics | ||||
COMMENT= OpenEGL library | COMMENT= OpenEGL library | ||||
LIB_DEPENDS+= libpthread-stubs.so:devel/libpthread-stubs \ | LIB_DEPENDS+= libpthread-stubs.so:devel/libpthread-stubs \ | ||||
libexpat.so:textproc/expat2 \ | libexpat.so:textproc/expat2 \ | ||||
libdrm.so:graphics/libdrm | libdrm.so:graphics/libdrm | ||||
USE_GL= gbm | USE_GL= gbm | ||||
USE_XORG= x11 xau xcb xdmcp | USE_XORG= x11 xau xcb xdmcp | ||||
# stuff not needed by libEGL but configure wants it | # stuff not needed by libEGL but configure wants it | ||||
USE_XORG+= dri2proto dri3proto glproto presentproto xdamage xext xfixes \ | USE_XORG+= dri2proto dri3proto glproto presentproto xdamage xext xfixes \ | ||||
xshmfence | xshmfence | ||||
.include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
.include "${.CURDIR}/../../graphics/libGL/Makefile.common" | .include "${.CURDIR}/../../graphics/libGL/Makefile.common" | ||||
MESA_BUILD_WRKSRC= src/mapi src/gbm src/egl/ | MESA_BUILD_WRKSRC= src/mapi src/gbm src/egl/ | ||||
MESA_INSTALL_WRKSRC= src/egl | MESA_INSTALL_WRKSRC= src/egl | ||||
.include "${.CURDIR}/../../graphics/libGL/Makefile.targets" | .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> | .include <bsd.port.mk> |