aboutsummaryrefslogtreecommitdiff
path: root/science/py-scipy
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2004-08-26 08:37:09 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2004-08-26 08:37:09 +0000
commit834aa86cca48a002496c2006b541948a1cb87cfe (patch)
treebb450d0e29ddd210a9d371d617855803d043a857 /science/py-scipy
parentcb5650bd6b8fbb1a41625a4715a073a18cbcbdc0 (diff)
downloadports-834aa86cca48a002496c2006b541948a1cb87cfe.tar.gz
ports-834aa86cca48a002496c2006b541948a1cb87cfe.zip
Notes
Diffstat (limited to 'science/py-scipy')
-rw-r--r--science/py-scipy/Makefile46
-rw-r--r--science/py-scipy/distinfo2
-rw-r--r--science/py-scipy/pkg-descr9
3 files changed, 57 insertions, 0 deletions
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/