ports/devel/py-game_sdl2/Makefile
Rodrigo Osorio a1d828e84f devel/py-game_sdl2: take maintenership
PR:       278181
Reported by:  Brad D <social@brandongrows.me>
2024-04-14 13:07:56 +02:00

34 lines
944 B
Makefile

PORTNAME= game_sdl2
PORTVERSION= 7.4.11
PORTREVISION= 3
CATEGORIES= devel python
MASTER_SITES= http://www.renpy.org/dl/${PORTVERSION}/ \
GENTOO
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
# Upstream tends to reroll distfiles before moving under /release/
PORTSCOUT= site:http://www.renpy.org/dl/release/
USES= jpeg localbase python:2.7+ sdl
USE_SDL= image2 mixer2 ttf2
USE_PYTHON= autoplist distutils cython
EXCLUDE= gen gen3 PKG-INFO '*.egg-info'
EXTRACT_AFTER_ARGS=${EXCLUDE:S,^,--exclude ,}
BINARY_ALIAS= cython=cython-${PYTHON_VER}
post-install:
${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} -name \*.so \
-exec ${STRIP_CMD} {} +
.include <bsd.port.mk>