diff options
author | tg <tg@FreeBSD.org> | 2002-07-15 11:37:35 +0000 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 2002-07-15 11:37:35 +0000 |
commit | 30bceeea4c4f7dbee3712c9a1ebd333f7f3b2cc3 (patch) | |
tree | 2ddc11cb0d2b59ccd8eeb832d551757d59234c8f /math | |
parent | 43fcff6edce8c91fea8769328f4ee16e0815ab04 (diff) | |
download | FreeBSD-ports-30bceeea4c4f7dbee3712c9a1ebd333f7f3b2cc3.zip FreeBSD-ports-30bceeea4c4f7dbee3712c9a1ebd333f7f3b2cc3.tar.gz |
Use $PYNUMERIC in the dependencies.
Diffstat (limited to 'math')
-rw-r--r-- | math/biggles/Makefile | 2 | ||||
-rw-r--r-- | math/py-gnuplot/Makefile | 4 | ||||
-rw-r--r-- | math/py-scientific/Makefile | 5 | ||||
-rw-r--r-- | math/scigraphica/Makefile | 10 |
4 files changed, 6 insertions, 15 deletions
diff --git a/math/biggles/Makefile b/math/biggles/Makefile index 11fce68..9173e33 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 dc0941b..92ca39c 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 7774773..db9f234 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 fdf4437..96bc95b 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> |