source: trunk/dports/math/blitz-devel/Portfile

Last change on this file was 144255, checked in by dstrubbe@…, 19 months ago

blitz, blitz-devel: Use compilers portgroup for Fortran variants. Add conflict between them as they try to install common files.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 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 144255 2016-01-05 17:32:49Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           compilers 1.0
6
7name                blitz-devel
8version             0.10-20151126
9categories          math devel
10platforms           darwin
11license             {LGPL-3+ BSD Artistic-2}
12maintainers         nomaintainer
13conflicts           blitz
14
15fetch.type          hg
16hg.url              http://blitz.hg.sourceforge.net:8000/hgroot/blitz/blitz
17hg.tag              8749c555825c
18
19description         a C++ class library for scientific computing
20
21long_description    Blitz++ is a (LGPLv3+) licensed meta-template library for \
22                    array manipulation in C++ with a speed comparable to \
23                    Fortran implementations, while preserving an \
24                    object-oriented interface. These results are being \
25                    obtained not through better optimizing compilers, \
26                    preprocessors, or language extensions, but through the \
27                    use of template techniques. By using templates cleverly, \
28                    optimizations such as loop fusion, unrolling, tiling, \
29                    and algorithm specialization can be performed \
30                    automatically at compile time.
31
32homepage            http://blitz.sourceforge.net/
33
34platforms           darwin
35
36use_autoreconf yes
37
38configure.args      --infodir=${prefix}/share/info \
39                    --enable-shared \
40                    --enable-static \
41                    --enable-optimize \
42                    --disable-doxygen \
43                    --disable-dot \
44                    --disable-latex-docs
45
46destroot.args       docdir=${prefix}/share/doc/${name}
47
48variant docs description {Generate API documentation} {
49  depends_lib-append     port:doxygen \
50                         path:bin/dot:graphviz
51  configure.args-delete --disable-doxygen \
52                        --disable-dot
53  configure.args-append --enable-doxygen \
54                        --enable-dot
55}
56
57compilers.choose    fc f77 f90
58compilers.setup     require_fortran
59
60# does not do any live check
61livecheck.type sourceforge
Note: See TracBrowser for help on using the repository browser.