aboutsummaryrefslogtreecommitdiff
path: root/devel/raylib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/raylib/Makefile')
-rw-r--r--devel/raylib/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/devel/raylib/Makefile b/devel/raylib/Makefile
index 1e9b62e50fcf..a80232a59a4c 100644
--- a/devel/raylib/Makefile
+++ b/devel/raylib/Makefile
@@ -1,5 +1,5 @@
PORTNAME= raylib
-DISTVERSION= 4.2.0
+DISTVERSION= 5.0
CATEGORIES= devel education
MAINTAINER= freebsd@sysctl.cz
@@ -9,23 +9,18 @@ WWW= https://www.raylib.com/
LICENSE= ZLIB
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= glfw>=3.3:graphics/glfw
LIB_DEPENDS= libglfw.so:graphics/glfw
USES= cmake gl localbase:ldflags xorg
USE_GITHUB= yes
GH_ACCOUNT= raysan5
-USE_GL= gl glu
+USE_GL= glu opengl
USE_LDCONFIG= yes
USE_XORG= ice sm x11 xcursor xext xi xinerama xrandr xxf86vm
CMAKE_ON= BUILD_SHARED_LIBS USE_EXTERNAL_GLFW
CMAKE_OFF= BUILD_EXAMPLES BUILD_GAMES STATIC
-post-extract:
-# Remove bundled files.
- ${RM} -r ${WRKSRC}/src/external/glfw ${WRKSRC}/src/external/include ${WRKSRC}/src/rglfw.c
-
post-install:
# Install all parts for raylib
${INSTALL_DATA} ${WRKSRC}/src/raylib.h \