# $Id: Portfile 79654 2011-06-22 16:36:46Z adfernandes@macports.org $

PortSystem 1.0
PortGroup python27 1.0

set realname        MMTK
name                py27-${realname}
version             2.7.4
revision            1
categories          python science
maintainers         mmoll openmaintainer
description         The Molecular Modelling Toolkit is a library for molecular \
					simulations with a focus on biomolecular systems.
long_description    $description
homepage            http://sourcesup.cru.fr/projects/mmtk/
platforms           darwin
distname            ${realname}-${version}
master_sites        https://sourcesup.cru.fr/frs/download.php/3668/
checksums           md5     8e941ac5bb3930919697d9a781738d9c \
                    sha1    31a4b3d7469e82fc24c363d7cd1b20d425976294 \
                    rmd160  0259d428336f5717307468f8e4ebd57351bacc19
depends_build		port:py27-distribute
depends_lib         port:py27-scientific
build.env           CPPFLAGS="-I${prefix}/include -I${prefix}/include/python2.7"

livecheck.type      none

# The strings are multi-line, and hence fail (see r64144). Also, the dev
# version is really the "stable" branch, given the infrequency of updates.

# livecheck.type      regex
# livecheck.url       ${homepage}
# livecheck.regex     "Development Releases</strong>\\s*</td>\\s*<td>\\s*(\[0-9.\]+)"
