Ticket #3174: Portfile.3

File Portfile.3, 1.1 KB (added by erickt@…, 19 years ago)

fixeder portfile with gcc40 variant

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