mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
c6416e0987
Only build the necessary bits and not the whole mesa
30 lines
626 B
Makefile
30 lines
626 B
Makefile
# Created by: anholt@FreeBSD.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libGLU
|
|
PORTREVISION= 2
|
|
PORTVERSION= ${MESAVERSION}
|
|
CATEGORIES= graphics
|
|
|
|
COMMENT= OpenGL utility library
|
|
|
|
USE_GL= gl
|
|
USE_XORG= glproto x11 xext xxf86vm xdamage xfixes dri2proto
|
|
|
|
INSTALL_WRKSRC= ${WRKSRC}/src/glu
|
|
BUILD_WRKSRC= ${WRKSRC}/src/glu
|
|
|
|
pre-install:
|
|
@${MKDIR} ${PREFIX}/include/GL/
|
|
${INSTALL_DATA} ${WRKSRC}/include/GL/glu*.h ${PREFIX}/include/GL/
|
|
|
|
.include "${.CURDIR}/../../graphics/libGL/bsd.mesalib.mk"
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if !(${ARCH} == "amd64" || ${ARCH} == "i386")
|
|
CONFIGURE_ARGS+=--disable-gallium-intel
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|