Changeset 74610


Ignore:
Timestamp:
Dec 23, 2010, 5:58:30 PM (9 years ago)
Author:
mmoll@…
Message:

science/slepc: use notes instead of ui_msg, clean up configure code, doc fix

File:
1 edited

Legend:

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

    r74478 r74610  
    55name            slepc
    66version         3.1-p5
     7revision        1
    78license         LGPL
    89categories      math science
     
    1415    eigenproblems, with real or complex arithmetic. It can also be used for \
    1516    computing a partial SVD of a large, sparse, rectangular matrix.
     17notes           "Add the following lines to your .bash_profile if you plan to\
     18                use the PETSC/SLEPC makefile rules in $prefix/lib/petsc/conf:\n\
     19                \texport PETSC_DIR=${prefix}/lib/petsc\n\
     20                \texport SLEPC_DIR=${prefix}/lib/petsc"
     21
    1622platforms       darwin
    1723homepage        http://www.grycap.upv.es/slepc
     
    2733
    2834extract.suffix  .tgz
    29 configure.env-append  PETSC_DIR=${prefix}/lib/petsc SLEPC_DIR=${worksrcpath}
    30 configure.cmd         ${worksrcpath}/config/configure.py
    3135configure.args        --prefix=${prefix}/lib/petsc
    3236build.env-append      PETSC_DIR=${prefix}/lib/petsc PETSC_ARCH=installed-petsc SLEPC_DIR=${worksrcpath}
     
    5458                    set fortrandir ${prefix}/lib/gcc95
    5559                } else {
    56                     return -code error "Please install a fortran compiler by installing one of the following ports: gcc42, gcc43, or g95."
     60                    return -code error "Please install a fortran compiler by installing one of the following ports: gcc42, gcc43, gcc44, or g95."
    5761                }
    5862            }
     
    6468}
    6569
    66 post-activate {
    67     ui_msg "********************************************************"
    68     ui_msg "* Add the following lines to your .bash_profile if you *"
    69     ui_msg "* plan to use the PETSC/SLEPC makefile rules in        *"
    70     ui_msg "* $prefix/lib/petsc/conf:                              *"
    71     ui_msg "*                                                      *"
    72     ui_msg "*   export PETSC_DIR=${prefix}/lib/petsc               *"
    73     ui_msg "*   export SLEPC_DIR=${prefix}/lib/petsc               *"
    74     ui_msg "*                                                      *"
    75     ui_msg "********************************************************"
    76 }
    77 
    7870livecheck.type  regex
    7971livecheck.url   http://www.grycap.upv.es/slepc/download/download.htm
Note: See TracChangeset for help on using the changeset viewer.