# -*- 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$
PortSystem      1.0

set instrument  spher
name            esopipe-${instrument}
conflicts       esopipe-${instrument}-devel
version         0.58.1
revision        1
categories      science
license         GPL-2+
platforms       darwin
maintainers     eso.org:usd-help
homepage        http://www.eso.org/sci/software/pipelines/
description     ESO SPHERE instrument pipeline (text terminal execution)
long_description ESO data reduction pipeline for the SPHERE instrument. \
                 See www.eso.org/pipelines for a description of the ESO pipeline systems. \
                 This meta-package contains all necessary dependencies to run \
                 the pipeline on the terminal with esorex.
master_sites
distfiles

depends_run     port:esopipe-${instrument}-datastatic \
                port:esopipe-${instrument}-recipes \
                port:esorex


use_configure   no
build           { }
destroot        {
                xinstall -m 755 -d ${destroot}${prefix}/share/doc/esopipes-${instrument}
                system "echo ${long_description} > ${destroot}${prefix}/share/doc/esopipes-${instrument}/README.txt"
}
