svn commit: r462049 - in head/devel: . raylib

Yuri Victorovich yuri at FreeBSD.org
Fri Feb 16 17:46:21 UTC 2018


Author: yuri
Date: Fri Feb 16 17:46:19 2018
New Revision: 462049
URL: https://svnweb.freebsd.org/changeset/ports/462049

Log:
  New port: devel/raylib: Simple and easy-to-use library to learn videogames programming
  
  PR:		225402
  Submitted by:	Martin Filla <martinfilla at post.cz>
  Approved by:	tcberner

Added:
  head/devel/raylib/
  head/devel/raylib/Makefile   (contents, props changed)
  head/devel/raylib/distinfo   (contents, props changed)
  head/devel/raylib/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Fri Feb 16 17:23:28 2018	(r462048)
+++ head/devel/Makefile	Fri Feb 16 17:46:19 2018	(r462049)
@@ -5209,6 +5209,7 @@
     SUBDIR += ragel
     SUBDIR += raknet
     SUBDIR += rapidjson
+    SUBDIR += raylib
     SUBDIR += rbenv
     SUBDIR += rbtools
     SUBDIR += rclint

Added: head/devel/raylib/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/raylib/Makefile	Fri Feb 16 17:46:19 2018	(r462049)
@@ -0,0 +1,35 @@
+# $FreeBSD$
+
+PORTNAME=	raylib
+DISTVERSION=	1.9.4
+DISTVERSIONSUFFIX=	-dev
+CATEGORIES=	devel
+
+MAINTAINER=	martinfilla at 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 <bsd.port.mk>

Added: head/devel/raylib/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/raylib/distinfo	Fri Feb 16 17:46:19 2018	(r462049)
@@ -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

Added: head/devel/raylib/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/raylib/pkg-descr	Fri Feb 16 17:46:19 2018	(r462049)
@@ -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/


More information about the svn-ports-head mailing list