freebsd-ports/devel/raylib/Makefile
Kevin Bowling da3162c7c9 graphics/mesa-libs: Bump reverse deps for libglvnd
Per discussion with bapt on helping pkg handle the changing of these
deps and avoiding impossible upgrade senarios.

PR:		246767
Reviewed by:	manu, bapt
Approved by:	x11
Differential Revision:	https://reviews.freebsd.org/D30824
2021-06-22 11:53:08 -07:00

36 lines
877 B
Makefile

PORTNAME= raylib
DISTVERSION= 3.7.0
PORTREVISION= 1
CATEGORIES= devel education
MAINTAINER= freebsd@sysctl.cz
COMMENT= Library to learn videogames programming
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_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 \
${WRKSRC}/src/raymath.h \
${WRKSRC}/src/physac.h \
${STAGEDIR}${PREFIX}/include
.include <bsd.port.mk>