1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/graphics/waffle/Makefile
Niclas Zeising c32f72e68d Switch all ports to use USES=xorg-cat
Change all ports to use USES=xorg-cat instead of the old XORG_CAT
Add USES=xorg and USES=gl as needed to x11@ ports
2019-11-03 21:56:37 +00:00

35 lines
845 B
Makefile

# Created by: Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
# $FreeBSD$
PORTNAME= waffle
PORTVERSION= 1.5.2
PORTREVISION= 9
CATEGORIES= graphics
MASTER_SITES= http://www.waffle-gl.org/files/release/waffle-${PORTVERSION}/
MAINTAINER= x11@FreeBSD.org
COMMENT= Library that allows to defer selection of an OpenGL API until runtime
LICENSE= BSD2CLAUSE
USES= cmake compiler:c11 gl localbase pathfix pkgconfig tar:xz xorg
USE_GL= egl gl
USE_LDCONFIG= yes
USE_XORG= x11 xcb
DOCSDIR= ${PREFIX}/share/doc/waffle1
CMAKE_ARGS+= -Dwaffle_has_glx=ON \
-Dwaffle_has_x11_egl=ON
#CMAKE_ARGS+= -Dwaffle_has_gbm=ON # FIXME: Required udev
PLIST_SUB+= PORTVERSION=${PORTVERSION}
OPTIONS_DEFINE= DOCS WAYLAND
OPTIONS_DEFAULT=WAYLAND
WAYLAND_LIB_DEPENDS= libwayland-egl.so:graphics/wayland
WAYLAND_CMAKE_BOOL= waffle_has_wayland
.include <bsd.port.mk>