e59c88cece
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from GCC 5.4 to GCC 6.4 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang, c++14-lang, c++0x, c11, or gcc-c++11-lib. PR: 219275
30 lines
719 B
Makefile
30 lines
719 B
Makefile
# Created by: Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= waffle
|
|
PORTVERSION= 1.5.2
|
|
PORTREVISION= 4
|
|
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:outsource compiler:c11 localbase pathfix pkgconfig tar:xz
|
|
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
|
|
|
|
.include <bsd.port.mk>
|