mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
765d64cd00
PR: 276586 Reported by: wen@ Approved by: yuri@(maintainer)
31 lines
863 B
Makefile
31 lines
863 B
Makefile
PORTNAME= dionysus
|
|
PORTVERSION= 2.0.10
|
|
CATEGORIES= math
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
PKGNAMESUFFIX= -topology-library
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Library for computing persistent homology
|
|
WWW= https://mrzv.org/software/dionysus2/
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/boost/range/adaptors.hpp:devel/boost-libs
|
|
|
|
USES= cmake python
|
|
|
|
CMAKE_ARGS= -DPython_EXECUTABLE:STRING=${PYTHON_CMD}
|
|
CMAKE_OFF= build_examples
|
|
|
|
PLIST_FILES= ${PYTHON_SITELIBDIR}/dionysus/__init__.py \
|
|
${PYTHON_SITELIBDIR}/dionysus/_dionysus${PYTHON_EXT_SUFFIX}.so \
|
|
${PYTHON_SITELIBDIR}/dionysus/_version.py \
|
|
${PYTHON_SITELIBDIR}/dionysus/plot.py
|
|
|
|
do-install:
|
|
cd ${BUILD_WRKSRC}/bindings/python && ${COPYTREE_SHARE} ${PORTNAME} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
|
|
|
.include <bsd.port.mk>
|