# -*- 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 PortSystem 1.0 PortGroup compilers 1.0 name qd version 2.3.23 categories devel math platforms darwin license LBNL-BSD 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 https://www.davidhbailey.com/dhbsoftware/ master_sites ${homepage} compilers.choose cxx fc compilers.setup -gfortran checksums rmd160 1c91693392f3597a9ccabe340be0fb1d0adcfa30 \ sha256 b3eaf41ce413ec08f348ee73e606bd3ff9203e411c377c3c0467f89acf69ee26 \ size 781558 if {[fortran_variant_isset]} { configure.args-append --enable-fortran } else { configure.args-append --disable-fortran } post-build { reinplace -E {s|-arch [a-z0-9_]+||g} \ ${worksrcpath}/qd-config } livecheck.type regex livecheck.url ${homepage} livecheck.regex {qd-(\d+(?:\.\d+)*).tar.gz}