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

set uname           cubeview
github.setup        paumard yorick-${uname} 2.2 cv_
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
categories          science yorick
platforms           any
maintainers         {thibaut @paumard} openmaintainer
supported_archs     noarch
license             GPL-2+
description         3D FITS data viewer specialized in spectro-imaging
long_description    Cubeview is a viewer for 3D data store in FITS files, a \
                    file format extensively used among astronomers. It is \
                    specialized in displaying spectro-imaging data but can be \
                    used to do basic visualization on any FITS file containing \
                    a 3D array. Cubeview features a stand-alone graphical user \
                    interface which adheres to the GTK+ look-and-feel. Being \
                    written in Yorick, it is inherently scriptable. A \
                    system of hooks allows custom actions to be repeated \
                    automatically when certain events occur.
homepage            https://github.com/paumard/yorick-cubeview

checksums           rmd160  1e80cd63a605443703560b0dae881c5fca04276c \
                    sha256  a376aa8dd7d1dcb197f5b4578536408ce32e8b03cb2d2b3f8348c3bee0775733

depends_lib         path:bin/yorick:yorick

depends_run         port:yorick-yutils \
                    port:yorick-gy

destroot.pre_args-append  BIN_DIR=${prefix}/bin MAN_DIR=${prefix}/share/man
