2012-12-22 18:25:08 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= assimp
|
2016-06-12 20:23:28 +02:00
|
|
|
DISTVERSIONPREFIX= v
|
2018-02-08 23:09:15 +01:00
|
|
|
DISTVERSION= 4.1.0
|
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
2019-07-26 22:46:53 +02:00
|
|
|
PORTREVISION= 3
|
2012-12-22 18:25:08 +01:00
|
|
|
CATEGORIES= multimedia
|
|
|
|
|
2017-11-04 20:54:28 +01:00
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
2012-12-22 18:25:08 +01:00
|
|
|
COMMENT= Library to import various 3D model formats in a uniform manner
|
|
|
|
|
2014-10-28 21:15:50 +01:00
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
2012-12-22 18:25:08 +01:00
|
|
|
|
2017-07-25 15:00:13 +02:00
|
|
|
LIB_DEPENDS= libminizip.so:archivers/minizip
|
|
|
|
|
|
|
|
USES= cmake compiler:c++11-lib localbase:ldflags pkgconfig
|
2017-07-22 14:02:24 +02:00
|
|
|
USE_GITHUB= yes
|
2012-12-22 18:25:08 +01:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
2018-02-08 23:09:15 +01:00
|
|
|
CMAKE_OFF= ASSIMP_BUILD_TESTS
|
2012-12-22 18:25:08 +01:00
|
|
|
|
2018-02-08 23:09:15 +01:00
|
|
|
PLIST_SUB= SHL3=${DISTVERSION} VER2=${DISTVERSION:R} SHL1=${DISTVERSION:R:R}
|
2017-11-04 20:54:28 +01:00
|
|
|
|
2018-02-08 23:09:15 +01:00
|
|
|
post-install: # rm the third-party lib installed by mistake: https://github.com/assimp/assimp/issues/1650
|
|
|
|
@${RM} ${STAGEDIR}${PREFIX}/lib/libIrrXML.a
|
2016-03-27 09:34:57 +02:00
|
|
|
|
2018-02-08 23:09:15 +01:00
|
|
|
.include <bsd.port.mk>
|