summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>2002-07-15 11:37:35 +0000
committerThomas Gellekum <tg@FreeBSD.org>2002-07-15 11:37:35 +0000
commitb7ae6bf01ca5fab869272f6fd1450a394a1677ff (patch)
tree11b24b96bb495135b5653482b8e82cf768508bce /math
parentadd fastresolve 2.8 (diff)
Use $PYNUMERIC in the dependencies.
Notes
Notes: svn path=/head/; revision=62985
Diffstat (limited to 'math')
-rw-r--r--math/biggles/Makefile2
-rw-r--r--math/py-gnuplot/Makefile4
-rw-r--r--math/py-scientific/Makefile5
-rw-r--r--math/scigraphica/Makefile10
4 files changed, 6 insertions, 15 deletions
diff --git a/math/biggles/Makefile b/math/biggles/Makefile
index 11fce6864345..9173e33401de 100644
--- a/math/biggles/Makefile
+++ b/math/biggles/Makefile
@@ -15,7 +15,7 @@ DISTNAME= python-${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
-BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/Numeric.pth:${PORTSDIR}/math/py-numeric
+BUILD_DEPENDS= ${PYNUMERIC}
LIB_DEPENDS= plot:${PORTSDIR}/graphics/plotutils
USE_PYTHON= yes
diff --git a/math/py-gnuplot/Makefile b/math/py-gnuplot/Makefile
index dc0941b06545..92ca39ccea79 100644
--- a/math/py-gnuplot/Makefile
+++ b/math/py-gnuplot/Makefile
@@ -14,9 +14,9 @@ DISTNAME= Gnuplot-${PORTVERSION}
MAINTAINER= sobomax@FreeBSD.org
-BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/Numeric/_numpy.so:${PORTSDIR}/math/py-numeric
+BUILD_DEPENDS= ${PYNUMERIC}
RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot \
- ${PYTHON_SITELIBDIR}/Numeric/_numpy.so:${PORTSDIR}/math/py-numeric
+ ${PYNUMERIC}
USE_PYTHON= yes
USE_PYDISTUTILS= yes
diff --git a/math/py-scientific/Makefile b/math/py-scientific/Makefile
index 77747732c647..db9f23426fdc 100644
--- a/math/py-scientific/Makefile
+++ b/math/py-scientific/Makefile
@@ -15,14 +15,13 @@ DISTNAME= ScientificPython-${PORTVERSION}
MAINTAINER= tg@FreeBSD.org
-BUILD_DEPENDS= ${NUMPYDIR}/Numeric.py:${PORTSDIR}/math/py-numeric
+BUILD_DEPENDS= ${PYNUMERIC}
LIB_DEPENDS= netcdf.1:${PORTSDIR}/math/netcdf
-RUN_DEPENDS= ${NUMPYDIR}/Numeric.py:${PORTSDIR}/math/py-numeric
+RUN_DEPENDS= ${PYNUMERIC}
USE_PYTHON= yes
USE_PYDISTUTILS=yes
-NUMPYDIR= ${PYTHON_SITELIBDIR}/Numeric
DOCDIR= ${PREFIX}/share/doc/py-scientific
EXAMPLEDIR= ${PREFIX}/share/examples/py-scientific
diff --git a/math/scigraphica/Makefile b/math/scigraphica/Makefile
index fdf443734238..96bc95b2ef9e 100644
--- a/math/scigraphica/Makefile
+++ b/math/scigraphica/Makefile
@@ -29,14 +29,6 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}"
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_VERSION} == "python2.0" || ${PYTHON_VERSION} == "python2.1"
-PYNUMERIC= ${LOCALBASE}/include/${PYTHON_VERSION}/Numeric/arrayobject.h:${PORTSDIR}/math/py-numeric
-.else
-PYNUMERIC= ${LOCALBASE}/include/${PYTHON_VERSION}/Numeric/arrayobject.h:${PORTSDIR}/math/py-numeric17
-.endif
-
pre-patch:
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
@@ -48,4 +40,4 @@ post-install:
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/share/gnome/scigraphica
@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/share/gnome/scigraphica
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>