diff options
author | ijliao <ijliao@FreeBSD.org> | 2004-08-26 16:37:09 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2004-08-26 16:37:09 +0800 |
commit | be8f56c1c405e609b3e67c92a97f02a780e844d3 (patch) | |
tree | 22163738814f3db5fc47d9871c4c1f9940be1c4c /science/py-scipy/Makefile | |
parent | 5af77423f885695f703dc19de35118b74cf35f4c (diff) | |
download | freebsd-ports-gnome-be8f56c1c405e609b3e67c92a97f02a780e844d3.tar.gz freebsd-ports-gnome-be8f56c1c405e609b3e67c92a97f02a780e844d3.tar.zst freebsd-ports-gnome-be8f56c1c405e609b3e67c92a97f02a780e844d3.zip |
add py-scipy 0.3
Scientific tools for Python
Diffstat (limited to 'science/py-scipy/Makefile')
-rw-r--r-- | science/py-scipy/Makefile | 46 |
1 files changed, 46 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> |