summaryrefslogtreecommitdiff
path: root/graphics/alembic/Makefile
blob: 9025da519e9a7ebdccd903676787cb21d30e5339 (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
29
30
31
32
33
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>

PORTNAME=	alembic
PORTVERSION=	1.8.2
CATEGORIES=	graphics

MAINTAINER=	danfe@FreeBSD.org
COMMENT=	Open framework for storing and sharing graphic scene data

LICENSE=	BSD3CLAUSE

LIB_DEPENDS=	libImath.so:math/Imath
LIB_DEPENDS+=	libsz.so:science/szip

USES=		cmake compiler:c++11-lang
USE_CXXSTD=	c++11
USE_GITHUB=	yes
USE_LDCONFIG=	yes

OPTIONS_DEFINE=	HDF5
OPTIONS_DEFAULT=	HDF5
OPTIONS_SUB=	yes

HDF5_LIB_DEPENDS=	libhdf5.so:science/hdf5
HDF5_CMAKE_ON=	-DUSE_HDF5:BOOL=ON

PLIST_FILES=	lib/libAlembic.so.${PORTVERSION} \
		lib/libAlembic.so.${PORTVERSION:R}

do-test:
	@cd ${TEST_WRKSRC} && ctest -C ${CMAKE_BUILD_TYPE} ${_MAKE_JOBS}

.include <bsd.port.mk>