mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
Catch up with changed location of py-numeric port.
Missed by: tg
This commit is contained in:
parent
39bff387b2
commit
b0a815f6ef
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=42203
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user