1 # Created by: Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
7 MASTER_SITES= http://www.waffle-gl.org/files/release/waffle-${PORTVERSION}/
9 MAINTAINER= x11@FreeBSD.org
10 COMMENT= Library that allows to defer selection of an OpenGL API until runtime
14 USES= cmake:outsource compiler:c11 localbase ninja pkgconfig tar:xz
19 DOCSDIR= ${PREFIX}/share/doc/waffle1
21 CMAKE_ARGS+= -Dwaffle_has_glx=ON \
22 -Dwaffle_has_x11_egl=ON
23 #CMAKE_ARGS+= -Dwaffle_has_gbm=ON # FIXME: Required udev
25 PLIST_SUB+= PORTVERSION=${PORTVERSION}
29 .include <bsd.port.mk>