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

name                marx
version             5.5.1
categories          science
platforms           darwin
maintainers         {gmx.de:moritz.guenther @hamogu} openmaintainer
description         Simulate the Chandra X-ray observatory
long_description    marx is a suite of programs created and maintained by the \
                    MIT/CXC/HETG group group and is designed to enable the \
                    user to simulate the on-orbit performance of the Chandra \
                    X-ray Observatory. marx provides a detailed ray-trace \
                    simulation of how Chandra responds to a variety of \
                    astrophysical sources and can generate standard FITS \
                    event files and images as output. It contains detailed \
                    models for Chandra’s High Resolution Mirror Assembly \
                    (HRMA), the HETG and LETG gratings, and all the focal \
                    plane detectors.
license             GPL-2
homepage            http://space.mit.edu/cxc/marx/
master_sites        ftp://space.mit.edu/pub/cxc/marx/v5.5

checksums           rmd160  f4d11efe1271449c95c6cf73a26d746f5d255edb \
                    sha256  226a42fd1c0d781bac2a0396bc81170b3045b9dcbf2d4ac1a51f8f228885ce83 \
                    size    18165109

distname            marx-dist-${version}
worksrcdir          marx-${version}

use_parallel_build  no

livecheck.url       ${homepage}
livecheck.type      regex
livecheck.regex     {MARX\s(\d+(?:\.\d+)*)\sdocumentation}
