# -*- 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 106905 2013-06-11 05:20:15Z thibaut@macports.org $

PortSystem          1.0
PortGroup           github 1.0

set uname           cubeview
github.setup        paumard yorick-${uname} 2.1 cv_
revision            1
categories          science yorick
platforms           darwin
maintainers         thibaut 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            http://github.com/paumard/yorick-cubeview

checksums           rmd160  47cfb06d364a9d79adb30da12cc150194ba868e6 \
                    sha256  77eff8316b1d6af85fa68fa8852f413f6e706ee4c8f54a7ff15d83bcb7cd5517

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
