diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-05-03 08:55:08 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-05-03 08:55:08 +0000 |
commit | b0a815f6ef0419d4dad08ed8d1ead51e7a204f1e (patch) | |
tree | f94281163fd0320259caff71d6508eaa7ff44bf7 /devel/py-game | |
parent | 39bff387b2bc88e9e9493409571ffd4f4bafeab9 (diff) | |
download | ports-b0a815f6ef0419d4dad08ed8d1ead51e7a204f1e.tar.gz ports-b0a815f6ef0419d4dad08ed8d1ead51e7a204f1e.zip |
Notes
Diffstat (limited to 'devel/py-game')
-rw-r--r-- | devel/py-game/Makefile | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/devel/py-game/Makefile b/devel/py-game/Makefile index a01cdb1f42c7..df4d28cad7cf 100644 --- a/devel/py-game/Makefile +++ b/devel/py-game/Makefile @@ -14,12 +14,12 @@ DISTNAME= ${PORTNAME:S/-//}-${PORTVERSION} MAINTAINER= sobomax@FreeBSD.org BUILD_DEPENDS= ${PYDISTUTILS} \ - ${PYTHON_SITELIBDIR}/Numeric/Numeric.py:${PORTSDIR}/math/numpy + ${PYNUMERIC} 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 -RUN_DEPENDS= ${PYTHON_SITELIBDIR}/Numeric/Numeric.py:${PORTSDIR}/math/numpy +RUN_DEPENDS= ${PYNUMERIC} SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config @@ -27,6 +27,14 @@ USE_PYTHON= yes SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} MAKE_ENV= SDL_CONFIG="${SDL_CONFIG}" +.include <bsd.port.pre.mk> + +.if ${PYTHON_VERSION} == "python2.1" +PYNUMERIC= ${PYTHON_SITELIBDIR}/Numeric/Numeric.py:${PORTSDIR}/math/py-numeric +.else +PYNUMERIC= ${PYTHON_SITELIBDIR}/Numeric/Numeric.py:${PORTSDIR}/math/py-numeric17 +.endif + do-configure: @${SETUP_CMD} config.py @@ -36,4 +44,4 @@ do-build: do-install: @${SETUP_CMD} setup.py install -.include <bsd.port.mk> +.include <bsd.port.post.mk> |