# -*- 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
# $Id: Portfile 89663 2012-02-06 05:09:13Z macsforever2000@macports.org $

PortSystem              1.0
PortGroup               python 1.0

name                    py-sfepy
version                 2011.1
categories-append       science
platforms               darwin
license                 BSD
maintainers             macsforever2000 openmaintainer

description             Simple finite elements in Python
long_description        ${description}.

homepage                http://code.google.com/p/sfepy/
master_sites            googlecode:sfepy
distname                sfepy-release-${version}
worksrcdir              ${distname}
extract.suffix          .tgz

checksums               md5     f00f3a96363ae5c48ce006874fede995 \
                        sha1    918b58dcfcb6854e5edd331cc9254b3d9d7cf725 \
                        rmd160  a3194c891a297a09c0af62fe95a6d1b551257497

python.versions         25 26 27
python.default_version  25

if {$subport != $name} {
    depends_lib-append  port:gmsh \
                        port:py${python.version}-ipython \
                        port:py${python.version}-matplotlib \
                        port:py${python.version}-mayavi \
                        port:py${python.version}-numpy \
                        port:py${python.version}-parsing \
                        port:py${python.version}-pexpect \
                        port:py${python.version}-pysparse \
                        port:py${python.version}-scikits-umfpack \
                        port:py${python.version}-scipy \
                        port:py${python.version}-sphinx \
                        port:py${python.version}-sympy \
                        port:py${python.version}-tables \
                        port:SuiteSparse \
                        port:swig-python
}

