# -*- 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 97638 2012-09-10 14:43:55Z ryandesign@macports.org $

PortSystem          1.0

name                QuantLib
version             1.2.1
categories          finance
platforms           darwin
maintainers         ryandesign openmaintainer
license             BSD

description         software framework for quantitative finance

long_description    The QuantLib project is aimed at providing a \
                    comprehensive software framework for quantitative \
                    finance. QuantLib is a library for modeling, trading, \
                    and risk management in real-life.

homepage            http://quantlib.org/
master_sites        sourceforge:project/quantlib/QuantLib/${version}

checksums           rmd160  f3a5cc82fdfdb60acf47bc514cf12efc0e7df2d5 \
                    sha256  aa0fe350946b4867bb2847fe62dc0c7f812381d5a7173ac0b9ed8b2e910ed1a5

depends_lib         port:boost

configure.args      --with-boost-include=${prefix}/include \
                    --with-boost-lib=${prefix}/lib

livecheck.regex     /${name}-(\[0-9.\]+)${extract.suffix}
