Opened 18 years ago

Closed 18 years ago

Last modified 16 years ago

#10855 closed update (fixed)

UPDATE: math/R port bump to version 2.4.0

Reported by: konis@… Owned by: gwright@…
Priority: Low Milestone:
Component: ports Version:
Keywords: Cc: konis@…
Port:

Description

(1) Changed version to 2.4.0 and updated checksums.

(2) Changed compiler dependency to gcc42 because I remember reading that gcc40 had some issues on macintels. If this is no longer the case then the compiler dep can stay with gcc40.


PortSystem 1.0
name             R
version          2.4.0
categories       math science
maintainers      konis@stats.ox.ac.uk
platforms        darwin
description      R is GNU S - an interpreted language for statistical computing
long_description \
    R is a language and environment for statistical computing and graphics. \
    R provides a wide variety of statistical (linear and nonlinear modelling, \
    classical statistical tests, time-series analysis, classification, \
    clustering, ...) and graphical techniques, and is highly extensible.

homepage         http://www.r-project.org/
master_sites     http://cran.r-project.org/src/base/R-2/ \
                 http://cran.us.r-project.org/src/base/R-2/ \
                 http://cran.au.r-project.org/src/base/R-2/ \
                 http://cran.at.r-project.org/src/base/R-2/ \
                 http://cran.hu.r-project.org/src/base/R-2/

checksums        md5 f32379469d8712e9f5dd6435d30127d3 \
                 sha1 b0433978dff831ae2f44b6336bfad44cbe14d4a9 \
                 rmd160 d4cc3257ab5fc6cfefd79877c64c0dff60ababb7

depends_build    port:gcc42 \
                 port:teTeX

depends_lib      port:readline \
                 port:gettext \
                 lib:libjpeg:jpeg \
                 lib:libpng:libpng

configure.env    CPPFLAGS="-I${prefix}/include" \
                 LDFLAGS="-L${prefix}/lib" \
                 CC=${prefix}/bin/gcc-dp-4.2 \
                 CXX=${prefix}/bin/g++-dp-4.2 \
                 F77=${prefix}/bin/gfortran-dp-4.2

configure.args   --mandir=\\\${prefix}/share/man \
                 --enable-R-shlib \
                 --disable-R-framework \
                 --without-aqua

test.run         yes
test.target      check
destroot.destdir prefix=${destroot}${prefix}

platform darwin 6 {
    depends_lib-append lib:libdl:dlcompat
}

platform darwin 7 {
    depends_lib-append port:tcl \
                       port:tk
    configure.args-append --with-tcl-config=${prefix}/lib/tclConfig.sh \
                          --with-tk-config=${prefix}/lib/tkConfig.sh
}

post-destroot {
    reinplace "s|R_HOME_DIR=${destroot}|R_HOME_DIR=|" \
        "${destroot}${prefix}/bin/R"
    reinplace "s|R_HOME_DIR=${destroot}|R_HOME_DIR=|" \
        "${destroot}${prefix}/lib/R/bin/R"
    reinplace "s|R_SHARE_DIR=${destroot}|R_SHARE_DIR=|" \
        "${destroot}${prefix}/bin/R"
    reinplace "s|R_SHARE_DIR=${destroot}|R_SHARE_DIR=|" \
        "${destroot}${prefix}/lib/R/bin/R"
    reinplace "s|R_INCLUDE_DIR=${destroot}|R_INCLUDE_DIR=|" \
        "${destroot}${prefix}/bin/R"
    reinplace "s|R_INCLUDE_DIR=${destroot}|R_INCLUDE_DIR=|" \
        "${destroot}${prefix}/lib/R/bin/R"
    reinplace "s|R_DOC_DIR=${destroot}|R_DOC_DIR=|" \
        "${destroot}${prefix}/bin/R"
    reinplace "s|R_DOC_DIR=${destroot}|R_DOC_DIR=|" \
        "${destroot}${prefix}/lib/R/bin/R"
}

Change History (6)

comment:1 Changed 18 years ago by markd@…

Cc: konis@… added
Summary: math/R port bump to version 2.4.0UPDATE: math/R port bump to version 2.4.0

gcc 4.0 is still an issue for Intel. Could you please attach a patch for the Portfile update? Ripping text out of a browser is prone to cause errors.

comment:2 Changed 18 years ago by gwright@…

Owner: changed from yeled@… to gwright@…
Status: newassigned

comment:3 Changed 18 years ago by gwright@…

Resolution: fixed
Status: assignedclosed

This has been fixed; we now have a portfile that works on both ppc and intel.

comment:4 Changed 17 years ago by nox@…

Milestone: Port Updates
Priority: Nice to haveLow
Type: taskenhancement
Version: 1.3.2

comment:5 Changed 16 years ago by jmroot (Joshua Root)

Type: enhancementupdate

comment:6 Changed 16 years ago by (none)

Milestone: Port Updates

Milestone Port Updates deleted

Note: See TracTickets for help on using tickets.