Opened 19 years ago
Closed 19 years ago
#4563 closed defect (fixed)
Update R port to version 2.1.1
Reported by: | konis@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: |
Description
Here is an update for the R port.
# $Id: $
PortSystem 1.0 name R version 2.1.1 categories math science maintainers konis@… 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 e755b0ba5851ec261000af6b5c510335 depends_lib lib:libreadline:readline \
bin:gettext:gettext \ lib:libgraph:graphviz \ lib:libjpeg:jpeg \ lib:libpng:libpng
depends_build bin:gfortran-dp-4.0:gcc40
bin:latex:teTeX
configure.env CPPFLAGS="-I${prefix}/include" \
LDFLAGS="-L${prefix}/lib" \ F77=gfortran-dp-4.0
configure.args --with-blas="-framework vecLib" --with-lapack \
--enable-R-framework=no
destroot.destdir prefix=${destroot}${prefix}
platform darwin 6 { depends_lib-append lib:libdl:dlcompat }
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"
}
Update has been committed, thanks. In the future, to simplify things, can you attach the Portfile instead of putting it inline, or (better yet), attach a patch from the previous Portfile? Thanks.