Ticket #47756: Portfile

File Portfile, 1.9 KB (added by tczorro (Derrick), 9 years ago)

With compiler

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