# -*- 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 79533 2011-06-16 17:17:20Z robitaille@macports.org $

PortSystem 1.0
PortGroup python25 1.0

name                py25-aplpy
version             0.9.6
maintainers         robitaille stsci.edu:mperrin

categories-append   science
description         The Astronomical Plotting Library in Python
long_description    APLpy (the Astronomical Plotting Library in Python) is a \
                    Python module aimed at producing publication-quality plots \
                    of astronomical imaging data in FITS format. The module \
                    uses Matplotlib, a powerful and interactive plotting \
                    package. It is capable of creating output files in several \
                    graphical formats, including EPS, PDF, PS, PNG, and SVG.

platforms           darwin
license             MIT

homepage            http://aplpy.github.com/
master_sites        http://cloud.github.com/downloads/aplpy/aplpy/
distname            APLpy-${version}
checksums           md5  bfd8e61ea1139dcc3d8bdf94eee03df3 \
                    sha1  c5f8b182b63fc4009935b1d5ee7defcea6d0c1b5 \
                    rmd160  bf94fd7e35f8a0b10780a9f357f1a5dde2576f7e

depends_run-append  port:py25-numpy \
                    port:py25-pyfits \
                    port:py25-pywcs \
                    port:py25-matplotlib \

variant rgb description {Include support for RGB images} {
    depends_run-append  port:py25-pil
}

variant avm description {Include support for AVM meta-data} {
    depends_run-append  port:py25-pyavm
}

variant ds9 description {Include support for DS9 region files} {
    depends_run-append  port:py25-pyregion
}

variant montage description {Include support for Montage reprojection} {
    depends_run-append  port:py25-montage
}

default_variants    +rgb +avm +ds9
