diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2021-03-08 15:41:11 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2021-03-08 15:41:11 +0000 |
commit | dd4a092cc04ec951e1eb97c497a2c2557f6cdd18 (patch) | |
tree | d4108726ddeaff1e54b085aeb310de392be8c9e5 /graphics/py-box2d-py | |
parent | 1b56f13ff88305622676c5ee583a338ce3b6184f (diff) | |
download | ports-dd4a092cc04ec951e1eb97c497a2c2557f6cdd18.tar.gz ports-dd4a092cc04ec951e1eb97c497a2c2557f6cdd18.zip |
graphics/py-box2d-py: Fix build after misc/box2d's shared lib was renamed
Also strip binary.
Reported by: fluffy
Notes
Notes:
svn path=/head/; revision=567853
Diffstat (limited to 'graphics/py-box2d-py')
-rw-r--r-- | graphics/py-box2d-py/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/graphics/py-box2d-py/Makefile b/graphics/py-box2d-py/Makefile index 30bc10624571..c9f75d9ffca9 100644 --- a/graphics/py-box2d-py/Makefile +++ b/graphics/py-box2d-py/Makefile @@ -2,6 +2,7 @@ PORTNAME= box2d-py DISTVERSION= 2.3.8 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,9 +14,12 @@ LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= swig:devel/swig -LIB_DEPENDS= libBox2D.so:misc/box2d +LIB_DEPENDS= libbox2d.so:misc/box2d USES= compiler:c11 python:3.6+ USE_PYTHON= autoplist distutils +post-install: + @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Box2D/_Box2D.so + .include <bsd.port.mk> |