svn commit: r382556 - in head/devel: . py-game_sdl2

Jan Beich jbeich at FreeBSD.org
Sat Mar 28 21:21:01 UTC 2015


Author: jbeich
Date: Sat Mar 28 21:20:58 2015
New Revision: 382556
URL: https://svnweb.freebsd.org/changeset/ports/382556
QAT: https://qat.redports.org/buildarchive/r382556/

Log:
  Add new port devel/py-game_sdl2
  
  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.
  
  WWW: https://github.com/renpy/pygame_sdl2

Added:
  head/devel/py-game_sdl2/
  head/devel/py-game_sdl2/Makefile   (contents, props changed)
  head/devel/py-game_sdl2/distinfo   (contents, props changed)
  head/devel/py-game_sdl2/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sat Mar 28 21:14:44 2015	(r382555)
+++ head/devel/Makefile	Sat Mar 28 21:20:58 2015	(r382556)
@@ -3830,6 +3830,7 @@
     SUBDIR += py-future
     SUBDIR += py-futures
     SUBDIR += py-game
+    SUBDIR += py-game_sdl2
     SUBDIR += py-gamin
     SUBDIR += py-gdata
     SUBDIR += py-gearman

Added: head/devel/py-game_sdl2/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-game_sdl2/Makefile	Sat Mar 28 21:20:58 2015	(r382556)
@@ -0,0 +1,30 @@
+# $FreeBSD$
+
+PORTNAME=	game_sdl2
+PORTVERSION=	6.99.1
+CATEGORIES=	devel python
+MASTER_SITES=	http://www.renpy.org/dl/${PORTVERSION}/ \
+		GENTOO/distfiles
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	py${PORTNAME}-for-renpy-${DISTVERSION}
+
+MAINTAINER=	jbeich at FreeBSD.org
+COMMENT=	Reimplementation of portions of the pygame API using SDL2
+
+LICENSE=	LGPL21 ZLIB
+LICENSE_COMB=	multi
+
+BUILD_DEPENDS=	cython:${PORTSDIR}/lang/cython
+LIB_DEPENDS=	libjpeg.so:${PORTSDIR}/graphics/jpeg \
+		libpng.so:${PORTSDIR}/graphics/png
+
+USES=		python:2.7 tar:bz2
+USE_SDL=	gfx2 image2 mixer2 ttf2
+USE_PYTHON=	autoplist distutils
+WRKSRC=		${WRKDIR}/${DISTNAME:S/_/-/}
+
+post-install:
+	${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} -name \*.so \
+		-exec ${STRIP_CMD} {} +
+
+.include <bsd.port.mk>

Added: head/devel/py-game_sdl2/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-game_sdl2/distinfo	Sat Mar 28 21:20:58 2015	(r382556)
@@ -0,0 +1,2 @@
+SHA256 (pygame_sdl2-for-renpy-6.99.1.tar.bz2) = 0e2eec8ab936c42d5603bf7698d210525f8c6a5bbd78fe583de9af81d933c803
+SIZE (pygame_sdl2-for-renpy-6.99.1.tar.bz2) = 94563

Added: head/devel/py-game_sdl2/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-game_sdl2/pkg-descr	Sat Mar 28 21:20:58 2015	(r382556)
@@ -0,0 +1,7 @@
+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.
+
+WWW: https://github.com/renpy/pygame_sdl2


More information about the svn-ports-head mailing list