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

33 lines
932 B
Makefile

PORTNAME= game_sdl2
PORTVERSION= 7.4.11
PORTREVISION= 4
CATEGORIES= devel python
MASTER_SITES= http://www.renpy.org/dl/${PORTVERSION}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= py${PORTNAME}-2.1.0-for-renpy-${DISTVERSION}
MAINTAINER= social@brandongrows.me
COMMENT= Reimplementation of portions of the pygame API using SDL2
WWW= https://github.com/renpy/pygame_sdl2
LICENSE= LGPL21+ ZLIB
LICENSE_COMB= multi
LIB_DEPENDS= libpng.so:graphics/png
USES= jpeg localbase python:2.7+ sdl
USE_PYTHON= autoplist distutils cython
USE_SDL= image2 mixer2 ttf2
BINARY_ALIAS= cython=cython-${PYTHON_VER}
EXCLUDE= gen gen3 PKG-INFO '*.egg-info'
EXTRACT_AFTER_ARGS=${EXCLUDE:S,^,--exclude ,}
# Upstream tends to reroll distfiles before moving under /release/
PORTSCOUT= site:http://www.renpy.org/dl/release/
post-install:
${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} -name \*.so \
-exec ${STRIP_CMD} {} +
.include <bsd.port.mk>