aboutsummaryrefslogtreecommitdiff
path: root/math/py-numeric17/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/py-numeric17/Makefile')
-rw-r--r--math/py-numeric17/Makefile15
1 files changed, 2 insertions, 13 deletions
diff --git a/math/py-numeric17/Makefile b/math/py-numeric17/Makefile
index b1ccbf97bb8c..080bda5d3858 100644
--- a/math/py-numeric17/Makefile
+++ b/math/py-numeric17/Makefile
@@ -15,26 +15,15 @@ DISTNAME= Numeric-${PORTVERSION}
MAINTAINER= tg@FreeBSD.org
-BUILD_DEPENDS= python:${PORTSDIR}/lang/python \
- ${PYDISTUTILS}
+BUILD_DEPENDS= ${PYDISTUTILS}
LIB_DEPENDS= lapack.3:${PORTSDIR}/math/lapack \
blas.2:${PORTSDIR}/math/lapack
-RUN_DEPENDS= python:${PORTSDIR}/lang/python
+USE_PYTHON= yes
MAKE_ENV= BLASLIBDIR=${LOCALBASE}/lib LAPACKLIBDIR=${LOCALBASE}/lib
-PLIST_SUB= PYVERSION="python${PYVERSION}"
DOCDIR= ${PREFIX}/share/doc/py-numeric
EXAMPLEDIR= ${PREFIX}/share/examples/py-numeric
-PYVERSION!= (python -c 'import string, sys; \
- print string.split(sys.version)[0][:3]') 2> /dev/null \
- || echo "1.5"
-
-.if ${PYVERSION} == "2.0"
-PYDISTUTILS= ${LOCALBASE}/lib/python${PYVERSION}/distutils/core.py:${PORTSDIR}/lang/python
-.else
-PYDISTUTILS= ${LOCALBASE}/lib/python${PYVERSION}/site-packages/distutils/core.py:${PORTSDIR}/misc/py-distutils
-.endif
post-install:
@${MKDIR} ${EXAMPLEDIR}