Lines 7-29
Link Here
|
7 |
# |
7 |
# |
8 |
|
8 |
|
9 |
PORTNAME= scipy |
9 |
PORTNAME= scipy |
10 |
PORTVERSION= 0.3.2 |
10 |
PORTVERSION= 0.5.1 |
11 |
PORTREVISION= 1 |
|
|
12 |
CATEGORIES= science python |
11 |
CATEGORIES= science python |
13 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
14 |
MASTER_SITE_SUBDIR= scipy |
13 |
MASTER_SITE_SUBDIR= scipy |
15 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
14 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
16 |
DISTNAME= SciPy_complete-${PORTVERSION} |
|
|
17 |
|
15 |
|
18 |
MAINTAINER= db@db.net |
16 |
MAINTAINER= db@db.net |
19 |
COMMENT= Scientific tools for Python |
17 |
COMMENT= Scientific tools for Python |
20 |
|
18 |
|
21 |
BUILD_DEPENDS= ${PYNUMERIC} \ |
19 |
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/numpy/core/numeric.py:${PORTSDIR}/math/py-numpy \ |
22 |
${LOCALBASE}/lib/libdjbfft.a:${PORTSDIR}/math/djbfft \ |
20 |
${LOCALBASE}/lib/libdjbfft.a:${PORTSDIR}/math/djbfft \ |
23 |
f2py:${PORTSDIR}/lang/f2py \ |
21 |
f2py:${PORTSDIR}/lang/f2py |
24 |
${PYTHON_SITELIBDIR}/wx/__init__.py:${PORTSDIR}/x11-toolkits/py-wxPython24 |
|
|
25 |
LIB_DEPENDS= fftw.2:${PORTSDIR}/math/fftw \ |
22 |
LIB_DEPENDS= fftw.2:${PORTSDIR}/math/fftw \ |
26 |
atlas.1:${PORTSDIR}/math/atlas |
23 |
atlas.1:${PORTSDIR}/math/atlas |
|
|
24 |
.if exists(${PYTHON_SITELIBDIR}/wx.pth) |
25 |
BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/wx.pth:${PORTSDIR}/x11-toolkits/py-wxPython26 |
26 |
.elif exists(${PYTHON_SITELIBDIR}/wx/__init__.py) |
27 |
BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/wx/__init__.py:${PORTSDIR}/x11-toolkits/py-wxPython24 |
28 |
.else |
29 |
BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/wx.pth:${PORTSDIR}/x11-toolkits/py-wxPython26 |
30 |
.endif |
27 |
|
31 |
|
28 |
USE_PYTHON= 2.3+ |
32 |
USE_PYTHON= 2.3+ |
29 |
USE_PYDISTUTILS= yes |
33 |
USE_PYDISTUTILS= yes |
Lines 39-52
Link Here
|
39 |
.endif |
43 |
.endif |
40 |
|
44 |
|
41 |
post-install: |
45 |
post-install: |
42 |
@${RMDIR} ${PYTHON_SITELIBDIR}/weave/swig # empty |
46 |
@${FIND} ${PYTHON_SITELIBDIR}/scipy ! -type d | \ |
43 |
.for dir in ${PYTHON_SITELIBDIR}/gui_thread ${PYTHON_SITELIBDIR}/scipy \ |
|
|
44 |
${PYTHON_SITELIBDIR}/scipy_base ${PYTHON_SITELIBDIR}/scipy_distutils \ |
45 |
${PYTHON_SITELIBDIR}/scipy_test ${PYTHON_SITELIBDIR}/weave |
46 |
@${FIND} ${dir} ! -type d | \ |
47 |
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} |
47 |
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} |
48 |
@${FIND} ${dir} -type d | ${SORT} -r | \ |
48 |
@${FIND} ${PYTHON_SITELIBDIR}/scipy -type d | ${SORT} -r | \ |
49 |
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} |
49 |
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} |
50 |
.endfor |
|
|
51 |
|
50 |
|
52 |
.include <bsd.port.post.mk> |
51 |
.include <bsd.port.post.mk> |