1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/graphics/libGLU/Makefile
Baptiste Daroussin c6416e0987 Do not run twice gmake install,
Only build the necessary bits and not the whole mesa
2013-05-03 13:17:00 +00:00

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>