1 | # $Id: Portfile,v 1.10 2005/05/25 18:45:40 gwright Exp $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name octave |
---|
5 | version 2.1.71 |
---|
6 | revision 1 |
---|
7 | categories math science |
---|
8 | maintainers persquare@users.sourceforge.net |
---|
9 | platforms darwin |
---|
10 | description a Matlab-like environment for numerical analysis |
---|
11 | long_description \ |
---|
12 | Octave provides a convenient command line interface \ |
---|
13 | for solving linear and nonlinear problems numerically, \ |
---|
14 | using a language that is mostly compatible with Matlab. \ |
---|
15 | It is easily extensible and customizable via \ |
---|
16 | user-defined functions or using dynamically loaded \ |
---|
17 | modules written in e.g. C++, C or Fortran. |
---|
18 | |
---|
19 | homepage http://www.octave.org |
---|
20 | master_sites ftp://ftp.octave.org/pub/octave/bleeding-edge/ |
---|
21 | |
---|
22 | checksums md5 811df48dfc472013e2d858cc5d1cad00 |
---|
23 | |
---|
24 | patchfiles patch-configure |
---|
25 | |
---|
26 | depends_build bin:texinfo:texinfo \ |
---|
27 | bin:tex:teTeX \ |
---|
28 | port:gcc34 |
---|
29 | |
---|
30 | depends_lib lib:libreadline.5:readline \ |
---|
31 | port:hdf5 \ |
---|
32 | port:fftw-3 |
---|
33 | |
---|
34 | depends_run bin:gnuplot:gnuplot \ |
---|
35 | port:gcc34 |
---|
36 | |
---|
37 | configure.env F77="g77-dp-3.4" \ |
---|
38 | FLIBS="-lg2c" \ |
---|
39 | CC="gcc-dp-3.4 -v" \ |
---|
40 | CXX="g++-dp-3.4 -v" \ |
---|
41 | LDFLAGS="-L${prefix}/lib" \ |
---|
42 | CPPFLAGS="-I${prefix}/include" |
---|
43 | |
---|
44 | configure.args --enable-shared \ |
---|
45 | --enable-dl \ |
---|
46 | --disable-static \ |
---|
47 | --with-hdf5 \ |
---|
48 | --with-fftw \ |
---|
49 | --without-mpi \ |
---|
50 | --infodir=${prefix}/share/info \ |
---|
51 | --mandir=${prefix}/share/man |
---|
52 | |
---|
53 | destroot.destdir prefix=${destroot}${prefix} |
---|
54 | |
---|
55 | default_variants +test |
---|
56 | variant test { depends_build-append bin:runtest:dejagnu |
---|
57 | test.run yes |
---|
58 | test.target check |
---|
59 | } |
---|
60 | |
---|