diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2004-08-26 08:37:09 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2004-08-26 08:37:09 +0000 |
commit | 834aa86cca48a002496c2006b541948a1cb87cfe (patch) | |
tree | bb450d0e29ddd210a9d371d617855803d043a857 /science | |
parent | cb5650bd6b8fbb1a41625a4715a073a18cbcbdc0 (diff) | |
download | ports-834aa86cca48a002496c2006b541948a1cb87cfe.tar.gz ports-834aa86cca48a002496c2006b541948a1cb87cfe.zip |
Notes
Diffstat (limited to 'science')
-rw-r--r-- | science/Makefile | 1 | ||||
-rw-r--r-- | science/py-scipy/Makefile | 46 | ||||
-rw-r--r-- | science/py-scipy/distinfo | 2 | ||||
-rw-r--r-- | science/py-scipy/pkg-descr | 9 | ||||
-rw-r--r-- | science/py-scipy03/Makefile | 46 | ||||
-rw-r--r-- | science/py-scipy03/distinfo | 2 | ||||
-rw-r--r-- | science/py-scipy03/pkg-descr | 9 |
7 files changed, 115 insertions, 0 deletions
diff --git a/science/Makefile b/science/Makefile index 7d8e71c8b57a..b9dad676f674 100644 --- a/science/Makefile +++ b/science/Makefile @@ -39,6 +39,7 @@ SUBDIR += ovt SUBDIR += p5-Chemistry-Elements SUBDIR += psi3 + SUBDIR += py-scipy SUBDIR += ruby-dcl SUBDIR += ruby-dcl-gtk SUBDIR += ruby-gphys diff --git a/science/py-scipy/Makefile b/science/py-scipy/Makefile new file mode 100644 index 000000000000..25de39dcb146 --- /dev/null +++ b/science/py-scipy/Makefile @@ -0,0 +1,46 @@ +# ex:ts=8 +# Ports collection makefile for: SciPy +# Date created: Jun 8, 2004 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= scipy +PORTVERSION= 0.3 +CATEGORIES= science python +MASTER_SITES= http://www.scipy.org/download/scipy/src/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= SciPy_complete-${PORTVERSION} + +MAINTAINER= ports@FreeBSD.org +COMMENT= Scientific tools for Python + +BUILD_DEPENDS= ${PYNUMERIC} \ + ${LOCALBASE}/lib/libdjbfft.a:${PORTSDIR}/math/djbfft \ + f2py:${PORTSDIR}/lang/f2py \ + ${PYTHON_SITELIBDIR}/wx/__init__.py:${PORTSDIR}/x11-toolkits/py-wxPython +LIB_DEPENDS= fftw.2:${PORTSDIR}/math/fftw \ + atlas.1:${PORTSDIR}/math/atlas + +USE_REINPLACE= yes +USE_PYTHON= 2.3+ +USE_PYDISTUTILS= yes + +post-patch: + @${GREP} -lR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \ + -e "s@malloc\.h@stdlib.h@" + +.include <bsd.port.pre.mk> + +post-install: +.for dir in ${PYTHON_SITELIBDIR}/gui_thread ${PYTHON_SITELIBDIR}/scipy \ + ${PYTHON_SITELIBDIR}/scipy_base ${PYTHON_SITELIBDIR}/scipy_distutils \ + ${PYTHON_SITELIBDIR}/scipy_test ${PYTHON_SITELIBDIR}/weave + @${FIND} ${dir} ! -type d | \ + ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} + @${FIND} ${dir} -type d | ${SORT} -r | \ + ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} +.endfor + +.include <bsd.port.post.mk> diff --git a/science/py-scipy/distinfo b/science/py-scipy/distinfo new file mode 100644 index 000000000000..7ceab39d6672 --- /dev/null +++ b/science/py-scipy/distinfo @@ -0,0 +1,2 @@ +MD5 (SciPy_complete-0.3.tar.gz) = ae6578810bce6d3841919b691e607812 +SIZE (SciPy_complete-0.3.tar.gz) = 3510718 diff --git a/science/py-scipy/pkg-descr b/science/py-scipy/pkg-descr new file mode 100644 index 000000000000..8b83bd7baeec --- /dev/null +++ b/science/py-scipy/pkg-descr @@ -0,0 +1,9 @@ +SciPy is an open source library of scientific tools for Python. SciPy +supplements the popular Numeric module, gathering a variety of high level +science and engineering modules together as a single package. + +SciPy includes modules for graphics and plotting, optimization, integration, +special functions, signal and image processing, genetic algorithms, ODE +solvers, and others. + +WWW: http://www.scipy.org/ diff --git a/science/py-scipy03/Makefile b/science/py-scipy03/Makefile new file mode 100644 index 000000000000..25de39dcb146 --- /dev/null +++ b/science/py-scipy03/Makefile @@ -0,0 +1,46 @@ +# ex:ts=8 +# Ports collection makefile for: SciPy +# Date created: Jun 8, 2004 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= scipy +PORTVERSION= 0.3 +CATEGORIES= science python +MASTER_SITES= http://www.scipy.org/download/scipy/src/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= SciPy_complete-${PORTVERSION} + +MAINTAINER= ports@FreeBSD.org +COMMENT= Scientific tools for Python + +BUILD_DEPENDS= ${PYNUMERIC} \ + ${LOCALBASE}/lib/libdjbfft.a:${PORTSDIR}/math/djbfft \ + f2py:${PORTSDIR}/lang/f2py \ + ${PYTHON_SITELIBDIR}/wx/__init__.py:${PORTSDIR}/x11-toolkits/py-wxPython +LIB_DEPENDS= fftw.2:${PORTSDIR}/math/fftw \ + atlas.1:${PORTSDIR}/math/atlas + +USE_REINPLACE= yes +USE_PYTHON= 2.3+ +USE_PYDISTUTILS= yes + +post-patch: + @${GREP} -lR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \ + -e "s@malloc\.h@stdlib.h@" + +.include <bsd.port.pre.mk> + +post-install: +.for dir in ${PYTHON_SITELIBDIR}/gui_thread ${PYTHON_SITELIBDIR}/scipy \ + ${PYTHON_SITELIBDIR}/scipy_base ${PYTHON_SITELIBDIR}/scipy_distutils \ + ${PYTHON_SITELIBDIR}/scipy_test ${PYTHON_SITELIBDIR}/weave + @${FIND} ${dir} ! -type d | \ + ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} + @${FIND} ${dir} -type d | ${SORT} -r | \ + ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} +.endfor + +.include <bsd.port.post.mk> diff --git a/science/py-scipy03/distinfo b/science/py-scipy03/distinfo new file mode 100644 index 000000000000..7ceab39d6672 --- /dev/null +++ b/science/py-scipy03/distinfo @@ -0,0 +1,2 @@ +MD5 (SciPy_complete-0.3.tar.gz) = ae6578810bce6d3841919b691e607812 +SIZE (SciPy_complete-0.3.tar.gz) = 3510718 diff --git a/science/py-scipy03/pkg-descr b/science/py-scipy03/pkg-descr new file mode 100644 index 000000000000..8b83bd7baeec --- /dev/null +++ b/science/py-scipy03/pkg-descr @@ -0,0 +1,9 @@ +SciPy is an open source library of scientific tools for Python. SciPy +supplements the popular Numeric module, gathering a variety of high level +science and engineering modules together as a single package. + +SciPy includes modules for graphics and plotting, optimization, integration, +special functions, signal and image processing, genetic algorithms, ODE +solvers, and others. + +WWW: http://www.scipy.org/ |