summaryrefslogtreecommitdiff
path: root/graphics/urho3d/Makefile
blob: 967112f581ff9c15004de4445a29abf7c9d8a2bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

PORTNAME=	urho3d
PORTVERSION=	1.7.1
CATEGORIES=	graphics

MAINTAINER=	romain@FreeBSD.org
COMMENT=	Cross-platform 2D and 3D game engine

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

BROKEN_aarch64=	fails to build: fatal error: 'LibCpuId/libcpuid.h' file not found
BROKEN_i386=	fails to build: error: typedef redefinition with different types
BROKEN_riscv64=	fails to build: invokes x86 assembler

USES=		cmake:noninja,insource dos2unix gl xorg
USE_GITHUB=	yes
USE_XORG=	x11 xext
USE_GL=		gl

PORTSCOUT=	skipv:1.11,1.12,1.13,1.14,1.15,1.16,1.21,1.22,1.23,1.31,1.32 # incorrect versioning upstream

DOS2UNIX_FILES=	${WRKSRC}/Source/ThirdParty/StanHull/hull.cpp

GH_PROJECT=	Urho3D

OPTIONS_DEFINE=	EXAMPLES
EXAMPLES_CMAKE_OFF=	-DURHO3D_SAMPLES:BOOL=false

.include <bsd.port.mk>