aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/assimp/Makefile
blob: a609233605d29e61d08875deab820ee6e8445d23 (plain) (blame)
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
# $FreeBSD$

PORTNAME=   assimp
DISTVERSIONPREFIX=  v
DISTVERSION=    4.1.0
PORTREVISION=   2
CATEGORIES= multimedia

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

LICENSE=    BSD3CLAUSE
LICENSE_FILE=   ${WRKSRC}/LICENSE

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=  SHL3=${DISTVERSION} VER2=${DISTVERSION:R} SHL1=${DISTVERSION:R: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>