1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/graphics/libGL/Makefile
Koop Mast da3e448eb9 Update to 9.1.7.
Stagify, abuse stage dir and plist to only install files we want to install.
So we don't have to do complex do-install anymore, yay.

For the WITH_GALLIUM option we don't need llvm at run-time.

Obtained from:	xorg-dev repo
2013-11-26 20:58:53 +00:00

34 lines
693 B
Makefile

# Created by: Eric Anholt <anholt@FreeBSD.org>
# $FreeBSD$
PORTNAME= libGL
PORTVERSION= ${MESAVERSION}
PORTREVISION= ${LIBGLREVISION}
CATEGORIES= graphics
COMMENT= OpenGL library that renders using GLX or DRI
LIB_DEPENDS+= libdrm.so:${PORTSDIR}/graphics/libdrm \
libexpat.so:${PORTSDIR}/textproc/expat2
USES= pkgconfig
USE_XORG= glproto x11 xext xxf86vm xdamage xfixes dri2proto:both
SUB_FILES= pkg-install pkg-deinstall
.include <bsd.port.options.mk>
.if defined(WITH_NEW_XORG)
LIBGLREVISION= 0
.else
LIBGLREVISION= 4
.endif
.include "${.CURDIR}/bsd.mesalib.mk"
.if !(${ARCH} == "amd64" || ${ARCH} == "i386")
CONFIGURE_ARGS+=--disable-gallium-intel
.endif
.include <bsd.port.mk>