source: trunk/dports/devel/qd/Portfile

Last change on this file was 140214, checked in by takeshi@…, 23 months ago

qd: update to 2.3.17, closing #48751

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- 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
2# $Id: Portfile 140214 2015-09-12 13:06:09Z ryandesign@macports.org $
3
4PortSystem 1.0
5PortGroup           compilers 1.0
6
7name                qd
8version             2.3.17
9categories          devel math
10platforms           darwin
11license             LBNL-BSD
12maintainers         gmail.com:brad.froehle
13
14description     C++/Fortran-90 double-double and quad-double package
15long_description \
16    This package supports both a double-double datatype (approx. 32 decimal \
17    digits) and a quad-double datatype (approx. 64 decimal digits). The \
18    computational library is written in C++. Both C++ and Fortran-90 \
19    high-level language interfaces are provided to permit one to use \
20    convert an existing C++ or Fortran-90 program to use the library with \
21    only minor changes to the source code. In most cases only a few type \
22    statements and (for Fortran-90 programs) read/write statements need to \
23    be changed. PSLQ and numerical quadrature programs are included.
24
25homepage        http://crd.lbl.gov/~dhbailey/mpdist/
26master_sites    ${homepage}
27
28compilers.choose    cxx fc
29compilers.setup     -dragonegg -gfortran
30
31checksums \
32        md5     5e17dbeaff328ce312ccadccdb669592 \
33        sha1    e49295182c7424c644cc618cd205cb27b8909f53 \
34        rmd160  aff0765dd4323ff3c7096ac65b4d6197c8b3372d
35
36if {[fortran_variant_isset]} {
37    configure.args-append   --enable-fortran
38} else {
39    configure.args-append   --disable-fortran
40}
41
42post-build {
43    reinplace -E {s|-arch [a-z0-9_]+||g} \
44        ${worksrcpath}/qd-config
45}
46
47livecheck.type      regex
48livecheck.url       ${homepage}
49livecheck.regex     {qd-(\d+(?:\.\d+)*).tar.gz}
50
Note: See TracBrowser for help on using the repository browser.