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$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name blitz-devel |
---|
7 | version 0.10-20110812 |
---|
8 | categories math devel |
---|
9 | platforms darwin |
---|
10 | maintainers gmail.com:andre.dos.anjos |
---|
11 | |
---|
12 | fetch.type hg |
---|
13 | hg.url http://blitz.hg.sourceforge.net:8000/hgroot/blitz/blitz |
---|
14 | hg.tag 4223fee30010 |
---|
15 | |
---|
16 | description a C++ class library for scientific computing |
---|
17 | |
---|
18 | long_description Blitz++ is a (LGPLv3+) licensed meta-template library for \ |
---|
19 | array manipulation in C++ with a speed comparable to \ |
---|
20 | Fortran implementations, while preserving an \ |
---|
21 | object-oriented interface. These results are being \ |
---|
22 | obtained not through better optimizing compilers, \ |
---|
23 | preprocessors, or language extensions, but through the \ |
---|
24 | use of template techniques. By using templates cleverly, \ |
---|
25 | optimizations such as loop fusion, unrolling, tiling, \ |
---|
26 | and algorithm specialization can be performed \ |
---|
27 | automatically at compile time. |
---|
28 | |
---|
29 | homepage http://blitz.sourceforge.net/ |
---|
30 | master_sites sourceforge:blitz |
---|
31 | |
---|
32 | platforms darwin |
---|
33 | |
---|
34 | configure.args --infodir=${prefix}/share/info \ |
---|
35 | --enable-64bit \ |
---|
36 | --enable-shared \ |
---|
37 | --enable-static \ |
---|
38 | --enable-optimize \ |
---|
39 | --disable-doxygen \ |
---|
40 | --disable-dot \ |
---|
41 | --disable-latex-docs |
---|
42 | |
---|
43 | configure.cppflags-append "-pthread" |
---|
44 | configure.cxxflags-append "-pthread" |
---|
45 | configure.fflags-append "-pthread" |
---|
46 | |
---|
47 | destroot.args docdir=${prefix}/share/doc/${name} |
---|
48 | |
---|
49 | variant docs description {Generate API documentation} { |
---|
50 | depends_lib-append port:doxygen \ |
---|
51 | port:graphviz |
---|
52 | configure.args-delete --disable-doxygen \ |
---|
53 | --disable-dot |
---|
54 | configure.args-append --enable-doxygen \ |
---|
55 | --enable-dot |
---|
56 | } |
---|
57 | |
---|
58 | variant gcc43 conflicts gcc44 description {Use the gcc43 compiler} { |
---|
59 | depends_lib-append port:gcc43 |
---|
60 | configure.compiler macports-gcc-4.3 |
---|
61 | } |
---|
62 | |
---|
63 | variant gcc44 conflicts gcc43 gcc45 gcc46 description {Use the gcc44 compiler} { |
---|
64 | depends_lib-append port:gcc44 |
---|
65 | configure.compiler macports-gcc-4.4 |
---|
66 | } |
---|
67 | |
---|
68 | variant gcc45 conflicts gcc43 gcc44 gcc46 description {Use the gcc44 compiler} { |
---|
69 | depends_lib-append port:gcc45 |
---|
70 | configure.compiler macports-gcc-4.5 |
---|
71 | } |
---|
72 | |
---|
73 | variant gcc46 conflicts gcc43 gcc44 gcc45 description {Use the gcc44 compiler} { |
---|
74 | depends_lib-append port:gcc46 |
---|
75 | configure.compiler macports-gcc-4.6 |
---|
76 | } |
---|
77 | |
---|
78 | pre-configure { |
---|
79 | use_autoreconf yes |
---|
80 | } |
---|
81 | |
---|
82 | pre-build { |
---|
83 | build.env-append CC=${configure.cc} CXX=${configure.cc} F77=${configure.f77} |
---|
84 | } |
---|
85 | |
---|
86 | pre-destroot { |
---|
87 | destroot.env-append CC=${configure.cc} CXX=${configure.cxx} F77=${configure.f77} |
---|
88 | } |
---|
89 | |
---|
90 | # does not build universal software |
---|
91 | universal_variant no |
---|
92 | |
---|
93 | # does not do any live check |
---|
94 | livecheck.type sourceforge |
---|