mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
e8809ccea1
Obtained from: xorg development repo
36 lines
800 B
Makefile
36 lines
800 B
Makefile
# Created by: Eric Anholt <anholt@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libGL
|
|
PORTVERSION= ${MESAVERSION}
|
|
PORTREVISION= 4
|
|
CATEGORIES= graphics
|
|
|
|
MAINTAINER= x11@FreeBSD.org
|
|
COMMENT= OpenGL library that renders using GLX or DRI
|
|
|
|
LIB_DEPENDS+= drm:${PORTSDIR}/graphics/libdrm \
|
|
expat:${PORTSDIR}/textproc/expat2
|
|
|
|
USES= pkgconfig
|
|
USE_XORG= glproto x11 xext xxf86vm xdamage xfixes dri2proto:both
|
|
|
|
SUB_FILES= pkg-install pkg-deinstall
|
|
|
|
do-install:
|
|
${RM} -f ${WRKSRC}/include/GL/glu*.h
|
|
cd ${WRKSRC}/src/mesa; ${GMAKE} install-libgl
|
|
|
|
post-install:
|
|
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
|
|
|
.include "${.CURDIR}/bsd.mesalib.mk"
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if !(${ARCH} == "amd64" || ${ARCH} == "i386")
|
|
CONFIGURE_ARGS+=--disable-gallium-intel
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|