openbsd-ports/games/pygame_sdl2/Makefile
bcallah 5f627fdec1 Import games/pygame_sdl2, a Ren'Py fork of pygame.
Testing by at least pamela@, solene@; ok solene@

Pygame_sdl2 is a reimplementation of the Pygame API using SDL2 and
related libraries. The initial goal of this project are to allow games
written using the pygame API to run on SDL2 on desktop and mobile
platforms. We will then evolve the API to expose SDL2-provided
functionality in a pythonic manner.

It is used in modern versions of Ren'Py.
2020-03-12 17:18:09 +00:00

37 lines
727 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2020/03/12 17:18:09 bcallah Exp $
# Keep in sync with games/renpy!!!
V = 7.3.5.606
COMMENT = Ren'Py fork of pygame
PKGNAME = pygame_sdl2-${V}
CATEGORIES = games x11
GH_ACCOUNT = renpy
GH_PROJECT = pygame_sdl2
GH_TAGNAME = renpy-${V}
MAINTAINER = Brian Callahan <bcallah@openbsd.org>
# LGPLv2.1+ & zlib
PERMIT_PACKAGE = Yes
# Not yet. We need to wait for Ren'Py to make the switch.
#FLAVORS = python3
#FLAVOR ?=
WANTLIB += SDL2 SDL2_image SDL2_mixer SDL2_ttf jpeg png pthread
WANTLIB += ${MODPY_WANTLIB}
MODULES = lang/python
MODPY_SETUPTOOLS = Yes
BUILD_DEPENDS = lang/cython
LIB_DEPENDS = devel/sdl2-image \
devel/sdl2-mixer \
devel/sdl2-ttf
NO_TEST = Yes
.include <bsd.port.mk>