freebsd-ports/graphics/alembic/Makefile
Alexey Dokuchaev 6043c34602 Update `graphics/alembic' to version 1.7.5.
Reported by:	portscout
2017-12-22 15:34:56 +00:00

34 lines
731 B
Makefile

# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$
PORTNAME= alembic
PORTVERSION= 1.7.5
CATEGORIES= graphics
MAINTAINER= danfe@FreeBSD.org
COMMENT= Open framework for storing and sharing graphic scene data
LICENSE= BSD3CLAUSE
LIB_DEPENDS= libImath-2_2.so:graphics/ilmbase
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}
post-patch:
@${REINPLACE_CMD} -e 's,H5Rdereference,&1,' \
${WRKSRC}/lib/Alembic/AbcCoreHDF5/HDF5Util.cpp
.include <bsd.port.mk>