Changeset 114034


Ignore:
Timestamp:
Nov 27, 2013, 4:20:17 PM (6 years ago)
Author:
michaelld@…
Message:

octave:
+ move octave-devel to octave;
+ set octave-devel as replaced_by octave;
+ fix all possible octave modules to work correctly under 10.8 and 10.9;
+ set remaining 3 octave modules as deprecated because they do not work with octave 3.6 or newer, and there is no easy means to address the errors.

Location:
trunk/dports
Files:
23 added
8 deleted
68 edited
4 copied

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/octave-1.0.tcl

    r101770 r114034  
    2929# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    3030#
    31 #
    32 # This PortGroup automatically sets up the standard environment for building
    33 # an octave module.
     31# This PortGroup automatically sets up the standard environment for
     32# building an octave module.
    3433#
    3534# Usage:
     
    3837#   octave.setup            module version
    3938#
    40 # where module is the name of the module (e.g. communications) and version is
    41 # its version.
    42 
     39# where module is the name of the module (e.g. communications) and
     40# version is its version.
    4341
    4442options octave.module
     
    5755    depends_lib                 path:bin/octave:octave
    5856
     57    worksrcdir                  ${octave.module}
     58
    5959    # octave is not universal
     60
    6061    universal_variant           no
    61     use_configure               no
     62
     63    # do not build in parallel; many can't, and these are small builds
     64    # anyway, so no major need for this.
     65
     66    use_parallel_build          no
     67
     68    configure.pre_args
     69    configure.post_args
    6270
    6371    livecheck.type              regex
    6472    livecheck.url               http://octave.sourceforge.net/packages.php
    6573    livecheck.regex             http://downloads\\.sourceforge\\.net/octave/${octave.module}-(\\d+(\\.\\d+)*)\\.tar
     74
    6675}
    6776
    68 extract {
    69     xinstall -d -m 755 ${worksrcpath}
     77post-extract {
     78
     79    # rename the effective worksrcdir to always be ${octave.module}
     80
     81    set worksrcdir_name [exec /bin/ls ${workpath} | grep -v -E "^\\."]
     82    if {[string equal ${worksrcdir_name} ${octave.module}] == 0} {
     83        move ${workpath}/${worksrcdir_name} ${workpath}/${octave.module}
     84    }
     85
    7086}
    7187
    72 build {
    73     system "${prefix}/bin/octave -q -f --eval 'pkg build -verbose -nodeps ${worksrcpath} ${distpath}/${distfiles}'"
     88post-patch {
     89    # In 10.8+, set the locale to "C" otherwise /usr/bin/sed can fail
     90    # with an error when processing unicode characters.
     91
     92    set locale ""
     93    platform darwin {
     94        if {${os.major} >= 12} {
     95            set locale "-locale \"C\""
     96        }
     97    }
     98
     99    # do not auto-load; like, ever.  Not all files will need this, but
     100    # it's a simple catch-all.
     101
     102    eval [subst {
     103        reinplace ${locale} "/Autoload/s@yes@no@g" ${worksrcpath}/DESCRIPTION
     104    }]
     105
     106    # create a tarball of the resulting patched module
     107
     108    xinstall -d -m 755 ${workpath}
     109    system "cd ${workpath} && tar zcf .tmp/${octave.module}.tar.gz ${worksrcdir}"
     110    delete ${worksrcpath}
    74111}
     112
     113pre-configure {
     114
     115    # set parameters, now that variables are available for use
     116
     117    configure.cmd ${prefix}/bin/octave
     118    configure.args -q -f --eval 'pkg build -verbose -nodeps ${worksrcpath} ${workpath}/.tmp/${octave.module}.tar.gz'
     119
     120    # fix usage of LAPACK_LIBS to include FLIBS, such that -lgfortran
     121    # is always paired with the appropriate -Lpath statement.
     122
     123    configure.env-append \
     124        LAPACK_LIBS='[exec ${prefix}/bin/mkoctfile -p FLIBS] [exec ${prefix}/bin/mkoctfile -p LAPACK_LIBS]'
     125
     126    platform darwin {
     127        if {${os.major} >= 12} {
     128
     129            # In 10.8+, set the LC_CTYPE (locale) to "C" otherwise
     130            # /usr/bin/sed can fail with an error when processing
     131            # unicode characters.
     132
     133            configure.env-append LC_CTYPE="C"
     134        }
     135    }
     136}
     137
     138# dummy build phase, since this has already been done
     139
     140build {}
    75141
    76142destroot.keepdirs   ${destroot}${prefix}/lib/octave/packages \
     
    87153
    88154post-deactivate {
    89     system "${prefix}/bin/octave -q -f --eval 'pkg prefix ${prefix}/share/octave/packages ${prefix}/lib/octave/packages; pkg uninstall ${octave.module}'"
     155    system "${prefix}/bin/octave -q -f --eval 'pkg prefix ${prefix}/share/octave/packages ${prefix}/lib/octave/packages; pkg uninstall -nodeps ${octave.module}'"
    90156    system "${prefix}/bin/octave -q -f --eval 'pkg prefix ${prefix}/share/octave/packages ${prefix}/lib/octave/packages; pkg rebuild'"
    91157}
  • trunk/dports/math/octave-ad/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    89license             GPL-2+
    910maintainers         nomaintainer
    10 description         Automatic Forward Differentiation
     11description         Automatic Forward Differentiation.
    1112long_description    ${description}
    1213
    13 checksums           md5     9162813e37bad34c4277a30dd9d968da \
    14                     sha1    71e32c0001c61dd62eec84f2d61e754dec5bcf2e \
    15                     rmd160  1fdd5216d31035a03b5b6df6fe83fc0ebeca195c
     14checksums           rmd160 1fdd5216d31035a03b5b6df6fe83fc0ebeca195c \
     15                    sha256 34de01d167f30035955a6fe4137f2f7fec0fa862ffd1ab892cb9b31dd18174c4
     16
     17patchfiles          patch-src_ov-grad.cc.diff
  • trunk/dports/math/octave-ann/Portfile

    r95247 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    67octave.setup        ann 1.0.2
    78platforms           darwin
    8 license             LGPL-2.1+
     9license             LGPL-2+
    910maintainers         nomaintainer
    10 description         The Octave-forge ANN package wraps the ANN library, which \
    11                     provides data structures and functions for computing exact \
    12                     and approximate nearest neighbors on an arbitrarily high \
    13                     dimensional point set.
     11description         The Octave-forge ANN package wraps the ANN \
     12                    library, which provides data structures and \
     13                    functions for computing exact and approximate \
     14                    nearest neighbors on an arbitrarily high \
     15                    dimensional point set.  This module does \
     16                    not work with Octave 3.6 or newer\; this port is \
     17                    being deprecated.
    1418long_description    ${description}
    1519
    16 checksums           md5     3b383fdec459cf4f66c221e7b698aab0 \
    17                     sha1    5da0e67273316edbc127ab31bb3e15b89ec25a4f \
    18                     rmd160  4d74c6a5db17caf1d329c0fdac9fe068c0c1ddb5
     20depends_build
     21depends_lib
     22depends_run
    1923
    20 depends_build       port:swig-octave
    21 
    22 post-patch {
    23     file delete -force ${worksrcpath}/src/ann/bindings/ann_wrap.cpp
     24pre-fetch {
     25    ui_msg ""
     26    ui_error "$name does not work with Octave 3.6 or newer.\n"
     27    error "deprecated Octave module\n"
    2428}
    25 
    26 configure.args      --with-swig
  • trunk/dports/math/octave-arpack/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    89license             GPL-2+
    910maintainers         nomaintainer
    10 description         Octave bindings to ARPACK, including the eigs and svds \
    11                     function.
     11description         Octave bindings to ARPACK, including the eigs \
     12                    and svds function.  This module has been \
     13                    integrated into Octave\; this port is being \
     14                    deprecated.
    1215long_description    ${description}
    1316
    14 checksums           md5     dbf767019e238c4a16ccc6cac2afe87c \
    15                     sha1    3fa7847b6bedb2379ff51399195481fbfe2e4b89 \
    16                     rmd160  0d16b935f72b8b7c32721216edf09935eeb8e50f
     17depends_build
     18depends_lib
     19depends_run
    1720
    18 depends_lib-append  port:arpack
     21pre-fetch {
     22    ui_msg ""
     23    ui_error "$name in integrated into Octave 3.6 and newer.\n"
     24    error "deprecated Octave module\n"
     25}
  • trunk/dports/math/octave-audio/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    89license             GPL-2+ public-domain
    910maintainers         nomaintainer
    10 description         Audio recording, processing and playing tools.
     11description         Audio recording, processing, and playing tools.
    1112long_description    ${description}
    1213
    13 checksums           md5     643dac1ecf0f31c870b4bd9ce7bbd98c \
    14                     sha1    36b4257737481394302243cdf1731edbbaee5139 \
    15                     rmd160  0f38a8ef8b7d6571ce6d20ca00f6a636f32976f0
     14checksums           rmd160 0f38a8ef8b7d6571ce6d20ca00f6a636f32976f0 \
     15                    sha256 1cc95684b48bc2b2681036b65ed78fe5bc6323ca94b43dea6c005303dd7320e4
  • trunk/dports/math/octave-benchmark/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    67octave.setup        benchmark 1.1.1
    78platforms           darwin
    8 license             GPL-2+
     9license             GPL-2
    910maintainers         nomaintainer
    10 description         The package contains code used to benchmark speed of Octave.
     11description         The package contains code used to benchmark \
     12                    speed of Octave.
    1113long_description    ${description}
    1214
    13 checksums           md5     33842f7c32af5eedbbd0af3b8f918b69 \
    14                     sha1    247e39c21be6e3b8d373965277bf916f4ca8b80d \
    15                     rmd160  a152ed405ce34c8370937c0af449bd98e792e882
     15checksums           rmd160 a152ed405ce34c8370937c0af449bd98e792e882 \
     16                    sha256 7fd62c56062fee2efa49d848e85f1f1cf841ccfa629f783af7e95f17326d73db
  • trunk/dports/math/octave-bim/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    45PortGroup           octave 1.0
    56
    6 octave.setup        bim 0.1.1
     7octave.setup        bim 1.1.2
    78platforms           darwin
    89license             GPL-2+
    910maintainers         nomaintainer
    10 description         Package for solving Diffusion Advection Reaction (DAR) \
    11                     Partial Differential Equaltions based on the Finite Volume \
    12                     Scharfetter-Gummel (FVSG) method a.k.a Box Integration \
    13                     Method (BIM)
     11description         Package for solving Diffusion Advection Reaction \
     12                    (DAR) Partial Differential Equaltions based on \
     13                    the Finite Volume Scharfetter-Gummel (FVSG) \
     14                    method a.k.a Box Integration \ Method (BIM).
    1415long_description    ${description}
    1516
    16 checksums           md5     7e7a3856127c0f17bf98df5d564b224d \
    17                     sha1    573b31f8e0e3f6ed733303c6a47a948b67cd338f \
    18                     rmd160  a917e90a2d0fac5c9569220c3b50d3533f88065f
     17checksums           rmd160 16e291ce7ca33c876814d12ca2e64b5376fd1cc2 \
     18                    sha256 5327b8615170f7ce20188d4c17939037e6a5fa64bcc16d9641085fd3c7d7ba76
    1919
    2020depends_lib-append  port:octave-fpl port:octave-msh
  • trunk/dports/math/octave-bioinfo/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    67octave.setup        bioinfo 0.1.2
    78platforms           darwin
    8 license             GPL-2 GPL-3+
     9license             GPL-2+
    910maintainers         nomaintainer
    10 description         Bioinformatics manipulation
     11description         Bioinformatics manipulation.
    1112long_description    ${description}
    1213
    13 checksums           md5     71f3319f41d2885c569c840ed137673b \
    14                     sha1    cc62d0250f2f41b5f7ef3ea3095006667fe1e37f \
    15                     rmd160  ef917f6190f1d57fdf72a19b9ff69147102ee6b6
     14checksums           rmd160 ef917f6190f1d57fdf72a19b9ff69147102ee6b6 \
     15                    sha256 798acf59cd49f64c4592bf6207f25944d78fcd7a38bf44ed8423d5429261945b
  • trunk/dports/math/octave-civil-engineering/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    89license             GPL-2+
    910maintainers         nomaintainer
    10 description         Functions to solution some ODE's in Civil Engineering.
     11description         Functions to solution some ODE's in \
     12                    Civil Engineering.
    1113long_description    ${description}
    1214
    13 checksums           md5     d04d56f6d85ae17911560b6021ce47a8 \
    14                     sha1    9ad2b073a48b773c7d5bf804ac06a4abb029cba2 \
    15                     rmd160  c677a355f22ce4666c205c0d8782b334143ff844
     15checksums           rmd160 c677a355f22ce4666c205c0d8782b334143ff844 \
     16                    sha256 28cc0ab8ecd3574fc02cf71cc402cc2c43322a20b30d74df4d424c1d284c70eb
  • trunk/dports/math/octave-combinatorics/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    45PortGroup           octave 1.0
    56
    6 octave.setup        combinatorics 1.0.9
     7octave.setup        combinatorics 2.0.0
    78platforms           darwin
    8 license             GPL-2+
     9license             GPL-3+
    910maintainers         nomaintainer
    10 description         Combinatorics functions, incuding partitioning.
     11description         Combinatorics functions, incuding partitioning. \
     12                    This a dummy package as transition for the \
     13                    miscellaneous package.
    1114long_description    ${description}
    1215
    13 checksums           md5     3dd36eb5cbc5511be0d72250ebb28799 \
    14                     sha1    068f22bf8feb69a401bb8267bb2cd87d145df9ef \
    15                     rmd160  f57b4bbf6bb87ba329ba70640bd97e4f3ecc43c1
     16checksums           rmd160 e24f4fa758539a86af2a8c878a16000e85c082bc \
     17                    sha256 d261577af62cea2e6de02ff695ee8a9026a40e7e8320873f1d251998e136d2ff
     18
     19depends_lib-append  port:octave-miscellaneous
  • trunk/dports/math/octave-communications/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    45PortGroup           octave 1.0
    56
    6 octave.setup        communications 1.0.10
     7octave.setup        communications 1.1.1
    78revision            1
    89platforms           darwin
    9 license             GPL-2+
     10license             GPL-3+
    1011maintainers         nomaintainer
    11 description         Digital Communications, Error Correcting Codes (Channel \
    12                     Code), Source Code functions, Modulation and Galois Fields
     12description         Digital Communications, Error Correcting Codes \
     13                    (Channel Code), Source Code functions, \
     14                    Modulation and Galois Fields.
    1315long_description    ${description}
    1416
    15 checksums           md5     cae9f1e4ce2b1c2358e028abe947d168 \
    16                     sha1    b51523d8b10f10fd5519bd218e9bf6d37f698a70 \
    17                     rmd160  210f98df17a5501be36b8fe02535b4ea0da38aad
     17checksums           rmd160 493653bcd4c52601937fbb0cbc8a9e288dabfe3d \
     18                    sha256 85e817e524b518695efdca921503f5a6dc09ff83a33e43e69dd716c564929a25
    1819
    1920depends_lib-append  port:octave-signal
  • trunk/dports/math/octave-control/Portfile

    r101771 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    45PortGroup           octave 1.0
    56
    6 octave.setup        control 2.4.1
     7octave.setup        control 2.6.0
    78platforms           darwin
    8 license             GPL-3+ GPL-2+
     9license             GPL-3+
    910maintainers         nomaintainer
    10 description         Additional Octave Control tools
     11description         Computer-Aided Control System Design (CACSD) \
     12                    Tools for GNU Octave, based on the proven \
     13                    SLICOT Library.
    1114long_description    ${description}
    1215
    13 checksums           md5     e3312a9866ff6a9ee018f5c6657e7dce \
    14                     sha1    c99e049fda72300a3e77a763b9c5a00829f91c0f \
    15                     rmd160  3d83252b781da93f25e0e3f459cf767b83975b56
     16checksums           rmd160  cc24f7e5915a29317d945761c3e02b17f6f318f1 \
     17                            sha256  a989c390e3928a1bf987d9be9a0e63d107649120b8b060d445a76ccf00025bbd
  • trunk/dports/math/octave-data-smoothing/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    45PortGroup           octave 1.0
    56
    6 octave.setup        data-smoothing 1.2.0
     7octave.setup        data-smoothing 1.3.0
    78platforms           darwin
    8 license             GPL-2+
     9license             GPL-3+
    910maintainers         nomaintainer
    10 description         Algorithms for smoothing noisy data
     11description         Algorithms for smoothing noisy data.
    1112long_description    ${description}
    1213
    13 checksums           md5     d92ea47df22efaa748b125d397de1339 \
    14                     sha1    8a1a48180f644fa11af12d91d4527ce0737ba4ac \
    15                     rmd160  db3266c4cd813162a26997f4fb0219c4ed7d28f1
     14checksums           rmd160 40fe5723f811dbd8238a27736ccb25af50bb4186 \
     15                    sha256 012bd7a9681619ed33d8643f3785ba9b17a82febab9b242674fe79746bc31b60
     16
     17depends_lib-append  port:octave-optim
  • trunk/dports/math/octave-database/Portfile

    r91251 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    45PortGroup           octave 1.0
    56
    6 octave.setup        database 1.0.4
     7octave.setup        database 2.2.0
    78platforms           darwin
    8 license             BSD GPL-2
     9license             GPL-3+
    910maintainers         nomaintainer
    10 description         These are bindings that allow SQL queries and other database \
    11                     operations on postgres, mysql, sqlite, and standard ODBC \
    12                     databases from within Octave.
    13 long_description    ${description}  A simplified interface that is uniform \
    14                     across all database types is provided, as well as the \
    15                     entire C client API for each database (libpq, libmysqlclient, etc).
     11description         Interface to SQL databases, currently only \
     12                    postgresql using libpq.
     13long_description    ${description}
    1614
    17 checksums           md5     3de89d16ad1c5945ebcb90f8759803b0 \
    18                     sha1    ee62edd5c213bc18a9be0a5696ab418b1887b2de \
    19                     rmd160  6e768f1633e5f1f53c0224956135028459b0a505
    20 
    21 patchfiles          patch-sqlite3_wrap.cpp.diff \
    22                     patch-odbc_wrap.cpp.diff
     15checksums           rmd160 75fe93e8c62da63ca4d6273652d368366364405d \
     16                    sha256 b2ee696797c163f6404ef3900142c4b4350b6926f5d49fef46aa06e893ad2698
    2317
    2418depends_lib-append  port:swig-octave \
    25                     port:postgresql82 \
    2619                    path:bin/mysql_config5:mysql5 \
    2720                    port:sqlite3 \
    2821                    port:unixODBC
    2922
    30 universal_variant   no
    31 configure.cxx_archflags ""
     23# set postgresql variants
    3224
     25set postgresql_suffixes {80 81 82 83 84 90 91 92 93}
     26set default_postgresql_suffix 92
     27
     28set postgresql_ports {}
     29set postgresql_variants {}
     30foreach s ${postgresql_suffixes} {
     31    lappend postgresql_ports postgresql${s}
     32    set postgresql_variants "${postgresql_variants} && !\[variant_isset postgresql${s}\]"
     33}
     34
     35set postgresql_variants [string trimleft ${postgresql_variants} " && "]
     36
     37foreach s ${postgresql_suffixes} {
     38    set p postgresql${s}
     39    set v [join [split ${s} ""] "."]
     40    set i [lsearch -exact ${postgresql_ports} ${p}]
     41    set c [lreplace ${postgresql_ports} ${i} ${i}]
     42    eval [subst {
     43        variant ${p} description "Build ${name} using postgresql ${v}" \
     44            conflicts ${c} {
     45
     46                depends_lib-append \
     47                    port:postgresql${s}
     48                configure.env \
     49                    PATH=${prefix}/lib/postgresql${s}/bin:$env(PATH)
     50
     51            }
     52    }]
     53}
     54
     55eval [subst {
     56    # postgresql is required; default to ${default_postgresql_suffix}.
     57
     58    if {${postgresql_variants}} {
     59        default_variants +postgresql${default_postgresql_suffix}
     60    }
     61
     62    # Make sure -postgresql${default_postgresql_suffix}
     63    # was not specified alone
     64
     65    if {${postgresql_variants}} {
     66        ui_error "${name} requires a postgresql to be selected; you cannot use -postgresql${default_postgresql_suffix} as a variant alone."
     67        return -code error "Invalid variant selection"
     68    }
     69}]
  • trunk/dports/math/octave-devel/Portfile

    r112913 r114034  
    33
    44PortSystem          1.0
    5 PortGroup           active_variants 1.1
    6 PortGroup           compiler_blacklist_versions 1.0
    75
    86name                octave-devel
    97version             3.6.4
    10 revision            9
    11 conflicts           octave
     8revision            10
     9
    1210categories          math science
    1311maintainers         michaelld openmaintainer
     
    2422
    2523homepage            http://www.gnu.org/software/octave/
    26 master_sites        gnu:octave
    27 dist_subdir         octave
    28 distname            octave-${version}
    29 use_bzip2           yes
    3024
    31 checksums           rmd160  b0356f0c5d9366b8129d72ac58bbde837fee1a95 \
    32                     sha256  fa185df9591f5d740f4d37ff6eaf06db576fdd3e0ddd9d0737365799e5d1c962
     25replaced_by         octave
    3326
    34 depends_build       port:bison \
    35                     port:flex \
    36                     port:gawk \
    37                     port:gperf \
    38                     port:grep \
    39                     port:gsed \
    40                     port:less \
    41                     path:bin/perl:perl5 \
    42                     port:pkgconfig \
    43                     port:texinfo
     27archive_sites
     28distfiles
    4429
    45 depends_lib         path:lib/libgcc/libgcc_s.1.dylib:libgcc \
    46                     port:arpack \
    47                     port:curl \
    48                     port:fftw-3 \
    49                     port:fftw-3-single \
    50                     port:glpk \
    51                     port:GraphicsMagick \
    52                     port:hdf5-18 \
    53                     port:ncurses \
    54                     port:pcre \
    55                     port:qhull \
    56                     port:qrupdate \
    57                     port:readline \
    58                     port:SuiteSparse \
    59                     port:zlib
    60 
    61 depends_run-append  port:epstool \
    62                     port:ghostscript \
    63                     port:gnuplot \
    64                     port:less \
    65                     port:transfig \
    66                     port:pstoedit
    67 
    68 universal_variant   no
    69 
    70 # common configure arguments
    71 
    72 configure.args      --disable-dependency-tracking \
    73                     --with-umfpack="-lumfpack -lSuiteSparse"
    74 
    75 # octave uses a number of other ports to create sources from template:
    76 # perl, gawk, gsed, flex, bison, texinfo.  Make sure these are the
    77 # MacPorts' versions.  Python is not used if perl is available, so
    78 # clear it out.  grep is checked for in 'configure', but not used
    79 # except inside that script; include it here for completion.
    80 
    81 configure.perl      ${prefix}/bin/perl
    82 configure.python    ' '
    83 configure.awk       ${prefix}/bin/gawk
    84 configure.env-append GREP="${prefix}/bin/grep" \
    85                      SED="${prefix}/bin/gsed" \
    86                      TEXI2DVI="${prefix}/bin/texi2dvi" \
    87                      TEXI2PDF="${prefix}/bin/texi2pdf"
    88 configure.cppflags
    89 configure.ldflags
    90 
    91 test.run            yes
    92 test.target         check
    93 
    94 # temporary patches; these are, or will be, fixed upstream already.
    95 
    96 patchfiles-append \
    97     patch-liboctave-eigs-base.cc.diff \
    98     patch-liboctave-regexp.h.diff \
    99     patch-configure.diff
    100 
    101 # Block compilers: Some older versions of CLANG do not honor the CPATH
    102 # environment variables, which is required for compiling this port
    103 # when using MacPorts.  The versions seem to be: MacPorts CLANG 2.9 or
    104 # earlier, and Apple CLANG 318.0.58 or older.
    105 #
    106 # See also < http://llvm.org/bugs/show_bug.cgi?id=8971 >
    107 #          < https://trac.macports.org/ticket/40250 >.
    108 
    109 compiler.blacklist-append { clang <= 318.0.61 } macports-clang-2.9
    110 
    111 platform darwin {
    112     if {${os.major} >= 11} {
    113 
    114         # 10.7+ requires an extra patch; this patch will break the
    115         # build on 10.6 and prior, so apply it only under 10.7.
    116 
    117         patchfiles-append patch-src-display.cc.diff
    118     }
    119     if {${os.major} >= 12} {
    120 
    121         # In 10.8+, the LANG environment variable needs to be set to
    122         # "C" otherwise /usr/bin/sed fails with an error.  Ideally,
    123         # octave's build system would honor the environment variable
    124         # ${SED} throughout; reality is that it does not, so this
    125         # addition is required because /usr/bin/sed will be used.
    126 
    127         build.args-append LANG="C"
    128     }
     30pre-fetch {
     31    ui_error "${subport} has been temporarily replaced by the port 'octave'. Please install octave instead."
     32    return -code error "obsolete port"
    12933}
    13034
    131 set gcc_versions {4.3 4.4 4.5 4.6 4.7 4.8 4.9}
    132 set gcc_default "4.8"
    133 
    134 # create g95 variant, with full conflicts of GCC versions
    135 
    136 set gcc_conflicts ""
    137 foreach ver ${gcc_versions} {
    138     set gcc_ver_no_dot gcc[join [split ${ver} "."] ""]
    139     set gcc_conflicts "${gcc_conflicts} ${gcc_ver_no_dot}"
    140 }
    141 
    142 eval [subst {
    143     variant g95 conflicts ${gcc_conflicts} requires accelerate \
    144         description "Build with MacPorts g95 as the Fortran Compiler" {
    145             depends_build-append port:g95
    146             configure.fc ${prefix}/bin/g95
    147             configure.f77 ${prefix}/bin/g95
    148             configure.f90 ${prefix}/bin/g95
    149         }
    150 }]
    151 
    152 # create GCC variants, with partial conflicts of other GCC versions
    153 
    154 foreach ver1 ${gcc_versions} {
    155 
    156     set gcc_ver1_no_dot gcc[join [split ${ver1} "."] ""]
    157 
    158     set gcc_conflicts "conflicts g95"
    159     foreach ver2 ${gcc_versions} {
    160         if {${ver1} == ${ver2}} {
    161             continue
    162         }
    163         set gcc_ver2_no_dot gcc[join [split ${ver2} "."] ""]
    164         set gcc_conflicts "${gcc_conflicts} ${gcc_ver2_no_dot}"
    165     }
    166 
    167     eval [subst {
    168         variant ${gcc_ver1_no_dot} ${gcc_conflicts} \
    169             description "Build with the MacPorts ${gcc_ver1_no_dot} as the Fortran Compiler" {
    170                 configure.fc  ${prefix}/bin/gfortran-mp-${ver1}
    171                 configure.f77 ${prefix}/bin/gfortran-mp-${ver1}
    172                 configure.f90 ${prefix}/bin/gfortran-mp-${ver1}
    173             }
    174     }]
    175 }
    176 
    177 # check for setting the default variant
    178 
    179 set var_selection ""
    180 if {[variant_isset g95]} {
    181     set var_selection "g95"
    182 } else {
    183     foreach ver ${gcc_versions} {
    184         set gcc_ver_no_dot gcc[join [split ${ver} "."] ""]
    185         if {[variant_isset ${gcc_ver_no_dot}]} {
    186             set var_selection "${gcc_ver_no_dot}"
    187         }
    188     }
    189 }
    190 
    191 # check for need for default variant
    192 
    193 set gcc_default_no_dot gcc[join [split ${gcc_default} "."] ""]
    194 if {"${var_selection}" == ""} {
    195     default_variants +${gcc_default_no_dot}
    196 }
    197 
    198 # check if the user disabled just the default variant
    199 
    200 set var_selection ""
    201 if {[variant_isset g95]} {
    202     set var_selection "g95"
    203 } else {
    204     foreach ver ${gcc_versions} {
    205         set gcc_ver_no_dot gcc[join [split ${ver} "."] ""]
    206         if {[variant_isset ${gcc_ver_no_dot}]} {
    207             set var_selection "${gcc_ver_no_dot}"
    208         }
    209     }
    210 }
    211 
    212 if {"${var_selection}" == ""} {
    213     ui_error "\n\nYou cannot use the -${gcc_default_no_dot} variant alone; a Fortran compiler is required.\n"
    214     return -code error "Invalid variant selection"
    215 }
    216 
    217 # atlas does not work with g95, so always conflict with it
    218 
    219 variant atlas description {use BLAS from MacPorts' atlas port} \
    220     conflicts g95 accelerate {}
    221 
    222 variant accelerate description \
    223     {use BLAS from Apple's Accelerate.framework [might be buggy]} \
    224     conflicts atlas {}
    225 
    226 if {![variant_isset accelerate] && ![variant_isset atlas]} {
    227     default_variants +atlas
    228 }
    229 
    230 # make sure that either +accelerate or +atlas is selected
    231 
    232 if {![variant_isset accelerate] && ![variant_isset atlas]} {
    233 
    234     ui_error "\n\nYou must select either the +accelerate or +atlas variant.\n"
    235     return -code error "Invalid variant selection"
    236 
    237 }
    238 
    239 if {[variant_isset accelerate]} {
    240 
    241     depends_lib-append port:dotwrp
    242     configure.args-append \
    243         --with-blas="-ldotwrp -Wl,-framework -Wl,Accelerate" \
    244         --with-lapack="-Wl,-framework -Wl,Accelerate"
    245 
    246 } else {
    247 
    248     depends_lib-append    port:atlas
    249     # NOTE: libtatlas does not work as of 3.10.1_5
    250     configure.args-append \
    251         --with-blas="-lcblas -lf77blas -latlas" \
    252         --with-lapack="-llapack -lgfortran"
    253 
    254 }
    255 
    256 variant docs description {Enable creation and installation of \
    257                           documentation including manpages} {}
    258 
    259 if {[variant_isset docs]} {
    260 
    261     depends_run-append    port:texlive-basic
    262     # latex needed for lcircle10 font etc.
    263     depends_build-append  port:texlive-latex
    264     configure.args-append --enable-docs
    265 
    266 } else {
    267 
    268     configure.args-append --disable-docs
    269 
    270 }
    271 
    272 variant x11 description {Enable use of X11} {}
    273 
    274 if {[variant_isset x11]} {
    275 
    276     configure.args-append --with-x --x-includes=${prefix}
    277 
    278 } else {
    279 
    280     configure.args-append --without-x
    281 
    282 }
    283 
    284 variant fltk description {Enable FLTK as a graphical front-end} {}
    285 
    286 if {[variant_isset fltk]} {
    287 
    288     depends_lib-append path:lib/libfltk.dylib:fltk \
    289                        port:fontconfig \
    290                        port:freetype
    291     configure.args-append --with-opengl
    292 
    293 } else {
    294 
    295     configure.args-append --without-opengl
    296 
    297 }
    298 
    299 variant metis description {Use SuiteSparse + Metis for graph partitioning} {
    300     pre-fetch {
    301         ui_msg "\nWARNING: ${name} variant +metis uses the metis port, whose license is incompatible with Octave's.  You can use this combination locally, but you cannot distribute them as a single package (e.g., tarball, m/pkg, archive)."
    302     }
    303 }
    304 
    305 if {[variant_isset metis]} {
    306 
    307     depends_lib-append      port:metis
    308     configure.args-append   --with-cholmod="-lcholmod -lmetis"
    309 
    310     # make sure SuiteSparse is installed with +metis
    311     require_active_variants SuiteSparse metis
    312 
    313 } else {
    314 
    315     configure.args-append   --with-cholmod="-lcholmod"
    316 
    317     # make sure SuiteSparse is installed without +metis
    318     require_active_variants SuiteSparse {} metis
    319 
    320 }
    321 
    322 pre-fetch {
    323 
    324     # check for +accelerate here as well as in dependent ports;
    325     # Apple's VecLib has bugs that cause Octave to crash sometimes,
    326     # while Atlas does not have these issues.  Print a warning if this
    327     # variant is in use, but do not force the use of +atlas (for now).
    328 
    329     if {![catch {set result [active_variants arpack accelerate {}]}]} {
    330         if {$result} {
    331             ui_msg "\nWARNING: Dependency 'arpack' is installed with the +accelerate variant, using Apple's Vector Libraries which have known bugs that can cause Octave to crash if using certain functions in arpack.  The +atlas variant does not have these issues with Octave, and is considered by Octave developers a better way to go.\n"
    332         }
    333     }
    334 
    335     if {[variant_isset accelerate]} {
    336         ui_msg "\nWARNING: The +accelerate variant has been selected, using Apple's Vector Libraries which have known bugs that can cause Octave to crash.  The +atlas variant does not have these issues with Octave, and is considered by Octave developers a better way to go.\n"
    337     }
    338 }
    339 
    340 livecheck.type      regex
    341 livecheck.url       http://www.gnu.org/software/octave/download.html
    342 livecheck.regex     GNU Octave (\[\^\ \]*) was
     35livecheck.type      none
  • trunk/dports/math/octave-econometrics/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    45PortGroup           octave 1.0
    56
    6 octave.setup        econometrics 1.0.8
     7octave.setup        econometrics 1.1.1
    78platforms           darwin
    8 license             GPL-2+
     9license             GPL-3+
    910maintainers         nomaintainer
    10 description         Econometrics functions including MLE and GMM based \
    11                     techniques.
     11description         Econometrics functions including MLE and \
     12                    GMM based techniques.
    1213long_description    ${description}
    1314
    14 checksums           md5     363cdacabfc3b551a500e9c8bf5c4437 \
    15                     sha1    96d96b7b0cd18b4f911b92630f62df9fdc138182 \
    16                     rmd160  3fa1e689a75ae3e9b04d708800accb758181921a
     15checksums           rmd160 e04d04f94531a86ef7d77ef18ea121db1d26f002 \
     16                    sha256 b982f842273935c2e3441d09512611e03d4fee6a7c45532909594d41593ff3ee
     17
     18depends_lib-append  port:octave-optim
  • trunk/dports/math/octave-engine/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    67octave.setup        engine 1.0.9
    78platforms           darwin
    8 license             GPL-2
     9license             GPL-2+
    910maintainers         nomaintainer
    10 description         An external interface library for Octave
     11description         An external interface library for Octave.
    1112long_description    ${description}
    1213
    13 checksums           md5     077ec874eb6ff573e86448a1c4620a1d \
    14                     sha1    b39f8e86bbc688a83ab433133bcc23bc4de7e16a \
    15                     rmd160  fd1c51ea614c568152ff02e219ec2a86b24adcf9
     14checksums           rmd160 fd1c51ea614c568152ff02e219ec2a86b24adcf9 \
     15                    sha256 284733f08084fe9980fba80b11951dbec494adbaa9df267183bd0e677abcc741
  • trunk/dports/math/octave-financial/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    45PortGroup           octave 1.0
    56
    6 octave.setup        financial 0.3.2
     7octave.setup        financial 0.4.0
    78platforms           darwin
    8 license             GPL-2 GPL-3+
     9license             GPL-3+
    910maintainers         nomaintainer
    10 description         Financial manipulation and plotting functions
     11description         Financial manipulation, plotting functions \
     12                    and additional date manipulation tools.
    1113long_description    ${description}
    1214
    13 checksums           md5     ea871683241da80f766b9af006b78865 \
    14                     sha1    b51db6769f6591ce49a8a1060a06744dceab66cf \
    15                     rmd160  1f9f087ed2c8053055e4e2938a1fd23079673c25
     15checksums           rmd160 8937001db6b781c0498d89ef282190e0d9d4c57a \
     16                    sha256 1c88ec39db9899c70dc1480af5319e75944574619dad1cead46362521ce2596d
    1617
    17 depends_lib-append  port:octave-time
     18depends_lib-append  port:octave-io
  • trunk/dports/math/octave-fpl/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    45PortGroup           octave 1.0
    56
    6 octave.setup        fpl 0.1.6
     7octave.setup        fpl 1.3.4
    78platforms           darwin
    8 license             GPL-2+
     9license             GPL-3+
    910maintainers         nomaintainer
    10 description         Collection of routines to plot data on unstructured \
    11                     triangular and tetrahedral meshes
     11description         Collection of routines to export data produced \
     12                    by Finite Elements or Finite Volume Simulations \
     13                    in formats used by some visualization programs.
    1214long_description    ${description}
    1315
    14 checksums           md5     65f181620dcfb3a7083908dcfcf3477f \
    15                     sha1    67b351a8e0b2b1874adfc9bc61d1caab067e9078 \
    16                     rmd160  a1edb91daae8bf57c2eeb24d50d7e2a87d769459
     16checksums           rmd160 9177ee7e66c49147fea8256177a1f0a2d2732540 \
     17                            sha256 ac8532c8b58524f31c4d4bda703596926b94e04d53016b41db276bcbac83c2a1
  • trunk/dports/math/octave-ga/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    45PortGroup           octave 1.0
    56
    6 octave.setup        ga 0.9.7
    7 revision            1
     7octave.setup        ga 0.10.0
    88platforms           darwin
    99license             GPL-2+
    1010maintainers         nomaintainer
    11 description         Genetic optimization code
     11description         Genetic optimization code.
    1212long_description    ${description}
    1313
    14 checksums           md5     4dc07aedf067fdefbb4bf845375c2715 \
    15                     sha1    f05be56a1a91b514025b31cd8739370698571ca5 \
    16                     rmd160  a232210c86d11d09cec0872853b3b479a156da8d
    17 
    18 depends_lib-append  port:octave-miscellaneous port:octave-communications
     14checksums           rmd160 e746d11fbf886ed6c80839f767c60b6eed9e2b0f \
     15                    sha256 17e234d99ebd69dfcd2f28b1d0437277f35fc39953661eedbd6c0c3c03342f0b
  • trunk/dports/math/octave-general/Portfile

    r101771 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    67octave.setup        general 1.3.2
    78platforms           darwin
    8 license             GPL-2+ GPL-3+
     9license             GPL-3+ BSD public-domain
    910maintainers         nomaintainer
    10 description         General tools for octave.
     11description         General tools for Octave, string dictionary, \
     12                    parallel computing.
    1113long_description    ${description}
    1214
    13 checksums           md5     4419e594b38d39cbee61a44b33dbf702 \
    14                     sha1    1662d97f0bf1be957e1a30a287d9c0aff7b5ecdd \
    15                     rmd160  925565a5444eaffcaefc2a7350148de9cd62080f
     15checksums           rmd160 925565a5444eaffcaefc2a7350148de9cd62080f \
     16                    sha256 1248c563256a6662b321fba6f7e9da435c81b4a52efad19b0e1d9930ce3b4e92
  • trunk/dports/math/octave-graceplot/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    89license             GPL-2+ public-domain
    910maintainers         nomaintainer
    10 description         Graceplot bindings for octave.
     11description         Graceplot bindings for octave.  This module does \
     12                    not work with Octave 3.6 or newer\; this port is \
     13                    being deprecated.
    1114long_description    ${description}
    1215
    13 checksums           md5     3e123bea0ab347e938758d9d3bf1d7a2 \
    14                     sha1    34bfd5073007fc3d5cf1a430176580907ac86d32 \
    15                     rmd160  8887482e2412974cf05f4eee7558f10e1e712b3e
     16depends_build
     17depends_lib
     18depends_run
    1619
    17 depends_lib-append  port:octave-io
     20pre-fetch {
     21    ui_msg ""
     22    ui_error "$name does not work with Octave 3.6 or newer.\n"
     23    error "deprecated Octave module\n"
     24}
  • trunk/dports/math/octave-gsl/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    67octave.setup        gsl 1.0.8
    78platforms           darwin
    8 license             GPL-2+ GPL-3+
     9license             GPL-2+
    910maintainers         nomaintainer
    10 description         Octave bindings to the GNU Scientific Library
     11description         Octave bindings to the GNU Scientific Library.
    1112long_description    ${description}
    1213
    13 checksums           md5     9f45ab71dc77b57646d6bfab5984cccd \
    14                     sha1    2a7d06963e00d44f92682edd7ec1d5036574bf41 \
    15                     rmd160  34c9d705ffc5b59c656219a0a5bcadceda73d6f7
     14checksums           rmd160 34c9d705ffc5b59c656219a0a5bcadceda73d6f7 \
     15                    sha256 a8344d508ba6f376ca0c0734a72aac1080690cfe74f32c5e964ad765d81adfb3
    1616
    1717depends_lib-append  port:gsl
  • trunk/dports/math/octave-ident/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    1112long_description    ${description}
    1213
    13 checksums           md5     29697948e4af19d868abc00d373278fb \
    14                     sha1    5852903addf9038b301fdc1d15429b4f19a1bf99 \
    15                     rmd160  bd768d51f36f21d3d826ab524eb42f7b8bb1e9ab
     14checksums           rmd160 bd768d51f36f21d3d826ab524eb42f7b8bb1e9ab \
     15                    sha256 977fc3012dff2c825e8638f663e0dd97f1b984cb4cdb4e4a4eeaa35c25c0d5ba
     16
     17# no longer exists on octave-forge
     18
     19livecheck.type      none
  • trunk/dports/math/octave-image/Portfile

    r91298 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    45PortGroup           octave 1.0
    56
    6 octave.setup        image 1.0.10
     7octave.setup        image 2.0.0
    78platforms           darwin
    8 license             GPL-2+ GPL-3+ BSD
     9license             GPL-3+ MIT FreeBSD
    910maintainers         nomaintainer
    10 description         The Octave-forge Image package provides functions for \
    11                     reading, writing, and processing images. The package \
    12                     supports almost all image formats through the use of \
    13                     ImageMagick. The package also provides functions for \
    14                     feature extraction, image statistics, spatial and \
    15                     geometric transformations, morphological operations, \
    16                     linear filtering, and much more.
     11description         The Octave-forge Image package provides functions \
     12                    for processing images. The package also provides \
     13                    functions for feature extraction, image \
     14                    statistics, spatial and geometric transformations, \
     15                    morphological operations, linear filtering, and \
     16                    much more.
    1717long_description    ${description}
    1818
    19 checksums           md5     c139877a4ce2b1f6fe08772a52a327be \
    20                     sha1    0d8731f8f47cc18fdfb2ead8e700d3507cff79df \
    21                     rmd160  3aad306325c84cfe543c7b61b60a7fea2cfa9c3c
     19checksums           rmd160 82205cc0e884020958ba5b8644eb9f34818a175c \
     20                    sha256 fecacf1cf78e2517f9e3eda243925c71f3b247aaac5dc7b5ea3af7d2208af1d9
    2221
    23 patchfiles          png14.patch
     22depends_lib-append  port:octave-signal
  • trunk/dports/math/octave-informationtheory/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    89license             GPL-2+
    910maintainers         nomaintainer
    10 description         Functions and routines for basic Information Theory \
    11                     definitions, and source coding.
     11description         Functions and routines for basic Information \
     12                    Theory definitions, and source coding.
    1213long_description    ${description}
    1314
    14 checksums           md5     8948c888555cd4377edcc3cdc8611bee \
    15                     sha1    6f8ec439fc764c1140de8e44cdf0c1655683c861 \
    16                     rmd160  bd79132384e307dcebd805e5a1ab2ab4af171b43
     15checksums           rmd160 bd79132384e307dcebd805e5a1ab2ab4af171b43 \
     16                    sha256 ba18b923a9e161fd90c8982c3c96217d66086d2664df609b6cf35e8e3d51d7d1
  • trunk/dports/math/octave-integration/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    67octave.setup        integration 1.0.7
    78platforms           darwin
    8 license             GPL-2
     9license             GPL-2+
    910maintainers         nomaintainer
    10 description         Toolbox for 1-D, 2-D, and n-D Numerical Integration
     11description         Toolbox for 1-D, 2-D, and n-D Numerical Integration.
    1112long_description    ${description}
    1213
    13 checksums           md5     ccd4224ec51e35ccd50c6a119f304284 \
    14                     sha1    b9d66b79391aef4bc574af62e716edfe833d9aa8 \
    15                     rmd160  2340ae906e77ba64a31b08ca548f1ecaf2eee79e
     14checksums           rmd160 2340ae906e77ba64a31b08ca548f1ecaf2eee79e \
     15                    sha256 b9035ea89b6834feb146fe4e8749a9289d4a26f2de40e79ad74e5ce3532e3ea7
  • trunk/dports/math/octave-io/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    45PortGroup           octave 1.0
    56
    6 octave.setup        io 1.0.9
     7octave.setup        io 1.2.4
    78platforms           darwin
    8 license             GPL-2+ GPL-3+ BSD
     9license             GPL-3+ BSD
    910maintainers         nomaintainer
    1011description         Input/Output in external formats.
    1112long_description    ${description}
    1213
    13 checksums           md5     a53eb6864746d230240745a8f82c0d0b \
    14                     sha1    2c9e3d9b94aba55f97d42dbf91d7d8c6b6af2f21 \
    15                     rmd160  a6009ca3afe53573624348bbd8d449679badbabb
     14checksums           rmd160 8b3a75b52e436e76f14b7266427d5c37f92c2831 \
     15                            sha256 3f3bc13b074adab4c6f9c2c37d8f4540d6c2d83dad1b2abb1732422f9c302f88
  • trunk/dports/math/octave-irsa/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    1112long_description    ${description}
    1213
    13 checksums           md5     1e1d48ad70334be377e156b81012c6a6 \
    14                     sha1    037cc804a3688e74c1f096d3435ae315bf480f82 \
    15                     rmd160  83343bbcb302f9ecbad311e879536ee7d540aaff
     14checksums           rmd160 83343bbcb302f9ecbad311e879536ee7d540aaff \
     15                    sha256 244c344e1217e3323aac46142c087ba303e5af2e2169cc7ea3287f4b5f2fe07c
  • trunk/dports/math/octave-java/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    45PortGroup           octave 1.0
    56
    6 octave.setup        java 1.2.6
     7octave.setup        java 1.2.9
    78platforms           darwin
    89license             GPL-2+
    910maintainers         nomaintainer
    10 description         Provides Java interface with OO-like Java objects \
    11                     manipulation
     11description         Provides Java interface with OO-like Java \
     12                    objects manipulation.
    1213long_description    ${description}
    1314
    14 checksums           md5     c6b1dc49493fd7ede6fd369538321161 \
    15                     sha1    b2bdb114dc84b9ecd9be8f529156ab7324ffe294 \
    16                     rmd160  a61788055ee1e55af536eb62cc87ff92eaf05f06
     15checksums           rmd160 92381c184001c131ac49aff387dbb06f3fb02493 \
     16                    sha256 e2292c71456b01c3818c3bff3709908f4195277a9f11d83825cc4d815212fbfe
     17
     18patchfiles-append   patch-src_configure.diff
     19
     20configure.env-append JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home
  • trunk/dports/math/octave-linear-algebra/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    45PortGroup           octave 1.0
    56
    6 octave.setup        linear-algebra 1.0.8
     7octave.setup        linear-algebra 2.2.0
    78platforms           darwin
    8 license             GPL-2+ GPL-3+ LGPL-2.1+
     9license             GPL-3+ LGPL-3+ FreeBSD
    910maintainers         nomaintainer
    10 description         Additional linear algebra code, including general SVD and \
    11                     matrix functions.
     11description         Additional linear algebra code, including \
     12                    general SVD and matrix functions.
    1213long_description    ${description}
    1314
    14 checksums           md5     a40aaca0061117cc483eef89c2f9530f \
    15                     sha1    08332368e1d7f933802320fae22c4ed7ab72a9b2 \
    16                     rmd160  e19b067efb39afa244a27c0442af650bf588f72b
     15checksums           rmd160 19f098c03ceace1e92cfc1cd3aceb56b4d684f46 \
     16                    sha256 a62c88a0591d325fd9e80b05a18565aa4fa923f2aad709a92d9519adb4731a20
     17
     18depends_lib-append  port:octave-general
     19
     20patchfiles-append   patch-src_Makefile.diff
  • trunk/dports/math/octave-mapping/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    1112long_description    ${description}
    1213
    13 checksums           md5     f4b2e181d98111cc0c761b7f5086ed01 \
    14                     sha1    9b8db2f408986f824d4bff9ea5067acfd8593311 \
    15                     rmd160  c28caacd181f05a0f372a59e6404810902206009
     14checksums           rmd160 c28caacd181f05a0f372a59e6404810902206009 \
     15                    sha256 204b9694dde40340186df7f8992a569fcf9ce7e69934b9fa02d26531840db926
  • trunk/dports/math/octave-miscellaneous/Portfile

    r101771 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    67octave.setup        miscellaneous 1.2.0
    78platforms           darwin
    8 license             GPL-2+ GPL-3+
     9license             GPL-3+
    910maintainers         nomaintainer
    10 description         Miscellaneous tools including waitbar, xml tools, etc
     11description         Miscellaneous tools that don't fit somewhere else.
    1112long_description    ${description}
     13
     14checksums           rmd160 464ac6466bdbec74ace310901d567c737e155489 \
     15                    sha256 3d5cf8adad50e3c214b5e1ba7e62a71a04340592f5c2b027e313e51ef69c6cef
    1216
    1317depends_lib-append  port:octave-general
    1418
    15 checksums           md5     6e121c6bf3120516817c32a7137d61f9 \
    16                     sha1    eec920357a581f26b2bc9079e32732b77c3a641b \
    17                     rmd160  464ac6466bdbec74ace310901d567c737e155489
     19patchfiles-append   patch-src_partarray.cc.diff
  • trunk/dports/math/octave-missing-functions/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    67octave.setup        missing-functions 1.0.2
    78platforms           darwin
    8 license             GPL-3+ public-domain
     9license             GPL-2+
    910maintainers         nomaintainer
    1011description         Find functions that are in Matlab but not in Octave.
    1112long_description    ${description}
    1213
    13 checksums           md5     d975028d2a0fa9778b4ffedd4c1abba2 \
    14                     sha1    ed641e5af8c1366175b1024c2ae124c15c6986fc \
    15                     rmd160  2dcac957d371610b715397d109c9dd8778e7b7c6
     14checksums           rmd160 2dcac957d371610b715397d109c9dd8778e7b7c6 \
     15                    sha256 f8d004a4e24b2f7f3619cf7bfe1e38ed8c38d29ad3c35f25767ddd76b14a1fd0
  • trunk/dports/math/octave-msh/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    45PortGroup           octave 1.0
    56
    6 octave.setup        msh 0.1.1
     7octave.setup        msh 1.0.8
    78platforms           darwin
    89license             GPL-2+
    910maintainers         nomaintainer
    1011description         Package for creating and managing triangular and \
    11                     tetrahedral meshes for Finite Element or Finite Volume \
    12                     PDE solvers. Uses a mesh data structure compatible with \
    13                     pdetool. Relies on gmsh for unstructured mesh generation.
     12                    tetrahedral meshes for Finite Element or Finite \
     13                    Volume PDE solvers. Uses a mesh data structure \
     14                    compatible with pdetool. Relies on gmsh for \
     15                    unstructured mesh generation.
    1416long_description    ${description}
    1517
    16 checksums           md5     74da2651bbbb8425162efd49d5c4e4e8 \
    17                     sha1    a404fa12bbdb3650894e41cb212aaccb48640f99 \
    18                     rmd160  848aececa70ac5c15616ee866dccb959bf0b1927
     18checksums           rmd160 092f3126f6514ba2797644d84480348316aad4d9 \
     19                    sha256 b10f396d9e0ccde4284f33a34f4906df915d7ef96a364490bd6c7c973d8c7036
    1920
    2021depends_lib-append  port:octave-splines
     22
     23patchfiles-append   patch-src_Makefile.in.diff
  • trunk/dports/math/octave-multicore/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    67octave.setup        multicore 0.2.15
    78platforms           darwin
    8 license             GPL-2
     9license             GPL-2+
    910maintainers         nomaintainer
    10 description         An Octave-forge package providing functions for parallel \
    11                     processing on multiple cores.
     11description         An Octave-forge package providing functions \
     12                    for parallel processing on multiple cores.
    1213long_description    ${description}
    1314
    14 checksums           md5     ae3fc6bf5e54f37924ef6f0b24463bcf \
    15                     sha1    ed62f2b19ba1eede8ce7e7a5f02f737b8c8ad47e \
    16                     rmd160  87c25b5c18f66a0734b6a19a44de35530a29b5a0
     15checksums           rmd160 87c25b5c18f66a0734b6a19a44de35530a29b5a0 \
     16                    sha256 342f44e08d2d0faceabd8b9ec1fc73e87d946d1303c37348b15ffbb38f06e209
  • trunk/dports/math/octave-nan/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
    34PortSystem          1.0
    45PortGroup           octave 1.0
     6PortGroup           compiler_blacklist_versions 1.0
    57
    6 octave.setup        nan 1.0.9
     8octave.setup        nan 2.5.5
    79platforms           darwin
    8 license             GPL-2+ GPL-3+
     10license             GPL-3+
    911maintainers         nomaintainer
    10 description         Missing value statistical toolbox
     12description         A statistics and machine learning toolbox for \
     13                    data with and without missing values.
    1114long_description    ${description}
    1215
    13 checksums           md5     0621816fb2bdf111e4697f3b08ed8c3c \
    14                     sha1    dfdf4071bd14e62951b84522aef8f38949ecabe4 \
    15                     rmd160  e760c8a7361191afb5b3ee2408d09b6eff13d9b6
     16checksums           rmd160 9ebae4103080376b5d7f0f2eec27ff797e709c31 \
     17                    sha256 1c8d03a8bb797bffed7ec1fe40c5b876fdc8e18e5d9c13093a24c68a5f9adeff
     18
     19patchfiles          patch-src_Makefile.diff \
     20                    patch-src_xptopen.cpp.diff
  • trunk/dports/math/octave-nnet/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    45PortGroup           octave 1.0
    56
    6 octave.setup        nnet 0.1.10
     7octave.setup        nnet 0.1.13
    78platforms           darwin
    89license             GPL-2+
     
    1112long_description    ${description}
    1213
    13 checksums           md5     a9780d6310ab194423807a2e46b32585 \
    14                     sha1    a3bdd6914268f70dbfc8d30d001014cb8783861a \
    15                     rmd160  df59efda0597d2eace9112c19ec036d3e907f65a
     14checksums           rmd160 9a2079012780ddac84fc383b19a5384a2bb0dfa4 \
     15                    sha256 e1388ea8f56bad0c609e879f2e19432d117111487cc6980ae78bb69cef48e41d
  • trunk/dports/math/octave-ocs/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    45PortGroup           octave 1.0
    56
    6 octave.setup        ocs 0.0.4
     7octave.setup        ocs 0.1.3
    78platforms           darwin
    8 license             GPL-2
     9license             GPL-2+
    910maintainers         nomaintainer
    10 description         Package for solving DC and transient MNA equation stemming \
    11                     from electrical circuit
     11description         Package for solving DC and transient \
     12                    electrical circuit equations.
    1213long_description    ${description}
    1314
    14 checksums           md5     d2884ce53979b77d00e53eca7c1a789d \
    15                     sha1    ab1f502c62c08f29992258225b58cedbc0cf10d6 \
    16                     rmd160  d93e60fc0f40f373192f0ffca84c8733955e3508
     15checksums           rmd160 35c7e5816bcce3a19177bc5c846201cc23bd728f \
     16                    sha256 eb0e69b2bb498200947b598cd43181c49511d4df9acbaaeb14dd817719d55829
     17
     18depends_lib-append  port:octave-odepkg
  • trunk/dports/math/octave-octcdf/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    45PortGroup           octave 1.0
    56
    6 octave.setup        octcdf 1.0.13
    7 revision            1
     7octave.setup        octcdf 1.1.6
    88platforms           darwin
    9 license             GPL-2
     9license             GPL-2+
    1010maintainers         nomaintainer
    11 description         A NetCDF interface for octave
     11description         A NetCDF interface for octave.
    1212long_description    ${description}
    1313
    14 checksums           md5     318d8d3a6272ddbfef7f259dd3998013 \
    15                     sha1    a74e9233f8309a7e39171aed552e8160eff04090 \
    16                     rmd160  570cd84e7ddc833ff6850134c5e661afc2bae55d
     14checksums           rmd160 73be3273a4479a4b315384989b2601cc7957192b \
     15                    sha256 be7ba69ab0c130721a79395bb8217b9ffe939ac54df3201d63dc9bd84a480a51
    1716
    1817depends_lib-append  port:netcdf
     18
     19patchfiles-append   patch-src_configure.diff
  • trunk/dports/math/octave-odebvp/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    89license             GPL-2+
    910maintainers         nomaintainer
    10 description         To approximate the solution of the boundary-value problem \
    11                     y''=p(x)*y' + q(x)*y + r(x), a<=x<=b, y(a)=alpha, \
    12                     y(b)=beta by the linear finite-diffence method.
     11description         To approximate the solution of the \
     12                    boundary-value problem \
     13                    y''=p(x)*y' + q(x)*y + r(x), a<=x<=b, \
     14                    y(a)=alpha, y(b)=beta by the linear \
     15                    finite-diffence method.
    1316long_description    ${description}
    1417
    15 checksums           md5     7ace0e26b6a4b1abed4959c73eeaf133 \
    16                     sha1    c20253c62838c610c8da1b984554a5aa031262a1 \
    17                     rmd160  f8542decb4d7e3b7852ceb806aa1310367de8c18
     18checksums           rmd160 f8542decb4d7e3b7852ceb806aa1310367de8c18 \
     19                    sha256 36f924e58d80b8f23852a1d4ef8486eba2975e6d20dd00bd4ce3307586eb3f67
  • trunk/dports/math/octave-odepkg/Portfile

    r96943 r114034  
    55PortGroup           octave 1.0
    66
    7 octave.setup        odepkg 0.8.2
     7octave.setup        odepkg 0.8.4
    88platforms           darwin
    99license             GPL-2+
    1010maintainers         nomaintainer
    11 description         An octave package for solving ordinary differential \
    12                     equations and more.
     11description         An octave package for solving ordinary \
     12                    differential equations and more.
    1313long_description    ${description}
    1414
    15 checksums           rmd160  22c5ee30ce74d7bb661c6ab61e75eb0858ba44d8 \
    16                     sha256  c190f5ca3a1497ac8a39bcf71d5292729d9f6f285d9a078639faa77d02b31cff
    17 
    18 use_parallel_build  no
    19 
    20 depends_build       port:gsed
     15checksums           rmd160  ce21189ac2a57ee091f75af91e4eb68f43c6b317 \
     16                    sha256  77e99f082712c78ca4bcce389b786a6c8a546d0dc3b89bcced544518eb492cb8
  • trunk/dports/math/octave-optim/Portfile

    r101771 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    67octave.setup        optim 1.2.2
    78platforms           darwin
    8 license             GPL-2+ GPL-3+
     9license             GFDL GPL-3+ BSD public-domain
    910maintainers         nomaintainer
    1011description         Unconstrained Non-linear Optimization toolkit.
    1112long_description    ${description}
    1213
     14checksums           rmd160 7816d2c40d948485426b1f4340e0ed32427a4abf \
     15                    sha256 28b55e2aca3d28f655fe95644352b8bd2960f0d5809f0d64707499897248068c
     16
    1317depends_lib-append  port:octave-miscellaneous \
    1418                    port:octave-struct
    15 
    16 checksums           md5     dce5e543c47ecc71ce0e8bb37994ed5d \
    17                     sha1    c1fbd588dd11150ff4e973d4b93582c8bd6126ed \
    18                     rmd160  7816d2c40d948485426b1f4340e0ed32427a4abf
  • trunk/dports/math/octave-optiminterp/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    45PortGroup           octave 1.0
    56
    6 octave.setup        optiminterp 0.3.2
     7octave.setup        optiminterp 0.3.4
    78platforms           darwin
    8 license             GPL-2+
     9license             GPL-3+
    910maintainers         nomaintainer
    10 description         An optimal interpolation toolbox for octave. This package \
    11                     provides functions to perform a n-dimensional optimal \
    12                     interpolations of arbitrarily distributed data points.
     11description         An optimal interpolation toolbox for octave. \
     12                    This package provides functions to perform a \
     13                    n-dimensional optimal interpolations of \
     14                    arbitrarily distributed data points.
    1315long_description    ${description}
    1416
    15 checksums           md5     d68ae8c3fdea03df953eb30790524220 \
    16                     sha1    2f59d8cf5acda824fb09823ef27a6a109db0b4ec \
    17                     rmd160  ccf8119ab8c05bb072bf45f1ddf1fd1ddc281794
     17checksums           rmd160 b9e9771c9fc9eb78c1500a0bba7870368ab44f44 \
     18                    sha256 483bfcfc282b76b36e70f293cae8209ee0e12b9eeb97b4fd9a837202bfd8f74a
  • trunk/dports/math/octave-outliers/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    89license             GPL-2+
    910maintainers         nomaintainer
    10 description         Grubbs, Dixon and Cochran tests for outlier detection and \
    11                     p-value approximating routines.
     11description         Grubbs, Dixon, and Cochran tests for outlier \
     12                    detection and p-value approximating routines.
    1213long_description    ${description}
    1314
    14 checksums           md5     d2829f19afccb01489caf2c1feee0d9f \
    15                     sha1    3589598382fbddbb0771a54b90272be63bdd2e44 \
    16                     rmd160  dcbac14d3a09b71828ee72d3de3598bfbfa52851
     15checksums           rmd160 dcbac14d3a09b71828ee72d3de3598bfbfa52851 \
     16                    sha256 075c69c4a1793c1fabc87fcc3ad69803faf9625c6d9c2dc8f9811969d0f68045
  • trunk/dports/math/octave-parallel/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    45PortGroup           octave 1.0
    56
    6 octave.setup        parallel 2.0.0
     7octave.setup        parallel 2.0.5
    78platforms           darwin
    89license             GPL-2+ GPL-3+
    910maintainers         nomaintainer
    10 description         Parallel execution package for cluster computers
     11description         Parallel execution package for cluster computers.
    1112long_description    ${description}
    1213
    13 checksums           md5     c46a96a79445d4581b929d2d02e941ef \
    14                     sha1    f0bfde75c677cf4dca1a1a1dfa6c1233bc7bcb68 \
    15                     rmd160  10556901eae3cfd57622f55aae06d7bea1c853c6
     14checksums           rmd160 b96a055e66bc86fbb571908c573f7ec3644c9a52 \
     15                    sha256 ca23168bc327d0dcdec3f349237b6813977236c6b1c1c45e560284247460cb1a
     16
     17patchfiles-append   patch-add-unistd.h.diff
  • trunk/dports/math/octave-pdb/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    89license             GPL-2+
    910maintainers         nomaintainer
    10 description         Reads and display PDB-files from the Brookhaven protein \
    11                     databank
     11description         Reads and display PDB-files from the \
     12                    Brookhaven protein databank.
    1213long_description    ${description}
    1314
    14 checksums           md5     ff0f53e697849372199ff44ef0d95796 \
    15                     sha1    720828be8c1671bae3d90d1939a5520d70a7bd56 \
    16                     rmd160  f453f67d31fac2f7652084a880f3c3fe91a72a31
     15checksums           rmd160 f453f67d31fac2f7652084a880f3c3fe91a72a31 \
     16                    sha256 fe07e08ae7e41aa7a014f73cf7349c2d70030f05577e127e2e0e38171e0fa7b8
  • trunk/dports/math/octave-physicalconstants/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    45PortGroup           octave 1.0
    56
    6 octave.setup        physicalconstants 0.1.7
     7octave.setup        physicalconstants 1.0.0
    78platforms           darwin
    8 license             GPL-2
     9license             GPL-3+
    910maintainers         nomaintainer
    10 description         Physical Constants from Atomic & Molecular Physics, taken \
    11                     from NIST database
     11description         Physical Constants from Atomic and Molecular \
     12                    Physics, taken from NIST database.
    1213long_description    ${description}
    1314
    14 checksums           md5     808a9c50a0e77cdf31e62c968d82d85b \
    15                     sha1    58a3a4627de5b1c5a185ee1331aec1d310a05e01 \
    16                     rmd160  8d5b85066e3f65f1e49cc723bf249c880e7d41a6
     15checksums           rmd160 4fad4b6e3aa1d07f445b066b54cb56e0e6f2d515 \
     16                    sha256 8cb5662970ccaf1f07955fe1781e4584fae163e68ba7c668690eb6e7a1368a16
     17
     18depends_lib-append  port:octave-miscellaneous
  • trunk/dports/math/octave-plot/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    45PortGroup           octave 1.0
    56
    6 octave.setup        plot 1.0.7
     7octave.setup        plot 1.1.0
    78platforms           darwin
    8 license             GPL-2+ GPL-3+
     9license             GPL-2+
    910maintainers         nomaintainer
    1011description         Additional ploting tools for Octave.
    1112long_description    ${description}
    1213
    13 checksums           md5     b740cf4b7818b17f84ffcebf80fe3dd1 \
    14                     sha1    a0fa23a77791e7df90ba587c0ddbec62d16adfe1 \
    15                     rmd160  421fa29e2448e150dec179f5ffc60f2ea1753dba
     14checksums           rmd160 8852b3a25627471d1a34bb8deb073380b0fd19d2 \
     15                    sha256 48350ee5f7de240148d5ea77f3ff428312878ca6c7d3b4259f067b294af24666
  • trunk/dports/math/octave-pt_br/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    45PortGroup           octave 1.0
    56
    6 octave.setup        pt_br 1.0.8
     7octave.setup        pt_br 1.0.9
    78platforms           darwin
    89license             GPL-2+
    910maintainers         nomaintainer
    10 description         Brazilian Portuguese translations of the help strings of \
    11                     the Octave functions.
     11description         Brazilian Portuguese translations of the \
     12                    help strings of the Octave functions. \
     13                    This module does not work with Octave 3.6 \
     14                    or newer\; this port is being deprecated.
    1215long_description    ${description}
    1316
    14 checksums           md5     603b69e50932bc1c07f1376553c61cda \
    15                     sha1    70ca95444a5c750461094988d7ee99170cd8a782 \
    16                     rmd160  45c4e25dc3692a9ef599b41a8f066240d27c9210
     17depends_build
     18depends_lib
     19depends_run
     20
     21pre-fetch {
     22    ui_msg ""
     23    ui_error "$name does not work with Octave 3.6 or newer.\n"
     24    error "deprecated Octave module\n"
     25}
  • trunk/dports/math/octave-secs1d/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    45PortGroup           octave 1.0
    56
    6 octave.setup        secs1d 0.0.8
     7octave.setup        secs1d 0.0.9
    78platforms           darwin
    89license             GPL-2+
    910maintainers         nomaintainer
    10 description         A Drift-Diffusion simulator for 1d semiconductor devices
     11description         A Drift-Diffusion simulator for 1d \
     12                    semiconductor devices.
    1113long_description    ${description}
    1214
    13 checksums           md5     597cb19b22ba2a4950dc957fd9aed526 \
    14                     sha1    20cf4860848dc62c605232a7562ec451d03bb951 \
    15                     rmd160  f33689353f0374b0d9e23bcbbb02b54e1f568239
     15checksums           rmd160 5890b3e82de3ee23f3be91e14795a11aa3d605f2 \
     16                    sha256 48a3ab03ff92478efe3c557144f5fb4b198ab6766f4e2a77a67683114c688aa8
     17
     18depends_lib-append  port:octave-bim
  • trunk/dports/math/octave-signal/Portfile

    r101771 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    45PortGroup           octave 1.0
    56
    6 octave.setup        signal 1.2.0
     7octave.setup        signal 1.2.2
    78platforms           darwin
    8 license             GPL-2+ GPL-3+
     9license             GPL-3+ public-domain
    910maintainers         nomaintainer
    10 description         Signal processing tools, including filtering, windowing \
    11                     and display functions.
     11description         Signal processing tools, including filtering, \
     12                    windowing and display functions.
    1213long_description    ${description}
    1314
    14 depends_lib-append  port:octave-optim \
    15                     port:octave-control \
     15checksums           rmd160 2dff5e3e0d5c28f13d675fc9d5ce7990ed0d5604 \
     16                    sha256 3f1d63cc8c0a2cdc8a88718e029b09ae5c6b2cd173762720f8b5dc15cc20ad17
     17
     18depends_lib-append  port:octave-control \
     19                    port:octave-general \
    1620                    port:octave-specfun
    17 
    18 checksums           md5     71487d316094759b6f58dab1aec75654 \
    19                     sha1    87ed51b878ac49d32c328032500dff452132240b \
    20                     rmd160  cd87b9f9f686cf2da7289f58a5bde8cf156204af
  • trunk/dports/math/octave-sockets/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
    34PortSystem          1.0
    45PortGroup           octave 1.0
     6PortGroup           compiler_blacklist_versions 1.0
    57
    6 octave.setup        sockets 1.0.5
     8octave.setup        sockets 1.0.8
    79platforms           darwin
    8 license             GPL-2
     10license             GPL-3+
    911maintainers         nomaintainer
    10 description         Socket functions
     12description         Socket functions.
    1113long_description    ${description}
    1214
    13 checksums           md5     5272355a695a34f1ebffbeda701c2f0e \
    14                     sha1    328356dfbb14557a774e905b446ba53688e123cd \
    15                     rmd160  97e616b36b8c61649e65ecac6eb590a6c52469d1
     15checksums           rmd160 c1b8089ffd1553f508eca6f6bb1035b5e7879ef9 \
     16                    sha256 31411a11e0a31adb98e2e21343b858c8d5862eb5cc0eb0a56017a75dcefac4a6
     17
     18patchfiles-append    patch-src_Makefile.diff
     19
     20depends_build-append port:gsed
     21
     22configure.env-append SED=${prefix}/bin/gsed
  • trunk/dports/math/octave-specfun/Portfile

    r101771 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    67octave.setup        specfun 1.1.0
    78platforms           darwin
    8 license             GPL-2+ GPL-3+
     9license             GPL-3+ BSD
    910maintainers         nomaintainer
    10 description         Special functions including ellipitic functions, etc
     11description         Special functions including ellipitic \
     12                    functions, etc.
    1113long_description    ${description}
    1214
    13 checksums           md5     eef8c1ff37b05d5e3388ecedc045d53a \
    14                     sha1    293a98dc2139057aa7119f3065d501616431c6a5 \
    15                     rmd160  bf90f9568ad7a6f2b7d58c1738c2e977cc6343d8
     15checksums           rmd160 bf90f9568ad7a6f2b7d58c1738c2e977cc6343d8 \
     16                    sha256 d321650865db848df67a7161e8f82b5d49ab01eb8db2d5b5cce2cfab3467cb0f
  • trunk/dports/math/octave-special-matrix/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    67octave.setup        special-matrix 1.0.7
    78platforms           darwin
    8 license             public-domain
     9license             GPL-2+
    910maintainers         nomaintainer
    1011description         Additional Special Matrices for Octave.
    1112long_description    ${description}
    1213
    13 checksums           md5     7dcd0154aca5fbb0de20628352c3dcfa \
    14                     sha1    6c9f36a45071ecbb4c75d8084d3bee70652cd4f6 \
    15                     rmd160  dfac40b0aa692dbf6221829ffac9f895bb0620b2
     14checksums           rmd160 dfac40b0aa692dbf6221829ffac9f895bb0620b2 \
     15                    sha256 1e936b5951343729f638f91172e7033491fdd03ab30bf9ee7529dc9c04780222
  • trunk/dports/math/octave-spline-gcvspl/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    89license             public-domain
    910maintainers         nomaintainer
    10 description         B-spline data smoothing using generalized cross-validation \
    11                     and mean squared prediction or explicit user smoothing
     11description         B-spline data smoothing using generalized \
     12                    cross-validation and mean squared prediction \
     13                    or explicit user smoothing.
    1214long_description    ${description}
    1315
    14 checksums           md5     cc09645ff71e45fc2789b2a563f1544b \
    15                     sha1    83750b3309a68dac1746817368dc320acb4595b9 \
    16                     rmd160  fd5a560ed9eac13d764b9c8278c63d4020074659
     16checksums           rmd160 fd5a560ed9eac13d764b9c8278c63d4020074659 \
     17                    sha256 ca0182643c03bcec7478c8d182c320b5bbe4c87e86cdeb3a654cd93146b59124
     18
     19# no longer exists on octave-forge
     20
     21livecheck.type      none
  • trunk/dports/math/octave-splines/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    45PortGroup           octave 1.0
    56
    6 octave.setup        splines 1.0.7
     7octave.setup        splines 1.2.5
    78platforms           darwin
    8 license             GPL-2+ public-domain
     9license             GPL-3+ public-domain
    910maintainers         nomaintainer
    1011description         Additional Cubic spline functions.
    1112long_description    ${description}
    1213
    13 checksums           md5     6fbe9bd3c8b8ee5199d3866599409b1b \
    14                     sha1    f972b7224ed896e1bee8df3f41938dd01c488a0c \
    15                     rmd160  f66e5c5b69b4f4aef67d00b0a412a63a21418dd5
     14checksums           rmd160 bf994e125b9366efd45ed94e34b979c4e7b1ec19 \
     15                            sha256 5b2cafc39e94c78a6186d422784a8ed253c427bc5b06525be045c7729978b641
  • trunk/dports/math/octave-statistics/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    45PortGroup           octave 1.0
    56
    6 octave.setup        statistics 1.0.9
     7octave.setup        statistics 1.2.2
    78platforms           darwin
    8 license             GPL-2+ GPL-3+ public-domain
     9license             GPL-3+ public-domain
    910maintainers         nomaintainer
    1011description         Additional statistics functions for Octave.
    1112long_description    ${description}
    1213
    13 checksums           md5     e0b7f32ce2854e3de7d032cc9e9e6dbc \
    14                     sha1    45763558c7b57d41c4b36f0c715770c9d3d5e6bc \
    15                     rmd160  3f5895975e4fe45c2bd32567400547dc73754163
     14checksums           rmd160 da7444c63d986ce59b37368a384f8deb9ca15005 \
     15                    sha256 87219eeff132657952579044bca84e85e39c9c4a699dc2d5d51a86fc40d06be2
     16
     17depends_lib-append  port:octave-io
  • trunk/dports/math/octave-strings/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    45PortGroup           octave 1.0
    56
    6 octave.setup        strings 1.0.7
     7octave.setup        strings 1.1.0
    78platforms           darwin
    8 license             GPL-2+ BSD public-domain
     9license             GPL-3+ BSD public-domain
    910maintainers         nomaintainer
    10 description         Additional manipulation functions
     11description         Additional manipulation functions.
    1112long_description    ${description}
    1213
    13 checksums           md5     0b360fc1db30daf8e74db85548aad0fb \
    14                     sha1    ab6a49f72b925cba7a5b3e8bf5fc5850484abc42 \
    15                     rmd160  a33812368f8f257f0646fe5499cbf9d55cba312c
     14checksums           rmd160 72b39a0621774b1f2428f02f0d22b174446fd18e \
     15                    sha256 068df2b39d938c530a4d9f8ffefa4735f5bb64b1bc1d05957b1f2d7566309d68
     16
     17depends_lib-append  port:pcre
     18
     19patchfiles          patch-src_Makefile.diff
  • trunk/dports/math/octave-struct/Portfile

    r101771 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    67octave.setup        struct 1.0.10
    78platforms           darwin
    8 license             GPL-2+ GPL-3+
     9license             GPL-3+
    910maintainers         nomaintainer
    1011description         Additional Structure manipulations functions.
    1112long_description    ${description}
    1213
    13 checksums           md5     6531dbadbadd86b79b74ca86b6d39c9e \
    14                     sha1    4703b20612c9e5ec48765af15c28e7a1fc90d427 \
    15                     rmd160  dca73a23067fb9f8c35cc9cb9250e297cee7639c
     14checksums           rmd160 dca73a23067fb9f8c35cc9cb9250e297cee7639c \
     15                    sha256 033c2a3cc0ec92668f3ac09b7bf14c816e7a4921901ed9421d30af7da9d3308c
  • trunk/dports/math/octave-symband/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    1112long_description    ${description}
    1213
    13 checksums           md5     3744cbef41294e517e78c8fc8265bb3e \
    14                     sha1    c66738992c661f70865cf524e76b82e3a73455bb \
    15                     rmd160  e21138ccca45d33986ca2ce58f930739030ec504
     14checksums           rmd160 e21138ccca45d33986ca2ce58f930739030ec504 \
     15                    sha256 2149ec9a7422e5b2d8f66ea0bcd6a2820bd6625e345e0719320d29874530c4c5
  • trunk/dports/math/octave-tcl-octave/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    89license             public-domain
    910maintainers         nomaintainer
    10 description         socket implementation of a tcl-octave connection
     11description         socket implementation of a tcl-octave connection.
    1112long_description    ${description}
    1213
    13 checksums           md5     a98faee2560360e6282f153f185995bf \
    14                     sha1    e4d32b7b38bb5978e39374d207d3977d0a739b3e \
    15                     rmd160  d7b4f7f40638bd99e195e6fc65157ef4c869c5d6
     14checksums           rmd160 d7b4f7f40638bd99e195e6fc65157ef4c869c5d6 \
     15                    sha256 cb5e6bd8eaac92c3ab1777c51c9e619f2c3bc57d25eb662f66f3f77079856df4
  • trunk/dports/math/octave-time/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    45PortGroup           octave 1.0
    56
    6 octave.setup        time 1.0.9
     7octave.setup        time 2.0.0
    78platforms           darwin
    8 license             GPL-2+ GPL-3+
     9license             GPL-3+
    910maintainers         nomaintainer
    10 description         Additional date manipulation tools.
     11description         Additional date manipulation tools. This a dummy \
     12                    package as transition for the financial package.
    1113long_description    ${description}
    1214
    13 checksums           md5     333d00919b63959aa5f345f134c01c5e \
    14                     sha1    6f37ce459fdcf2667847cc046266cddbaa0d6528 \
    15                     rmd160  64ff0fcf0f07c185d77b1e9682857e960a7922ec
     15checksums           rmd160 5185862d3501b9d9608fe4d7c562de2a83552ba7 \
     16                    sha256 e42609d24b7498d1ed6753dd597f62ae8f9488b094e24ecf7b0e2b366f15c5c3
     17
     18depends_lib-append  port:octave-financial
  • trunk/dports/math/octave-tsa/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    45PortGroup           octave 1.0
    56
    6 octave.setup        tsa 4.0.1
     7octave.setup        tsa 4.2.4
    78platforms           darwin
    89license             GPL-3+
    910maintainers         nomaintainer
    10 description         Stochastic concepts and maximum entropy methods for time \
    11                     series analysis
     11description         Stochastic concepts and maximum entropy \
     12                    methods for time series analysis.
    1213long_description    ${description}
    1314
    14 checksums           md5     ba9d4b039a8644c50708fa93db3bac97 \
    15                     sha1    4ba2e205bb1834b9d15c0b85a3098906c00f9288 \
    16                     rmd160  4c6a5e5b7f815917f0b085c38ea9f2e945ffe419
     15checksums           rmd160 425d30d9b11e79eb25758418360da53ddcb5a09b \
     16                    sha256 b542119a27313c0136bca436be679f6711ff8943130f1231c0c93960c45e6b23
    1717
    18 depends_lib-append  port:octave-nan
     18patchfiles          patch-src_Makefile.diff
  • trunk/dports/math/octave-vrml/Portfile

    r98809 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    67octave.setup        vrml 1.0.13
    78platforms           darwin
    8 license             GPL-3+
     9license             GPL-3+ GFDL
    910maintainers         nomaintainer
    10 description         3D graphics using VRML
     11description         3D graphics using VRML.
    1112long_description    ${description}
    1213
     
    1415                    sha256  c45357d47382b22a37dded72888c34a3839ff608baedbfea11ed2950c21ca9d7
    1516
    16 worksrcdir          vrml
     17depends_lib-append  port:octave-linear-algebra \
     18                    port:octave-miscellaneous \
     19                            port:octave-struct \
     20                    port:octave-statistics
  • trunk/dports/math/octave-windows/Portfile

    r86937 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    45PortGroup           octave 1.0
    56
    6 octave.setup        windows 1.0.8
     7octave.setup        windows 1.2.1
    78platforms           darwin
    89license             GPL-2+
    910maintainers         nomaintainer
    10 description         Provides COM interface and additional functionality on \
    11                     Windows
     11description         Provides COM interface and additional \
     12                    functionality on Windows.
    1213long_description    ${description}
    1314
    14 checksums           md5     b0701380de37f98ac9daaa9418015d6e \
    15                     sha1    413bde63ba9110bc34fd8f065af09ad9bc9d5227 \
    16                     rmd160  6b6d6fde40a2fd37ae90e6dc27b2421dd000ff3c
     15checksums           rmd160 c3488bc84d86faabf57087591ba3752e5bdf58e8 \
     16                    sha256 36dac65fcd6d138d7b3e8ee76aeb989ab3e7158407ed13b10f9322c6ec6706e0
  • trunk/dports/math/octave-zenity/Portfile

    r77787 r114034  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    1011license             GPL-2+
    1112supported_archs     noarch
    12 
    13 description         A set of functions for creating simple graphical user \
    14                     interfaces. It is currently possible to create calendar \
    15                     windows, text entries, file selection dialogs, lists, \
    16                     message windows, icons in the notification area, and \
    17                     windows for large amount of text.
     13description         A set of functions for creating simple graphical \
     14                    user interfaces. It is currently possible to \
     15                    create calendar windows, text entries, file \
     16                    selection dialogs, lists, message windows, icons \
     17                    in the notification area, and windows for large \
     18                    amount of text.
    1819long_description    ${description}
    1920
    20 checksums           sha1    bc24b583385a3d4d6f438361334be530e38752c7 \
    21                     rmd160  f4c7eeacbdc5a0de24398fd09b1b39d9fb42bd83
     21checksums           rmd160 f4c7eeacbdc5a0de24398fd09b1b39d9fb42bd83 \
     22                    sha256 cd1a6fe127b4a96f18cc25a4981537a279ad8f1b877287049b11d9afd2a0bd59
    2223
    2324depends_lib-append  port:zenity
  • trunk/dports/math/octave/Portfile

    r110936 r114034  
    22# $Id$
    33
    4 PortSystem 1.0
     4PortSystem          1.0
     5PortGroup           active_variants 1.1
     6PortGroup           compiler_blacklist_versions 1.0
    57
    68name                octave
    7 version             3.2.4
    8 revision            16
    9 conflicts           octave-devel
     9
     10version             3.6.4
     11revision            10
     12#conflicts           octave-devel
    1013categories          math science
    11 license             GPL-3+
    12 maintainers         nomaintainer
     14maintainers         michaelld openmaintainer
     15license             GPL-3
    1316platforms           darwin
     17
    1418description         a Matlab-like environment for numerical analysis
    1519long_description    Octave provides a convenient command line interface \
     
    2125
    2226homepage            http://www.gnu.org/software/octave/
    23 master_sites        gnu
    24 
    25 checksums           md5     90c39fa9e241ad2e978bcee4682a2ba9 \
    26                     sha1    93b81fc300bc5e27e88b6668ef0622f29898dfd2 \
    27                     rmd160  13b2198db1b8684229d2ba787ebbedd8e50a518c
    28 
    29 depends_build       port:gawk \
     27dist_subdir         octave
     28distname            octave-${version}
     29master_sites        gnu:octave
     30use_bzip2           yes
     31
     32checksums \
     33    rmd160  b0356f0c5d9366b8129d72ac58bbde837fee1a95 \
     34    sha256  fa185df9591f5d740f4d37ff6eaf06db576fdd3e0ddd9d0737365799e5d1c962
     35
     36# temporary patches; these are already, or will be, fixed upstream.
     37
     38patchfiles-append \
     39    patch-liboctave-eigs-base.cc.diff \
     40    patch-liboctave-regexp.h.diff \
     41    patch-configure.diff
     42
     43if {${os.major} >= 11} {
     44
     45    # 10.7 and newer requires an extra patch; this patch will
     46    # break the build on 10.6 and prior.
     47
     48    patchfiles-append patch-src-display.cc.diff
     49
     50}
     51
     52depends_build-append \
     53                    port:bison \
     54                    port:flex \
     55                    port:gperf \
    3056                    path:bin/perl:perl5 \
    31                     port:texinfo
    32 
    33 depends_lib         port:arpack \
     57                    port:pkgconfig
     58
     59depends_lib-append \
     60                    path:lib/libgcc/libgcc_s.1.dylib:libgcc \
     61                    port:arpack \
    3462                    port:curl \
    3563                    port:fftw-3 \
    3664                    port:fftw-3-single \
    37                     port:ftgl \
    38                     port:ghostscript \
     65                    port:gawk \
    3966                    port:glpk \
     67                    port:gnuplot \
    4068                    port:GraphicsMagick \
    41                     port:gnuplot \
     69                    port:grep \
     70                    port:gsed \
    4271                    port:hdf5-18 \
    43                     port:metis \
     72                    port:less \
    4473                    port:ncurses \
    4574                    port:pcre \
    46                     port:readline \
    4775                    port:qhull \
    4876                    port:qrupdate \
     77                    port:readline \
    4978                    port:SuiteSparse \
    50                     port:gsed
    51 
    52 # TODO: Fix build with clang
    53 #./DiagArray2.h:97:19: error: dependent using declaration resolved to type without 'typename'
    54 #  using Array<T>::element_type;
    55 #                  ^
    56 #./MDiagArray2.h:42:22: note: in instantiation of template class 'DiagArray2<std::complex<double> >' requested here
    57 #MDiagArray2 : public DiagArray2<T>
    58 #                     ^
    59 #./CDiagMatrix.h:39:28: note: in instantiation of template class 'MDiagArray2<std::complex<double> >' requested here
    60 #ComplexDiagMatrix : public MDiagArray2<Complex>
    61 #                           ^
    62 #./Array.h:103:13: note: target of using declaration
    63 #  typedef T element_type;
    64 #            ^
    65 compiler.blacklist *clang*
    66 
    67 platform darwin {
    68     if {${os.major} >= 13} {
    69         # TODO: Test Mavericks once the clang build failures are addressed
    70 
    71         depends_lib
    72         depends_run
    73         pre-fetch {
    74             ui_error "$name does not build on Mavericks or later."
    75             error "unsupported platform"
    76         }
    77     }
    78 }
    79 
    80 patchfiles \
    81     patch-configure-no_x11.diff \
    82     patch-liboctave_oct-alloc.h.diff \
    83     patch-liboctave_oct-inttypes.h.diff \
    84     patch-lo-specfun.cc.diff \
    85     patch-src_pr-output.cc.diff \
    86     patch-urlwrite.cc.diff
    87 
    88 post-patch {
    89     reinplace "s|-lcholmod|-lcholmod -lmetis|g" ${worksrcpath}/configure
    90 }
    91 
    92 configure.args      --enable-shared \
    93                     --enable-dl \
    94                     --with-hdf5 \
    95                     --with-fftw \
    96                     --enable-static \
    97                     --enable-readline \
    98                     --with-zlib \
    99                     --with-glpk \
    100                     --with-curl \
    101                     --with-lapack \
    102                     --with-umfpack \
    103                     --with-colamd \
    104                     --with-ccolamd \
    105                     --with-cholmod \
    106                     --with-cxsparse \
    107                     --without-framework-carbon
     79                    port:zlib
     80
     81depends_run-append  port:epstool \
     82                    port:ghostscript \
     83                    port:transfig \
     84                    port:pstoedit
     85
     86universal_variant   no
     87
     88# common configure arguments
     89
     90configure.args \
     91    --disable-dependency-tracking \
     92    --with-umfpack="-lumfpack -lSuiteSparse"
     93
     94# octave uses a number of other ports to create sources from template:
     95# perl, gawk, gsed, flex, bison, texinfo.  Make sure these are the
     96# MacPorts' versions.  Python is not used if perl is available, so
     97# clear it out.  grep is checked for in 'configure', but not used
     98# except inside that script; include it here for completion.
    10899
    109100configure.perl      ${prefix}/bin/perl
    110101configure.python    ' '
    111102configure.awk       ${prefix}/bin/gawk
    112 
    113 configure.env-append SED="${prefix}/bin/gsed" \
    114                     MAKEINFO="${prefix}/bin/makeinfo" \
    115                     TEXI2DVI="${prefix}/bin/texi2dvi" \
    116                     TEXI2PDF="${prefix}/bin/texi2pdf"
    117 
     103configure.env-append GREP="${prefix}/bin/grep" \
     104                     SED="${prefix}/bin/gsed" \
     105                     TEXI2DVI="${prefix}/bin/texi2dvi" \
     106                     TEXI2PDF="${prefix}/bin/texi2pdf"
    118107configure.cppflags
    119 
    120 post-configure {
    121     reinplace "s|UMFPACK_LIBS = -lumfpack|UMFPACK_LIBS = -lSuiteSparse -lumfpack|" ${worksrcpath}/Makeconf
    122     reinplace "s|-I${prefix}/include ||g" ${worksrcpath}/Makeconf
    123     reinplace "s|-I${prefix}/include$||g" ${worksrcpath}/Makeconf
    124 }
    125 
    126 use_parallel_build  no
    127 universal_variant   no
     108configure.ldflags
    128109
    129110test.run            yes
    130111test.target         check
    131112
    132 variant atlas conflicts accelerate description {use BLAS from ATLAS} {
    133     depends_lib-append port:atlas
    134 }
    135 
    136 variant accelerate conflicts atlas description {use BLAS from Accelerate.framework} {
    137     if {![variant_isset g95]} {
    138         configure.fflags-append -ff2c
    139     }
    140     if {[variant_isset g95] || ([string match *64* $build_arch] && ${os.major} >= 10)} {
    141         depends_lib-append      port:dotwrp
    142         configure.args-append   --with-blas="-ldotwrp -framework Accelerate"
    143     }
    144     configure.args-append   --with-lapack="-framework Accelerate"
    145 }
    146 
     113# Block compilers: Some older versions of CLANG do not honor the CPATH
     114# environment variables, which is required for compiling this port
     115# when using MacPorts.  The versions seem to be: MacPorts CLANG 2.9 or
     116# earlier, and Apple CLANG 318.0.58 or older.
     117#
     118# See also < http://llvm.org/bugs/show_bug.cgi?id=8971 >
     119#          < https://trac.macports.org/ticket/40250 >.
     120
     121compiler.blacklist-append { clang <= 318.0.61 } macports-clang-2.9
     122
     123platform darwin {
     124    if {${os.major} >= 12} {
     125
     126        # In 10.8+, the LANG environment variable needs to be set to
     127        # "C" otherwise /usr/bin/sed fails with an error.  Ideally,
     128        # octave's build system would honor the environment variable
     129        # ${SED} throughout; reality is that it does not, so this
     130        # addition is required because /usr/bin/sed will be used.
     131
     132        build.args-append LANG="C"
     133    }
     134}
     135
     136set gcc_versions {4.3 4.4 4.5 4.6 4.7 4.8 4.9}
     137set gcc_default "4.8"
     138
     139# create g95 variant, with full conflicts of GCC versions
     140
     141set gcc_conflicts ""
     142foreach ver ${gcc_versions} {
     143    set gcc_ver_no_dot gcc[join [split ${ver} "."] ""]
     144    set gcc_conflicts "${gcc_conflicts} ${gcc_ver_no_dot}"
     145}
     146
     147eval [subst {
     148    variant g95 conflicts ${gcc_conflicts} requires accelerate \
     149        description "Build with MacPorts g95 as the Fortran Compiler" {
     150            depends_build-append port:g95
     151            configure.fc ${prefix}/bin/g95
     152            configure.f77 ${prefix}/bin/g95
     153            configure.f90 ${prefix}/bin/g95
     154        }
     155}]
     156
     157# create GCC variants, with partial conflicts of other GCC versions
     158
     159foreach ver1 ${gcc_versions} {
     160
     161    set gcc_ver1_no_dot gcc[join [split ${ver1} "."] ""]
     162
     163    set gcc_conflicts "conflicts g95"
     164    foreach ver2 ${gcc_versions} {
     165        if {${ver1} eq ${ver2}} {
     166            continue
     167        }
     168        set gcc_ver2_no_dot gcc[join [split ${ver2} "."] ""]
     169        set gcc_conflicts "${gcc_conflicts} ${gcc_ver2_no_dot}"
     170    }
     171
     172    eval [subst {
     173        variant ${gcc_ver1_no_dot} ${gcc_conflicts} \
     174            description "Build with the MacPorts ${gcc_ver1_no_dot} as the Fortran Compiler" {
     175                configure.fc  ${prefix}/bin/gfortran-mp-${ver1}
     176                configure.f77 ${prefix}/bin/gfortran-mp-${ver1}
     177                configure.f90 ${prefix}/bin/gfortran-mp-${ver1}
     178            }
     179    }]
     180}
     181
     182# check for setting the default variant
     183
     184set var_selection ""
    147185if {[variant_isset g95]} {
    148     default_variants +accelerate
    149 } elseif {![variant_isset accelerate]} {
     186    set var_selection "g95"
     187} else {
     188    foreach ver ${gcc_versions} {
     189        set gcc_ver_no_dot gcc[join [split ${ver} "."] ""]
     190        if {[variant_isset ${gcc_ver_no_dot}]} {
     191            set var_selection "${gcc_ver_no_dot}"
     192        }
     193    }
     194}
     195
     196# check for need for default variant
     197
     198set gcc_default_no_dot gcc[join [split ${gcc_default} "."] ""]
     199if {"${var_selection}" eq ""} {
     200    default_variants +${gcc_default_no_dot}
     201}
     202
     203# check if the user disabled just the default variant
     204
     205set var_selection ""
     206if {[variant_isset g95]} {
     207    set var_selection "g95"
     208} else {
     209    foreach ver ${gcc_versions} {
     210        set gcc_ver_no_dot gcc[join [split ${ver} "."] ""]
     211        if {[variant_isset ${gcc_ver_no_dot}]} {
     212            set var_selection "${gcc_ver_no_dot}"
     213        }
     214    }
     215}
     216
     217if {"${var_selection}" eq ""} {
     218    ui_error "\n\nYou cannot use the -${gcc_default_no_dot} variant alone; a Fortran compiler is required.\n"
     219    return -code error "Invalid variant selection"
     220}
     221
     222# atlas does not work with g95, so always conflict with it
     223
     224variant atlas description {use BLAS from MacPorts' atlas port} \
     225    conflicts g95 accelerate {}
     226
     227variant accelerate description \
     228    {use BLAS from Apple's Accelerate.framework [might be buggy]} \
     229    conflicts atlas {}
     230
     231if {![variant_isset accelerate] && ![variant_isset atlas]} {
    150232    default_variants +atlas
    151233}
    152 if {![variant_isset atlas] && ![variant_isset accelerate]} {
     234
     235# make sure that either +accelerate or +atlas is selected
     236
     237if {![variant_isset accelerate] && ![variant_isset atlas]} {
     238
     239    ui_error "\n\nYou must select either the +accelerate or +atlas variant.\n"
     240    return -code error "Invalid variant selection"
     241
     242}
     243
     244if {[variant_isset accelerate]} {
     245
     246    depends_lib-append port:dotwrp
     247    configure.args-append \
     248        --with-blas="-ldotwrp -Wl,-framework -Wl,Accelerate" \
     249        --with-lapack="-Wl,-framework -Wl,Accelerate"
     250
     251} else {
     252
     253    depends_lib-append    port:atlas
     254    # NOTE: libtatlas does not work as of 3.10.1_5
     255    configure.args-append \
     256        --with-blas="-lcblas -lf77blas -latlas" \
     257        --with-lapack="-llapack -lgfortran"
     258
     259}
     260
     261variant docs description {Enable creation and installation of \
     262                          documentation including manpages} {}
     263
     264if {[variant_isset docs]} {
     265
     266    depends_lib-append \
     267        port:texinfo \
     268        port:texlive-latex
     269
     270    configure.args-append --enable-docs
     271
     272} else {
     273
     274    configure.args-append --disable-docs
     275
     276}
     277
     278variant x11 description {Enable use of X11} {}
     279
     280if {[variant_isset x11]} {
     281
     282    configure.args-append --with-x --x-includes=${prefix}
     283
     284} else {
     285
     286    configure.args-append --without-x
     287
     288}
     289
     290variant fltk description {Enable FLTK as a graphical front-end} {}
     291
     292if {[variant_isset fltk]} {
     293
     294    depends_lib-append path:lib/libfltk.dylib:fltk \
     295                       port:fontconfig \
     296                       port:freetype
     297    configure.args-append --with-opengl
     298
     299} else {
     300
     301    configure.args-append --without-opengl
     302
     303}
     304
     305variant metis description {Use SuiteSparse + Metis for graph partitioning} {
    153306    pre-fetch {
    154         return -code error "You must use either the atlas or accelerate variant."
    155     }
    156 }
    157 
    158 set gcc_versions {4.3 4.4 4.5 4.6 4.7 4.8 4.9}
    159 set default_fortran_variant +gcc48
    160 set g95_conflicts {}
    161 
    162 foreach ver ${gcc_versions} {
    163     set ver_no_dot [join [split ${ver} "."] ""]
    164 
    165     set variant_line {variant gcc${ver_no_dot} description "build with gfortran from gcc${ver_no_dot}" conflicts g95}
    166 
    167     foreach over ${gcc_versions} {
    168         if {${ver} == ${over}} {
    169             continue
    170         }
    171 
    172         set over_no_dot [join [split ${over} "."] ""]
    173         append variant_line " conflicts gcc${over_no_dot}"
    174     }
    175     append variant_line { {}}
    176 
    177     eval $variant_line
    178 
    179     append g95_conflicts " conflicts gcc${ver_no_dot}"
    180 
    181     if {[variant_isset gcc${ver_no_dot}]} {
    182         if {${default_fortran_variant} != "+gcc${ver_no_dot}"} {
    183             set default_fortran_variant ""
    184         }
    185     }
    186 }
    187 
    188 eval [concat {variant g95 description {build with g95}} $g95_conflicts {{}}]
    189 
    190 if {[variant_isset g95]} {
    191     if {${default_fortran_variant} != "+g95"} {
    192         set default_fortran_variant ""
    193     }
    194 }
    195 
    196 if {${default_fortran_variant} != ""} {
    197     default_variants-append "${default_fortran_variant}"
    198 }
    199 
    200 foreach ver ${gcc_versions} {
    201     set ver_no_dot [join [split ${ver} "."] ""]
    202 
    203     if {[variant_isset gcc${ver_no_dot}]} {
    204         depends_lib-append path:lib/libgcc/libgcc_s.1.dylib:libgcc
    205         depends_build-append port:gcc${ver_no_dot}
    206 
    207         configure.fc  ${prefix}/bin/gfortran-mp-${ver}
    208         configure.f77 ${prefix}/bin/gfortran-mp-${ver}
    209         configure.f90 ${prefix}/bin/gfortran-mp-${ver}
    210     }
    211 }
    212 
    213 if {[variant_isset g95]} {
    214     depends_lib-append path:lib/libgcc/libgcc_s.1.dylib:libgcc
    215     depends_build-append port:g95
    216 
    217     configure.fc ${prefix}/bin/g95
    218     configure.f77 ${prefix}/bin/g95
    219     configure.f90 ${prefix}/bin/g95
     307        ui_msg "\nWARNING: ${name} variant +metis uses the metis port, whose license is incompatible with Octave's.  You can use this combination locally, but you cannot distribute them as a single package (e.g., tarball, m/pkg, archive)."
     308    }
     309}
     310
     311if {[variant_isset metis]} {
     312
     313    depends_lib-append      port:metis
     314    configure.args-append   --with-cholmod="-lcholmod -lmetis"
     315
     316    # make sure SuiteSparse is installed with +metis
     317    require_active_variants SuiteSparse metis
     318
     319} else {
     320
     321    configure.args-append   --with-cholmod="-lcholmod"
     322
     323    # make sure SuiteSparse is installed without +metis
     324    require_active_variants SuiteSparse {} metis
     325
     326}
     327
     328pre-fetch {
     329
     330    # check for +accelerate here as well as in dependent ports;
     331    # Apple's VecLib has bugs that cause Octave to crash sometimes,
     332    # while Atlas does not have these issues.  Print a warning if this
     333    # variant is in use, but do not force the use of +atlas (for now).
     334
     335    if {![catch {set result [active_variants arpack accelerate {}]}]} {
     336        if {$result} {
     337            ui_msg "\nWARNING: Dependency 'arpack' is installed with the +accelerate variant, using Apple's Vector Libraries which have known bugs that can cause Octave to crash if using certain functions in arpack.  The +atlas variant does not have these issues with Octave, and is considered by Octave developers a better way to go.\n"
     338        }
     339    }
     340
     341    if {[variant_isset accelerate]} {
     342        ui_msg "\nWARNING: The +accelerate variant has been selected, using Apple's Vector Libraries which have known bugs that can cause Octave to crash.  The +atlas variant does not have these issues with Octave, and is considered by Octave developers a better way to go.\n"
     343    }
    220344}
    221345
    222346livecheck.type      regex
    223 livecheck.url       http://www.gnu.org/software/octave/news.html
    224 livecheck.regex     Version (\\d+(\\.\\d+)*)
     347livecheck.url       http://www.gnu.org/software/octave/download.html
     348livecheck.regex     GNU Octave (\[\^\ \]*) was
Note: See TracChangeset for help on using the changeset viewer.