Charlie Li 06a08e69f3
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
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.
2025-03-07 23:05:21 -05:00

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>