# -*- 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 84550 2011-09-27 21:05:11Z snc@macports.org $

PortSystem          1.0
                    
name                montage
version             3.3
revision            2
platforms           darwin
categories          science
maintainers         robitaille
description         Montage - Image Mosaic Software for Astronomers
long_description    Montage is a toolkit for assembling Flexible Image \
                    Transport System (FITS) images into custom mosaics

license             http://montage.ipac.caltech.edu/docs/download.html

homepage            http://montage.ipac.caltech.edu/
master_sites        http://montage.ipac.caltech.edu/download/
distname            Montage_v${version}
checksums           md5     875a88b4a2396a0eb5d0006a656e9c4a \
                    sha1    c8db5b9018c96e19b584d45758819e892b453d6d \
                    rmd160  5657d2948d997941b6c3037da87263db91b0e339

depends_lib-append  port:jpeg port:cfitsio

use_configure       no
destroot {
    eval file copy [glob ${worksrcpath}/bin/m*] ${destroot}${prefix}/bin/
}
