mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
5150114b10
Reported by: portscout
32 lines
812 B
Makefile
32 lines
812 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= onnx
|
|
DISTVERSION= 1.6.0
|
|
CATEGORIES= math
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Open Neural Network eXchange
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= cmake:devel/cmake \
|
|
${PYTHON_PKGNAMEPREFIX}pytest-runner>=0:devel/py-pytest-runner@${PY_FLAVOR}
|
|
LIB_DEPENDS= libprotobuf.so:devel/protobuf
|
|
RUN_DEPENDS= ${PYNUMPY} \
|
|
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
|
|
${PY_TYPING} \
|
|
${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR}
|
|
|
|
USES= compiler:c11 python
|
|
USE_PYTHON= distutils concurrent autoplist
|
|
|
|
BINARY_ALIAS= python=${PYTHON_CMD}
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/onnx/onnx_cpp2py_export.so
|
|
|
|
.include <bsd.port.mk>
|