# -*- 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

PortSystem          1.0
PortGroup           cmake 1.0
PortGroup           github 1.0

name                ALPSMaxent

github.setup        CQMP Maxent 1.0 v
revision            5
categories          science
platforms           darwin
license             GPL-2
maintainers         {umich.edu:egull @egull}

description         A package for the calculation of spectral functions using \
                    the Maximum Entropy method
long_description    This package provides functionality for computing the \
                    analytical continuation of many-body response functions \
                    from the imaginary time axis to the real frequency axis. \
                    This code is part of the ALPS applications and dependent \
                    on the ALPSCore libraries.

homepage            http://alpscore.org

checksums           rmd160  54601a65eb8e7b778a804a7cc7426cf596d3d8f9 \
                    sha256  6f459858e4dae5a0bf1432a34ee28157bf9870244c72e1666243d89c6c108190

# From https://trac.macports.org/ticket/51347#comment:4
# gcc-4.2 causes problems with one of the dependencies (ALPSCore, some bug with
# templates in gcc-4.2) and is already blacklisted in ALPSCore.
compiler.blacklist  gcc-4.2

depends_lib         port:boost \
                    port:hdf5 \
                    port:ALPSCore \
                    port:eigen3 \
                    port:gsl

cmake.out_of_source yes