blob: 543c3b17672e546285c823939313dfffc8901070 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# $FreeBSD$
PORTNAME= bullet3
DISTVERSION= 2.88
CATEGORIES= devel
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Python version of 3D collision detection library Bullet
LICENSE= ZLIB
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= compiler:c++11-lang gl localbase python
USE_GITHUB= yes
GH_ACCOUNT= bulletphysics
USE_PYTHON= autoplist distutils
USE_GL= gl glew
post-patch: # remove examples because they fail: https://github.com/bulletphysics/bullet3/issues/1510, and they shouldn't be built anyway
@${REINPLACE_CMD} -E 's,"examples/.*\.(cpp|c|m)",,' ${WRKSRC}/setup.py
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pybullet.so
.include <bsd.port.mk>
|