# -*- 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 117403 2014-02-25 16:03:24Z rowue@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-pyphant-osc
version             1.0b3
categories-append   science
maintainers         fmf.uni-freiburg.de:servicegruppe.wissinfo \
                    fmf.uni-freiburg.de:alexander.held rowue
description         organic solar cells toolbox for py-pyphant
long_description    This Toolbox offers various workers for the \
                    analysis of organic solar cells. It is joined \
                    work with Kristian O. Sylvester-Hvid from the \
                    Risø National Laboratory for Sustainable Energy. \
                    The main purpose at the moment is the generation \
                    of height maps for polymer based solar cells. \
                    The developed workers are however applicable in \
                    a wide range of problems.
homepage            http://www.fmf.uni-freiburg.de/service/servicegruppen/sg_wissinfo/projekte/Pyphant

platforms           darwin
# depends_lib         port:py26-pil

master_sites        sourceforge:pyphant
#master_sites        http://pyphant.sourceforge.net/nightly-builds/
distname            pyphant.osc-${version}
# use_bzip2           yes

checksums           sha256  ba573aaa5cb78c4f692798e2c6845f4a0b11b99d721905be56c47db1885d3e67 \
                    rmd160  1093b2a9b036648f76089f5d1b919186b7a2dd2c

use_configure       no

python.versions     26 27

if {${name} ne ${subport}} {
    depends_build       port:py${python.version}-setuptools
    depends_lib         port:py${python.version}-pyphant \
                        port:py${python.version}-numpy \
                        port:py${python.version}-scipy \
                        port:py${python.version}-matplotlib
}
