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 1 1 # -*- 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$ 3 3 4 4 PortSystem 1.0 5 5 PortGroup python 1.0 6 6 PortGroup github 1.0 7 7 PortGroup active_variants 1.1 8 8 9 github.setup theochem horton 2.0.0 10 revision 1 9 github.setup theochem horton ea86b470ed0d6959ad404ebc2c69d20157834d4d 10 version 2.0.1 11 name HORTON 11 12 platforms darwin 12 13 license GPL-3+ 13 14 categories science python … … 19 20 20 21 21 22 homepage http://theochem.github.io/horton/ 22 checksums rmd160 bb2536bb1af8f5335e523580b44bd1b5d95c0763\23 sha256 7217637ebb36412a27fc09f08aba6e5859358fc670f440b8c3f959d45920c24323 checksums rmd160 68cf1658bf7de122923fc3949fb861a6896ab8be \ 24 sha256 e6410d00a012ab6bbeb18bd04d111e26cdcfc86171c092f50d0ad430e372c907 24 25 25 26 python.default_version 27 26 27 27 depends_lib port: atlas \28 depends_lib port:openblas \ 28 29 port:libint \ 29 30 port:py${python.default_version}-numpy \ 30 31 port:py${python.default_version}-h5py \ … … 41 42 system -W ${worksrcpath}/data/refatoms "make all" 42 43 copy ${worksrcpath}/data/setup_cfgs/setup.Darwin-macport-x86_64.cfg ${worksrcpath}/setup.cfg 43 44 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 44 47 } 45 48 46 49 post-destroot { … … 48 51 } 49 52 50 53 pre-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} 53 56 } 54 57 }