summaryrefslogtreecommitdiff
path: root/math/py-python-fcl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/py-python-fcl/Makefile')
-rw-r--r--math/py-python-fcl/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/math/py-python-fcl/Makefile b/math/py-python-fcl/Makefile
new file mode 100644
index 000000000000..266e2393c3a9
--- /dev/null
+++ b/math/py-python-fcl/Makefile
@@ -0,0 +1,31 @@
+# $FreeBSD$
+
+PORTNAME= python-fcl
+PORTVERSION= 0.0.12
+CATEGORIES= math python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= db@FreeBSD.org
+COMMENT= Python bindings for the Flexible Collision Library
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+NEEDED_DEPENDS= ${PYNUMPY} \
+ eigen>0:math/eigen3
+LIB_DEPENDS= libfcl05.so:math/fcl05 \
+ liboctomap.so:math/octomap
+BUILD_DEPENDS= ${NEEDED_DEPENDS}
+RUN_DEPENDS= ${NEEDED_DEPENDS}
+
+USES= compiler:c++11-lang python
+
+USE_PYTHON= distutils autoplist concurrent cython
+
+PYDISTUTILS_BUILD_TARGET= build_ext
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/fcl/fcl.so
+
+.include <bsd.port.mk>