summaryrefslogblamecommitdiff
path: root/science/py-fresnel/Makefile
blob: 8f9ffba5c66bacd897d7c5cd4bf8922f62bc8ee3 (plain) (tree)
1
2
3
4
5
6
7
8
9
10



                                 
                 




                                                             
                                                     





                                               
                                          















                                                                                                                               
PORTNAME=	fresnel
DISTVERSIONPREFIX=	v
DISTVERSION=	0.13.4-4
DISTVERSIONSUFFIX=	-g3ba217f
PORTREVISION=	5
CATEGORIES=	science # physics
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Publication quality path tracing in real time
WWW=		https://github.com/glotzerlab/fresnel

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	pybind11>0:devel/pybind11
LIB_DEPENDS=	libembree3.so:graphics/embree \
		libqhull_r.so:math/qhull \
		libtbb.so:devel/onetbb
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR}

USES=		cmake:testing compiler:c++14-lang python

USE_GITHUB=	yes
GH_ACCOUNT=	glotzerlab

GH_TUPLE=	glotzerlab:random123:7f2371b8c597a486cd33fb421a196d78efe08043:glotzerlab_random123/extern/random123 \
		glotzerlab:fresnel-examples:dad005682fc3b5d167861ce7eda23a157baf2ce7:glotzerlab_fresnel_examples/doc/examples \
		glotzerlab:qhull:613debeaea72ee66626dace9ba1a2eff11b5d37d:glotzerlab_qhull/extern/qhull

do-test: install
	@cd ${WRKDIR} && ${PYTHON_CMD} ${FILESDIR}/example.py

.include <bsd.port.mk>