PORTNAME= mesa-demos PORTVERSION= 8.5.0 CATEGORIES= graphics MASTER_SITES= https://mesa.freedesktop.org/archive/demos/${PORTVERSION}/ \ ftp://ftp.freedesktop.org/pub/mesa/demos/ #${PORTVERSION}/ MAINTAINER= x11@FreeBSD.org COMMENT= OpenGL demos distributed with Mesa WWW= https://www.mesa3d.org/ LICENSE= MIT CONFLICTS_INSTALL= glx-utils USES= gl localbase meson pkgconfig tar:bzip2 xorg USE_GL= egl gl glesv2 glu glut USE_XORG= xorgproto x11 xdamage xext xfixes xi xxf86vm MESON_ARGS+= -Dwith-glut=${LOCALBASE} \ -Dgles1=disabled \ -Dlibdrm=disabled \ -Dosmesa=disabled \ -Dwayland=disabled \ -Dwith-system-data-files=true .include .if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-stage: # bitmap program conflicts with x11/bitmap ${MV} ${STAGEDIR}/${PREFIX}/bin/bitmap ${STAGEDIR}/${PREFIX}/bin/bitmap_demo .include