source: trunk/dports/math/qrupdate/Portfile @ 66061

Last change on this file since 66061 was 66061, checked in by takeshi@…, 10 years ago

qrupdate: updated to 1.1.1

  • 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:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 66061 2010-04-05 14:17:08Z takeshi@macports.org $
3
4PortSystem                      1.0
5
6name                qrupdate
7version             1.1.1
8categories          math
9maintainers         nomaintainer
10description         library for fast updates of QR and Cholesky decompositions
11long_description \
12    a Fortran library for fast updates of QR and Cholesky decompositions
13homepage            http://sourceforge.net/projects/${name}/
14platforms           darwin
15master_sites        sourceforge
16
17checksums           md5     7782c7ee6c234e56a72d6b86c1856fa0 \
18                    sha1    8fbaba202b0d4bf80852b2dc6c8d1d4b90b816d4 \
19                    rmd160  fd63306abe91adcd5d47e408d9cd4af3e1b32b0c
20
21use_configure       no
22build.target        lib
23destroot {
24    xinstall -m 644 ${worksrcpath}/lib${name}.a ${destroot}${prefix}/lib
25    system "ranlib ${destroot}${prefix}/lib/lib${name}.a"
26}
27
28variant g95 conflicts gcc43 gcc44 description {build with g95} {
29    depends_build-append    port:g95
30    post-patch {
31        reinplace "s|Makeconf|Makeconf.g95|" ${worksrcpath}/Makefile
32        reinplace "s|Makeconf|Makeconf.g95|" ${worksrcpath}/src/Makefile
33    }
34}
35
36variant gcc43 conflicts g95 gcc44 description {build with gcc43 fortran} {
37    depends_build-append    port:gcc43
38    post-patch {
39        reinplace "s|gfortran|gfortran-mp-4.3|" ${worksrcpath}/Makeconf
40    }
41}
42variant gcc44 conflicts g95 gcc43 description {build with gcc44 fortran} {
43    depends_build-append    port:gcc44
44    post-patch {
45        reinplace "s|gfortran|gfortran-mp-4.4|" ${worksrcpath}/Makeconf
46    }
47}
48
49if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset g95]} {
50    default_variants +gcc43
51}
52
Note: See TracBrowser for help on using the repository browser.