92ea0d614b
an zeising, kwm, miwi, bapt, eadler production: Xorg 7.7 Starring: xserver 1.12.4 (new xorg only) Mesa 8.0.4, including libGL, libGLU and dri (new xorg only) libX11 1.5.0 libxcb 1.9 libdrm 2.4.42 (new xorg only) freeglut 2.8.1 Also starring: Updates to drivers and other libraries and utilities Additional notes: Change pkgconf to be a build dependency. Add a new USE_XORG, xcb, to depend on libxcb and update all ports to use this. Trim makefile headers. Take maintanership of x11/xcb-proto, ok'd by ashish. If you are running WITH_NEW_XORG=, you need to rebuild all installed drivers, see UPDATING for more information. Various fixes to make ports compile. PR: ports/177942 Exp-run by: miwi Approved by: portmgr (miwi) Thanks to all who helped testing!
37 lines
914 B
Makefile
37 lines
914 B
Makefile
# Created by: Eric Anholt <anholt@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mesa-demos
|
|
PORTVERSION= 8.1.0
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ftp://ftp.freedesktop.org/pub/mesa/demos/${PORTVERSION}/
|
|
DISTFILES= mesa-demos-${PORTVERSION}${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= x11@FreeBSD.org
|
|
COMMENT= OpenGL demos distributed with Mesa
|
|
|
|
USE_BZIP2= yes
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
MAKE_JOBS_SAFE= yes
|
|
USE_GL= glu glut glew
|
|
USE_XORG= glproto x11 xext xi xxf86vm xdamage xfixes dri2proto
|
|
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
|
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
|
|
|
DATADIR= ${PREFIX}/share/${PKGNAMEPREFIX}${PORTNAME}
|
|
|
|
OPTIONS_DEFINE= NVIDIA
|
|
NVIDIA_DESC= Use NVIDIA's libraries
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|-ffast-math|${FAST_MATH}|' -e 's|x86_64|amd64|' \
|
|
${WRKSRC}/configure
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MNVIDIA}
|
|
CFLAGS+= -DWITH_NVIDIA_GL=1
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|