summaryrefslogtreecommitdiffstats
path: root/devel/py-game/Makefile
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2000-12-18 17:02:09 +0000
committersobomax <sobomax@FreeBSD.org>2000-12-18 17:02:09 +0000
commit82a9eb917c148dc71e1b31a2daba0aa41af618bd (patch)
treeadcbe7b2d056311151277be548c9cd34aedc58b9 /devel/py-game/Makefile
parent95383bf79bbe3466c9a9ae9a36fca7c2058e8634 (diff)
downloadFreeBSD-ports-82a9eb917c148dc71e1b31a2daba0aa41af618bd.zip
FreeBSD-ports-82a9eb917c148dc71e1b31a2daba0aa41af618bd.tar.gz
Add Pygame. Pygame is a cross-platfrom library designed to make it easy to
write multimedia software, such as games, in Python.
Diffstat (limited to 'devel/py-game/Makefile')
-rw-r--r--devel/py-game/Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/devel/py-game/Makefile b/devel/py-game/Makefile
new file mode 100644
index 0000000..45e2c8c
--- /dev/null
+++ b/devel/py-game/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: py-game
+# Date created: 14 December 2000
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= py-game
+PORTVERSION= 0.4
+CATEGORIES= devel python
+MASTER_SITES= http://pygame.seul.org/ftp/
+DISTNAME= ${PORTNAME:S/-//}-${PORTVERSION}
+
+MAINTAINER= sobomax@FreeBSD.org
+
+BUILD_DEPENDS= ${PYDISTUTILS}
+LIB_DEPENDS= SDL_ttf.2:${PORTSDIR}/graphics/sdl_ttf \
+ SDL_image.10:${PORTSDIR}/graphics/sdl_image \
+ SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer \
+ smpeg.1:${PORTSDIR}/graphics/smpeg
+
+SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
+
+USE_PYTHON= yes
+SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD}
+MAKE_ENV= SDL_CONFIG="${SDL_CONFIG}"
+
+do-configure:
+ ${SETUP_CMD} config.py
+
+do-build:
+ ${SETUP_CMD} setup.py build
+
+do-install:
+ ${SETUP_CMD} setup.py install
+
+.include <bsd.port.mk>
OpenPOWER on IntegriCloud