source: trunk/dports/science/eo/Portfile @ 35627

Last change on this file since 35627 was 35627, checked in by jochen@…, 11 years ago

provide patches for gcc43

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.6 KB
Line 
1# -*- coding: utf-8; mode: tcl; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 4 truncate-lines: t -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
2# $Id: Portfile 35627 2008-03-31 19:32:41Z jochen@macports.org $
3
4PortSystem              1.0
5
6name                    eo
7categories              science
8version                 1.0.1
9revision                1
10categories              science math
11maintainers             openmaintainer jochen
12description             an evolutionary computation library
13long_description        Evolving Objects (EO) is a templates-based, \
14                        ANSI-C++ compliant evolutionary computation \
15                        library. It contains classes for almost any \
16                        kind of evolutionary computation you might \
17                        come up to - at least for the ones we could \
18                        think of. It is component-based, so that if \
19                        you don't find the class you need in it, it is \
20                        very easy to subclass existing abstract or \
21                        concrete classes.
22
23homepage                http://eodev.sourceforge.net/
24master_sites            sourceforge:eodev
25use_bzip2               yes
26checksums               md5 79ac9bd4a0f1ad857845c8fd65418db1
27
28default_variants        +gnuplot
29
30patchfiles              patch-eoBit.h.diff \
31                        patch-eoFileSnapshot.h.diff \
32                        patch-eoGnuplot.cpp.diff \
33                        patch-make_checkpoint.h.diff \
34                        patch-make_checkpoint_assembled.h.diff \
35                        patch-make_checkpoint_FDC.h.diff \
36                        patch-make_checkpoint_pareto.h.diff \
37                        patch-make_help.cpp.diff
38
39configure.args-append   --disable-applications --disable-gnuplot --disable-tutorial
40configure.args-delete   --enable-applications --enable-gnuplot --enable-tutorial
41test.run                yes
42test.target             check
43
44variant applications {
45        configure.args-append   --enable-applications
46        configure.args-delete   --disable-applications
47}
48
49variant gnuplot {
50        depends_lib             port:gnuplot
51        configure.args-append   --enable-gnuplot
52        configure.args-delete   --disable-gnuplot
53}
54
55variant tutorial {
56        configure.args-append   --enable-tutorial
57        configure.args-delete   --disable-tutorial
58}
59
60variant gcc43 description "Use GCC 4.3 for compilation of EO - optimized for host machine" {
61    depends_build-append        port:gcc43
62    configure.cc                gcc-mp-4.3
63    configure.cxx               g++-mp-4.3
64    configure.cflags-append     "-ftree-vectorize -march=native -O3"
65    configure.cxxflags-append   "-ftree-vectorize -march=native -O3"
66}
Note: See TracBrowser for help on using the repository browser.