source: trunk/dports/science/eo/Portfile

Last change on this file was 145130, checked in by dstrubbe@…, 18 months ago

eo: Update to 1.3.1. Now uses cmake, has somewhat different archive and directory names. Most patches not required, can now use clang with a patch. gnuplot is now required, no options to install applications.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.3 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 145130 2016-01-26 15:00:10Z ryandesign@macports.org $
3
4PortSystem              1.0
5PortGroup               cmake 1.0
6PortGroup               compilers 1.0
7
8name                    eo
9categories              science
10license                 LGPL-2.1+
11version                 1.3.1
12revision                0
13categories              science math
14platforms               darwin
15maintainers             openmaintainer jochen
16description             an evolutionary computation library
17long_description        Evolving Objects (EO) is a templates-based, \
18                        ANSI-C++ compliant evolutionary computation \
19                        library. It contains classes for almost any \
20                        kind of evolutionary computation you might \
21                        come up with -- at least for the ones we could \
22                        think of. It is component-based, so that if \
23                        you don't find the class you need in it, it is \
24                        very easy to subclass existing abstract or \
25                        concrete classes.
26
27homepage                http://eodev.sourceforge.net/
28master_sites            sourceforge:eodev
29distname                EO-${version}
30use_zip                 yes
31worksrcdir              eo
32checksums               rmd160  d0882988b4e6debbe059bfd4183ced54bf0f2d1d \
33                        sha256  230886e0c857a8497b2e1c892ff2bfa1d9d4115199d9267b3bdb89ff0f846850
34
35depends_lib             port:gnuplot
36#TODO: Add support for mpi, openmp, boost
37
38patchfiles              patch-src-utils-eoGnuplot1DSnapshot.h.diff \
39                        patch-rename-string.h.diff
40
41# see https://github.com/torognes/vsearch/issues/91
42post-patch {
43    file rename ${worksrcpath}/src/serial/String.h ${worksrcpath}/src/serial/serial_String.h
44}
45
46configure.args-append   -DENABLE_CMAKE_TESTING:BOOL=ON
47
48test.run                yes
49
50compilers.choose        cc cxx
51compilers.setup         -gcc44 -gcc45 -gcc46 -dragonegg
52
53#gcc44 gcc45 gcc46 dragonegg: cc1: error: unrecognized command line option "-arch"
54
55# gcc, clang:  fails test 40 - t-eoIQRStat (Failed)
56
57# caused by gcc use of -ftree-vectorize -march=native -O3
58# if /opt/local/bin/g++-mp-4.4 -DHAVE_CONFIG_H -I. -I. -I../..   -I/opt/local/include -I../../src -pipe -Os -fpermissive -ftree-vectorize -march=native -O3 -MT make_genotype_real.o -MD -MP -MF ".deps/make_genotype_real.Tpo" -c -o make_genotype_real.o make_genotype_real.cpp; \
59#         then mv -f ".deps/make_genotype_real.Tpo" ".deps/make_genotype_real.Po"; else rm -f ".deps/make_genotype_real.Tpo"; exit 1; fi
60# {standard input}:807:no such instruction: `vmovsd (%r9), %xmm1'
61# {standard input}:808:no such instruction: `vmovd %rbx, %xmm0'
62# {standard input}:809:no such instruction: `vucomisd %xmm0, %xmm1'
63# {standard input}:810:no such instruction: `vcmpnltsd %xmm1, %xmm0,%xmm2'
64# {standard input}:813:no such instruction: `vandpd %xmm2, %xmm0,%xmm0'
65# {standard input}:814:no such instruction: `vandnpd %xmm1, %xmm2,%xmm1'
66
67# There is no longer an option (as there was in 1.0.1) to install applications
68#variant applications {
69#        license-append  GPL-2+
70#        configure.args-append   --enable-applications
71#        configure.args-delete   --disable-applications
72#}
73#
74
75livecheck.distname   eo
Note: See TracBrowser for help on using the repository browser.