Ticket #53821: change_HORTON_maintainer.diff

File change_HORTON_maintainer.diff, 2.3 KB (added by tczorro (Derrick), 8 years ago)
  • HORTON/Portfile

    old new  
    11# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
    2 # $Id: Portfile 145626 2016-02-11 15:11:38Z khindenburg@macports.org $
     2# $Id$
    33
    44PortSystem          1.0
    55PortGroup           python 1.0
    66PortGroup           github 1.0
    77PortGroup           active_variants 1.1
    88
    9 github.setup        theochem horton 2.0.0
    10 revision            1
     9github.setup        theochem horton ea86b470ed0d6959ad404ebc2c69d20157834d4d
     10version             2.0.1
     11name                HORTON
    1112platforms           darwin
    1213license             GPL-3+
    1314categories          science python
     
    1920
    2021
    2122homepage            http://theochem.github.io/horton/
    22 checksums           rmd160  bb2536bb1af8f5335e523580b44bd1b5d95c0763 \
    23                     sha256  7217637ebb36412a27fc09f08aba6e5859358fc670f440b8c3f959d45920c243
     23checksums           rmd160  68cf1658bf7de122923fc3949fb861a6896ab8be \
     24                    sha256  e6410d00a012ab6bbeb18bd04d111e26cdcfc86171c092f50d0ad430e372c907
    2425
    2526python.default_version     27
    2627
    27 depends_lib         port:atlas \
     28depends_lib         port:openblas \
    2829                    port:libint \
    2930                    port:py${python.default_version}-numpy \
    3031                    port:py${python.default_version}-h5py \
     
    4142        system -W ${worksrcpath}/data/refatoms "make all"
    4243        copy ${worksrcpath}/data/setup_cfgs/setup.Darwin-macport-x86_64.cfg ${worksrcpath}/setup.cfg
    4344        reinplace "s|/opt/local|${prefix}|g" ${worksrcpath}/setup.cfg
     45        reinplace "s|atlas|openblas|g" ${worksrcpath}/setup.cfg
     46        reinplace "s|cblas|cblas_openblas|g" ${worksrcpath}/horton/gbasis/cholesky.h
    4447}
    4548
    4649post-destroot {
     
    4851}
    4952
    5053pre-activate {
    51     if {![active_variants py27-numpy atlas]} {
    52         notes {In order to have CHOLESKY work properly, please install numpy +atlas manually with the following command: sudo port -n upgrade --enforce-variants py27-numpy +atlas}
     54    if {![active_variants py27-numpy openblas]} {
     55        notes {In order to have CHOLESKY work properly, please install numpy +openblas manually with the following command: sudo port -n upgrade --enforce-variants py27-numpy +openblas}
    5356    }
    5457}