# -*- 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                crystfel
version             0.6.1
revision            18
categories          science
platforms           darwin
license             GPL-3
maintainers         nomaintainer

description         A suite of programs for processing serial crystallography data

long_description    CrystFEL is a suite of programs for processing diffraction \
                    data acquired "serially" in a "snapshot" manner, such as \
                    when using the technique of Serial Femtosecond \
                    Crystallography (SFX) with a free-electron laser source.

homepage            http://www.desy.de/~twhite/crystfel/
master_sites        ${homepage}

checksums           rmd160  df8dcdabb4fd8deb76ab4e6e96fd663702bfe0d8 \
                    sha256  31d0aa28c6c7ee550498dd9c3e736a0ac7c8c0c7529bf7bb7ca1c27ba7e9e105

depends_build       port:pkgconfig

depends_lib         port:gsl \
                    port:fftw-3 \
                    path:lib/pkgconfig/gdk-pixbuf-2.0.pc:gdk-pixbuf2 \
                    path:lib/pkgconfig/gtk+-2.0.pc:gtk2 \
                    port:hdf5 \
                    path:lib/pkgconfig/pango.pc:pango

configure.args      --disable-silent-rules

livecheck.type      regex
livecheck.url       ${homepage}download.html
livecheck.regex     ${name}-(\[0-9a-z.\]+)${extract.suffix}
