aboutsummaryrefslogtreecommitdiff
path: root/devel/py-game
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-04-29 14:01:09 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-04-29 14:01:09 +0000
commitbe17dde214a20fb2d26b647f8bab4fd7ff23e6d2 (patch)
treeab39a4fa0ed643112fc792caf6e8f8fabb1cd0f6 /devel/py-game
parent3815d264a3056765cd78458ac559b83202d37f02 (diff)
downloadports-be17dde214a20fb2d26b647f8bab4fd7ff23e6d2.tar.gz
ports-be17dde214a20fb2d26b647f8bab4fd7ff23e6d2.zip
Notes
Diffstat (limited to 'devel/py-game')
-rw-r--r--devel/py-game/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/devel/py-game/Makefile b/devel/py-game/Makefile
index 778f6758b35e..d902e8a3fa4a 100644
--- a/devel/py-game/Makefile
+++ b/devel/py-game/Makefile
@@ -13,8 +13,7 @@ DISTNAME= ${PORTNAME:S/-//}-${PORTVERSION}
MAINTAINER= sobomax@FreeBSD.org
-BUILD_DEPENDS= ${PYDISTUTILS} \
- ${PYNUMERIC}
+BUILD_DEPENDS= ${PYNUMERIC}
LIB_DEPENDS= SDL_ttf.3:${PORTSDIR}/graphics/sdl_ttf \
SDL_image.10:${PORTSDIR}/graphics/sdl_image \
SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer \
@@ -24,7 +23,7 @@ RUN_DEPENDS= ${PYNUMERIC}
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
USE_PYTHON= yes
-SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD}
+USE_PYDISTUTILS= yes
MAKE_ENV= SDL_CONFIG="${SDL_CONFIG}"
.include <bsd.port.pre.mk>
@@ -38,12 +37,8 @@ PYNUMERIC= ${PYTHON_SITELIBDIR}/Numeric/Numeric.py:${PORTSDIR}/math/py-numeric17
do-configure:
@${SETUP_CMD} config.py
-do-build:
- @${SETUP_CMD} setup.py build
-
-do-install:
- @${SETUP_CMD} setup.py install
.if !defined(NOPORTDOCS)
+post-install:
${MKDIR} ${PREFIX}/share/examples/py-game
${TAR} -C ${WRKSRC}/examples -cf - . | \
${TAR} --unlink -C ${PREFIX}/share/examples/py-game -xf -