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

name                galsim
version             1.4.0
categories          science
platforms           darwin
license             GPL
maintainers         andrew.cmu.edu:rmandelb
description         Galaxy simulation tools
long_description    Galaxy simulation tools


homepage            https://github.com/GalSim-developers/GalSim/

fetch.type          git
git.url             https://github.com/GalSim-developers/GalSim.git
git.branch          v1.4.0

depends_lib         port:scons \
                    port:fftw-3 \
                    port:tmv \
                    port:boost \
                    port:cfitsio \
                    port:py27-future \
                    port:py27-numpy \
                    port:py27-astropy

worksrcdir          GalSim-developers-GalSim-v1.4.0

configure {}
build.cmd           scons
build.target        ""
build.args          TMV_LINK=${prefix}/share/tmv/tmv-link
destroot.cmd        scons
destroot.destdir    PREFIX=${destroot}${prefix}

