Ticket #47866: Portfile

File Portfile, 2.0 KB (added by tczorro (Derrick), 9 years ago)
Line 
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
4PortSystem          1.0
5PortGroup           python 1.0
6PortGroup           compilers 1.0
7PortGroup           github 1.0
8
9name                py-molmod
10version             1.1
11platforms           darwin
12license             GPL-3+
13categories-append   chemistry
14maintainers         mcmaster.ca:yangx59
15
16description         Python library with many compoments that are useful to write molecular modeling programs
17
18long_description    MolMod is a python package that is used by Zeobuilder and Tracks. Zeobuilder is \
19                    a GUI toolkit for the interactive construction of complex molecular models. \
20                    Tracks is a collection of molecular dynamics and monte carlo analysis scripts. \
21                    MolMod groups a series of modules that are usefull for analyzing molecular modeling \
22                    simulations, and for setting op complex input files. MolMod can also be used as a \
23                    library for batch work, independent of Zeobuilder or Tracks.
24
25homepage            http://molmod.github.io/molmod/index.html
26
27python.versions     27 34
28python.default_version     27
29
30github.setup        molmod molmod 1.1 v
31compilers.setup     -gcc45 -gcc46 -gcc47 -gcc48 -gcc49
32
33checksums           rmd160   48b3ca0cca37fbf61720e5642e539c180d087dc3 \
34                    sha256   a9612f0fecf6e69b251034275d1261376f820658dc86f1d5aaf981b24774572a   
35
36if {${name} ne ${subport}} {
37    depends_lib-append     port:py${python.version}-numpy \
38                           port:py${python.version}-nose \
39                           port:py${python.version}-sphinx \
40                           port:py${python.version}-matplotlib
41
42    post-destroot {
43        reinplace "s|${destroot}${prefix}|${prefix}|" ${destroot}${python.pkgd}/molmod/datadir.txt
44    }
45
46    livecheck.type  none
47} else {
48        livecheck.type  regex
49        livecheck.regex {molmod-([0-9\.]+)}
50}