mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
4de9a3fbf8
Reported by: portscout
35 lines
925 B
Makefile
35 lines
925 B
Makefile
PORTNAME= bgfx
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 1.127.8725-465
|
|
CATEGORIES= graphics
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Cross-platform, graphics API agnostic rendering library
|
|
WWW= https://bkaradzic.github.io/bgfx/overview.html
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= cmake:testing compiler:c++17-lang gl localbase:ldflags xorg
|
|
USE_GL= glu opengl
|
|
USE_XORG= ice x11 xext sm
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= bkaradzic
|
|
GH_PROJECT= bgfx.cmake
|
|
GH_TUPLE= bkaradzic:bgfx:57d8a08:bgfx/bgfx \
|
|
bkaradzic:bimg:e9fa0ce:bimg/bimg \
|
|
bkaradzic:bx:34ba9c7:bx/bx
|
|
|
|
CMAKE_OFF= BGFX_BUILD_EXAMPLES BGFX_INSTALL_EXAMPLES \
|
|
BGFX_CUSTOM_TARGETS
|
|
CMAKE_ARGS= -DBGFX_LIBRARY_TYPE=SHARED
|
|
CMAKE_TESTING_ON= BGFX_BUILD_TESTS # 1 test fails, see https://github.com/bkaradzic/bgfx/issues/3123
|
|
|
|
CXXFLAGS+= -Dftello64=ftello -Dfseeko64=fseeko
|
|
|
|
post-install:
|
|
@${RM} -r ${STAGEDIR}${PREFIX}/share/licences
|
|
|
|
.include <bsd.port.mk>
|