819f15f2a7
Reported by: fallout
29 lines
736 B
Makefile
29 lines
736 B
Makefile
# $FreeBSD$
|
|
|
|
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>
|