source: trunk/dports/math/blitz/Portfile @ 86632

Last change on this file since 86632 was 86632, checked in by ryandesign@…, 9 years ago

Rewrite master_sites to avoid redirects

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 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 86632 2011-10-30 12:24:57Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                blitz
7version             0.9
8revision            1
9categories          math devel
10platforms           darwin
11maintainers         nomaintainer
12
13description         a C++ class library for scientific computing
14
15long_description    Blitz++ is ${description} which provides performance on \
16                    par with Fortran 77/90. It uses template techniques to \
17                    achieve high performance.
18
19homepage            http://www.oonumerics.org/blitz/
20master_sites        sourceforge:project/blitz/blitz/Blitz%2B%2B%20${version}
21
22checksums           md5     031df2816c73e2d3bd6d667bbac19eca
23
24patchfiles          patch-fix-gcc43plus-header-deps.diff
25
26configure.args      --infodir=${prefix}/share/info \
27                    --enable-shared \
28                    --disable-doxygen \
29                    --disable-dot \
30                    --disable-fortran \
31                    --disable-latex-docs
32
33destroot.args       docdir=${prefix}/share/doc/${name}
34
35variant gcc43 conflicts gcc44 gcc45 description {Use the gcc43 compiler} {
36    depends_lib-append  port:gcc43
37    configure.compiler  macports-gcc-4.3
38}
39variant gcc44 conflicts gcc43 gcc45 description {Use the gcc44 compiler} {
40    depends_lib-append  port:gcc44
41    configure.compiler  macports-gcc-4.4
42}
43variant gcc45 conflicts gcc43 gcc44 description {Use the gcc45 compiler} {
44    depends_lib-append  port:gcc45
45    configure.compiler  macports-gcc-4.5
46}
47
48pre-build {
49    build.env-append    CC="${configure.cc}" \
50                        CXX="${configure.cxx}" \
51                        F77="${configure.f77}"
52}
53pre-destroot {
54    destroot.env-append CC="${configure.cc}" \
55                        CXX="${configure.cxx}" \
56                        F77="${configure.f77}"
57}
58
59# does not build universal software
60universal_variant   no
61
62livecheck.distname  ${name} Blitz++
Note: See TracBrowser for help on using the repository browser.