# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD: tags/RELEASE_10_3_0/graphics/alembic/Makefile 400883 2015-11-06 06:29:12Z danfe $

PORTNAME=	alembic
PORTVERSION=	1.5.8
CATEGORIES=	graphics

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

LICENSE=	BSD3CLAUSE

LIB_DEPENDS=	libboost_thread.so:${PORTSDIR}/devel/boost-libs \
		libImath-2_2.so:${PORTSDIR}/graphics/ilmbase \
		libhdf5.so:${PORTSDIR}/science/hdf5

BROKEN_FreeBSD_9=	does not build (insufficient C++11 support)

USE_GITHUB=	yes

USES=		cmake compiler:c++11-lang
USE_CXXSTD=	c++11
USE_GL=		glew glut

CMAKE_ARGS=	-DBUILD_SHARED_LIBS:BOOL=ON -DUSE_PYALEMBIC:BOOL=OFF

.include <bsd.port.mk>
