Any missed ports, feel free to bump. Any ports that need setuptools at runtime can have the devel/py-setuptools manually added back to RUN_DEPENDS, but understand that this practice is deprecated; see CHANGES for details.
25 lines
544 B
Makefile
25 lines
544 B
Makefile
PORTNAME= box2d-py
|
|
DISTVERSION= 2.3.8
|
|
PORTREVISION= 2
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= nc@FreeBSD.org
|
|
COMMENT= 2D physics library Box2D 2.3 for usage in Python
|
|
WWW= https://pypi.org/project/box2d-py/
|
|
|
|
LICENSE= ZLIB
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= swig:devel/swig
|
|
LIB_DEPENDS= libbox2d.so:misc/box2d
|
|
|
|
USES= compiler:c11 python
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Box2D/_Box2D*.so
|
|
|
|
.include <bsd.port.mk>
|