1 | # $Id: Portfile,v 1.1 2005/01/06 15:07:03 mww Exp $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup python24 1.0 |
---|
5 | |
---|
6 | name py-scipy |
---|
7 | version 0.3.2 |
---|
8 | revision 2 |
---|
9 | categories python |
---|
10 | platforms darwin |
---|
11 | description An opensource library of scientific tools for Python |
---|
12 | maintainers erickt@dslextreme.com |
---|
13 | |
---|
14 | homepage http://www.scipy.org/ |
---|
15 | master_sites ${homepage}/download/scipy/src/ |
---|
16 | distname SciPy_complete-${version} |
---|
17 | patchfiles patch-gnufcompiler.py |
---|
18 | |
---|
19 | checksums md5 5ae2280ab2c4c653cb0ff8479e81284a |
---|
20 | |
---|
21 | depends_lib lib:gnuplot:gnuplot \ |
---|
22 | lib:fftw:fftw \ |
---|
23 | port:py-numeric \ |
---|
24 | port:py-f2py |
---|
25 | depends_build bin:g77-dp-gcc34:gcc34 |
---|
26 | |
---|
27 | use_configure no |
---|
28 | |
---|
29 | worksrcdir ${distname} |
---|
30 | build.env LDFLAGS="-L${prefix}/lib -L${prefix}/lb/gcc3.4" CFLAGS="-I${prefix}/include/python2.4 -I{prefix}/include -I{prefix}/include/gcc3.4" |
---|
31 | build.post_args config_fc --f77exec g77-dp-3.4 |
---|
32 | |
---|
33 | variant gcc40 { |
---|
34 | depends_build bin:g77-dp-gcc40:gcc40 |
---|
35 | build.env LDFLAGS="-L${prefix}/lib -L${prefix}/lb/gcc4.0" CFLAGS="-I${prefix}/include/python2.4 -I{prefix}/include -I{prefix}/include/gcc4.0" |
---|
36 | build.post_args config_fc --f77exec g77-dp-4.0 |
---|
37 | } |
---|