Changeset 71874 for trunk


Ignore:
Timestamp:
Sep 25, 2010, 7:08:56 PM (10 years ago)
Author:
mmoll@…
Message:

math/slepc: version bump to 3.1-p4

Location:
trunk/dports/math/slepc
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/math/slepc/Portfile

    r60102 r71874  
    44
    55name            slepc
    6 version         3.0.0-p7
     6version         3.1-p4
    77categories      math science
    88maintainers     mmoll
     
    1919universal_variant   no
    2020
    21 patchfiles      patch-config-configure.py.diff
    22 
    23 checksums           md5     9a5da74c6cc2e48116619d5add242d84 \
    24                     sha1    1b90ca18c12258f1aeceace4fc7a179b6b5f5fb6 \
    25                     rmd160  4287dcaa106f3bd2c7dddca7f188e8da255af9c7
     21checksums           md5     96057d4ee9d1a17c7b1aa614d864f84a \
     22                    sha1    a781a90c62465e88be322cdd3ff4b6bff7f3f877 \
     23                    rmd160  7a0776a49431e1967afe06ee07563b8df463c064
    2624
    2725depends_lib-append  port:petsc
    2826
    2927extract.suffix  .tgz
    30 configure.env-append    PETSC_DIR=${prefix}/lib/petsc \
    31                 SLEPC_DIR=${worksrcpath}
    32 configure.cmd   ${worksrcpath}/config/configure.py
    33 configure.args  --prefix=${prefix}/lib/petsc
    34 build.env       PETSC_DIR=${prefix}/lib/petsc  \
    35                 SLEPC_DIR=${worksrcpath}
    36 destroot.env    PETSC_DIR=${prefix}/lib/petsc PETSC_ARCH=. \
    37                 SLEPC_DIR=${worksrcpath}
    38 destroot.destdir    SLEPC_INSTALL_DIR=${destroot}${prefix}/lib/petsc
     28configure.env-append  PETSC_DIR=${prefix}/lib/petsc SLEPC_DIR=${worksrcpath}
     29configure.cmd         ${worksrcpath}/config/configure.py
     30configure.args        --prefix=${prefix}/lib/petsc
     31build.env-append      PETSC_DIR=${prefix}/lib/petsc PETSC_ARCH=installed-petsc SLEPC_DIR=${worksrcpath}
     32destroot.env-append   PETSC_DIR=${prefix}/lib/petsc PETSC_ARCH=installed-petsc SLEPC_DIR=${worksrcpath}
     33destroot.cmd-append   SLEPC_INSTALL_DIR=${destroot}${prefix}
    3934
    4035variant arpack description {compile with ARPACK support} {
     
    4641    # This is a rather fragile way to figure out where the fortran library can be
    4742    # found that is needed to link against libparpack.a:
    48     if {[file exists ${prefix}/lib/gcc43]} {
    49         set fortrandir ${prefix}/lib/gcc43
     43    if {[file exists ${prefix}/lib/gcc44]} {
     44        set fortrandir ${prefix}/lib/gcc44
    5045    } else {
    51         if {[file exists ${prefix}/lib/gcc42]} {
    52             set fortrandir ${prefix}/lib/gcc42
     46        if {[file exists ${prefix}/lib/gcc43]} {
     47            set fortrandir ${prefix}/lib/gcc43
    5348        } else {
    54             if {[file exists ${prefix}/lib/g95]} {
    55                 set fortrandir ${prefix}/lib/gcc95
     49            if {[file exists ${prefix}/lib/gcc42]} {
     50                set fortrandir ${prefix}/lib/gcc42
    5651            } else {
    57                 return -code error "Please install a fortran compiler by installing one of the following ports: gcc42, gcc43, or g95."
     52                if {[file exists ${prefix}/lib/g95]} {
     53                    set fortrandir ${prefix}/lib/gcc95
     54                } else {
     55                    return -code error "Please install a fortran compiler by installing one of the following ports: gcc42, gcc43, or g95."
     56                }
    5857            }
    5958        }
Note: See TracChangeset for help on using the changeset viewer.