Changeset View
Changeset View
Standalone View
Standalone View
head/graphics/libglesv2/Makefile
# Created by: kwm@FreeBSD.org | # Created by: kwm@FreeBSD.org | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= libglesv2 | PORTNAME= libglesv2 | ||||
PORTVERSION= ${MESAVERSION} | PORTVERSION= ${MESAVERSION} | ||||
PORTREVISION= 0 | PORTREVISION= 1 | ||||
CATEGORIES= graphics | CATEGORIES= graphics | ||||
COMMENT= OpenGL ES v2 library | COMMENT= OpenGL ES v2 library | ||||
LICENSE= MIT | LICENSE= MIT | ||||
LIB_DEPENDS+= libdrm.so:graphics/libdrm \ | LIB_DEPENDS+= libdrm.so:graphics/libdrm \ | ||||
libglapi.so:graphics/libglapi \ | libglapi.so:graphics/libglapi \ | ||||
libexpat.so:textproc/expat2 | libexpat.so:textproc/expat2 | ||||
# stuff not needed by libglesv2 but configure wants it | # stuff not needed by libglesv2 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" | ||||
BUILD_WRKSRC= ${WRKSRC}/src/mapi | BUILD_WRKSRC= ${WRKSRC}/src/mapi | ||||
INSTALL_WRKSRC= ${WRKSRC}/src/mapi | INSTALL_WRKSRC= ${WRKSRC}/src/mapi | ||||
.include "${.CURDIR}/../../graphics/libGL/Makefile.targets" | .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> | .include <bsd.port.mk> |