summaryrefslogtreecommitdiff
path: root/multimedia/assimp/Makefile
blob: 1eeb987d9a589095c50d88b5efefb0c12ffb7ae8 (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

PORTNAME=	assimp
DISTVERSIONPREFIX=	v
DISTVERSION=	5.0.1
CATEGORIES=	multimedia

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Library to import various 3D model formats in a uniform manner

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

BROKEN_i386=	typedef redefinition with different types, see https://github.com/assimp/assimp/issues/2954

LIB_DEPENDS=	libminizip.so:archivers/minizip

USES=		cmake compiler:c++11-lib localbase:ldflags pkgconfig
USE_GITHUB=	yes
USE_LDCONFIG=	yes

CMAKE_OFF=	ASSIMP_BUILD_TESTS

PLIST_SUB=	VER2=${DISTVERSION:R}

post-install: # rm the third-party lib installed by mistake: https://github.com/assimp/assimp/issues/1650
	@${RM} ${STAGEDIR}${PREFIX}/lib/libIrrXML.a

.include <bsd.port.mk>