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$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python 1.0 |
---|
6 | PortGroup github 1.0 |
---|
7 | PortGroup active_variants 1.1 |
---|
8 | |
---|
9 | github.setup theochem horton 2.0.0 |
---|
10 | name horton |
---|
11 | version 2.0.0 |
---|
12 | platforms darwin |
---|
13 | license GPL-3+ |
---|
14 | categories-append science |
---|
15 | maintainers mcmaster.ca:yangx59 |
---|
16 | |
---|
17 | description HORTON is a quantum chemistry program written primarily in Python language. |
---|
18 | long_description ${description} It can serve as a stand-alone program for electronic structure calculation (HF, DFT,\Geminals, PT) |
---|
19 | |
---|
20 | |
---|
21 | homepage http://theochem.github.io/horton/ |
---|
22 | checksums rmd160 bb2536bb1af8f5335e523580b44bd1b5d95c0763 \ |
---|
23 | sha256 7217637ebb36412a27fc09f08aba6e5859358fc670f440b8c3f959d45920c243 |
---|
24 | |
---|
25 | python.default_version 27 |
---|
26 | |
---|
27 | depends_lib port:atlas \ |
---|
28 | port:libint \ |
---|
29 | port:py${python.default_version}-numpy \ |
---|
30 | port:py${python.default_version}-h5py \ |
---|
31 | port:py${python.default_version}-scipy \ |
---|
32 | port:py${python.default_version}-cython \ |
---|
33 | port:py${python.default_version}-nose \ |
---|
34 | port:py${python.default_version}-sympy \ |
---|
35 | port:py${python.default_version}-sphinx \ |
---|
36 | port:py${python.default_version}-matplotlib \ |
---|
37 | port:libxc |
---|
38 | |
---|
39 | pre-build { |
---|
40 | system -W ${worksrcpath}/data/refatoms "make all" |
---|
41 | copy ${worksrcpath}/data/setup_cfgs/setup.Darwin-macport-x86_64.cfg ${worksrcpath}/setup.cfg |
---|
42 | reinplace "s|/opt/local|${prefix}|g" ${worksrcpath}/setup.cfg |
---|
43 | } |
---|
44 | |
---|
45 | post-destroot { |
---|
46 | reinplace "s|${destroot}${prefix}|${prefix}|" ${destroot}${python.pkgd}/horton/data_dir.txt |
---|
47 | } |
---|
48 | |
---|
49 | pre-activate { |
---|
50 | if {![active_variants py27-numpy atlas]} { |
---|
51 | 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} |
---|
52 | } |
---|
53 | } |
---|
54 | |
---|
55 | livecheck.type none |
---|