source: trunk/dports/python/py-numpy/Portfile @ 32360

Last change on this file since 32360 was 32360, checked in by ram@…, 12 years ago

py-numpy/py25-numpy: remove trailing whitespace

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 32360 2007-12-27 15:05:08Z ram@macports.org $
2
3PortSystem 1.0
4PortGroup  python24 1.0
5
6name                    py-numpy
7version                 1.0.4
8revision                4
9categories              python
10platforms               darwin
11maintainers             ram openmaintainer
12description             The core utilities for the scientific library scipy for Python
13long_description        ${description}
14
15homepage                http://numpy.scipy.org/
16master_sites            sourceforge:numpy
17distname                numpy-${version}
18
19checksums               md5 8f011e9d7697da570efaac61c51725e0 \
20                        sha1 9a1f09358c3310cf990eecd06dc2eb54aec78321 \
21                        rmd160 8ac192ad3f36a94a45c26e0c4028fdbb744881f5
22
23depends_lib-append      port:fftw-3
24
25variant g95 conflicts gcc42 gcc43 description "Use g95 as fortran compiler" {
26  depends_lib-append    port:g95
27  build.cmd-append      "config_fc --fcompiler gnu95 --f77exec ${prefix}/bin/g95 --f90exec ${prefix}/bin/g95"
28}
29
30variant gcc42 conflicts g95 gcc43 description "Use gfortran as fortran compiler" {
31  depends_lib-append    port:gcc42
32  build.cmd-append      "config_fc --fcompiler gnu95 --f77exec ${prefix}/bin/gfortran-mp-4.2 --f90exec ${prefix}/bin/gfortran-mp-4.2"
33}
34
35variant gcc43 conflicts g95 gcc42 description "Use gfortran as fortran compiler" {
36  depends_lib-append    port:gcc43
37  build.cmd-append      "config_fc --fcompiler gnu95 --f77exec ${prefix}/bin/gfortran-mp-4.3 --f90exec ${prefix}/bin/gfortran-mp-4.3"
38}
39
40if { ![variant_isset g95] && ![variant_isset gcc42] && ![variant_isset gcc43] } {
41  default_variants      +g95
42}
Note: See TracBrowser for help on using the repository browser.