Index: devel/Makefile =================================================================== --- devel/Makefile +++ devel/Makefile @@ -5210,6 +5210,7 @@ SUBDIR += ragel SUBDIR += raknet SUBDIR += rapidjson + SUBDIR += raylib SUBDIR += rbenv SUBDIR += rbtools SUBDIR += rclint Index: devel/raylib/Makefile =================================================================== --- /dev/null +++ devel/raylib/Makefile @@ -0,0 +1,35 @@ +# $FreeBSD$ + +PORTNAME= raylib +DISTVERSION= 1.9.4 +DISTVERSIONSUFFIX= -dev +CATEGORIES= devel + +MAINTAINER= martinfilla@post.cz +COMMENT= Library to learn videogames programming + +LICENSE= ZLIB +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +LIB_DEPENDS= libglfw.so:graphics/glfw + +USES= cmake:outsource openal +USE_GITHUB= yes +GH_ACCOUNT= raysan5 +USE_LDCONFIG= yes +USE_GL= gl glu +USE_XORG= ice sm x11 xcursor xext xrandr xi xinerama xxf86vm + +CMAKE_ON= SHARED_RAYLIB +CMAKE_OFF= STATIC_RAYLIB BUILD_EXAMPLES BUILD_GAMES + +PLIST_FILES= include/raylib.h \ + lib/libraylib.so \ + lib/libraylib.so.1 \ + lib/libraylib.so.${DISTVERSION} \ + libdata/pkgconfig/raylib.pc + +post-extract: # remove bundled files + @${RM} -r ${WRKSRC}/src/external/glfw ${WRKSRC}/src/external/include ${WRKSRC}/src/rglfw.c + +.include Index: devel/raylib/distinfo =================================================================== --- /dev/null +++ devel/raylib/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1517870297 +SHA256 (raysan5-raylib-1.9.4-dev_GH0.tar.gz) = fd3ad6aa6b3d4d9bb2c4dba20aa32d45b5d6c1e840d784aadb7dc26d14b4cfeb +SIZE (raysan5-raylib-1.9.4-dev_GH0.tar.gz) = 95803288 Index: devel/raylib/pkg-descr =================================================================== --- /dev/null +++ devel/raylib/pkg-descr @@ -0,0 +1,9 @@ +Raylib is a programming library to learn videogames programming. +It doesn't have a fancy interface, has no visual helpers, and no auto-debugging. +It is created based on the believe ther that just coding in the best way +to learn. + +Raylib is highly inspired by Borland BGI graphics lib and by XNA framework. +Allegro and SDL have also been used as reference. + +WWW: http://www.raylib.com/