# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 52774 2009-06-23 02:04:06Z blb@macports.org $

PortSystem 1.0

name                qd
version             2.3.7
categories          devel math
platforms           darwin
maintainers         gmail.com:brad.froehle

description     C++/Fortran-90 double-double and quad-double package
long_description \
    This package supports both a double-double datatype (approx. 32 decimal \
    digits) and a quad-double datatype (approx. 64 decimal digits). The \
    computational library is written in C++. Both C++ and Fortran-90 \
    high-level language interfaces are provided to permit one to use \
    convert an existing C++ or Fortran-90 program to use the library with \
    only minor changes to the source code. In most cases only a few type \
    statements and (for Fortran-90 programs) read/write statements need to \
    be changed. PSLQ and numerical quadrature programs are included.

homepage        http://crd.lbl.gov/~dhbailey/mpdist/
master_sites    ${homepage}

checksums \
        md5     8a66004a0eead55cf3cca87ddf3b69d8 \
        sha1    5b54c2ab176c1a0ca9602231c6c8b87f538fabb7 \
        rmd160  76ee63ef60ccd491b052ba4a5f310a05786a8040

livecheck.check     regex
livecheck.url       ${homepage}
livecheck.regex     {qd-(\d+(?:\.\d+)*).tar.gz}

