# $Id: Portfile,v 1.13 2005/11/27 13:17:11 gwright Exp $ PortSystem 1.0 name R version 2.2.0 revision 1 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 6bddf439ae417a48bd31892996ea111c \ sha1 ebaafa21036877b4ee3d4de9d85cce20f5cf9cbc \ rmd160 9f54eb83c34565cbc483d2ffcc7dcae730ca674a patchfiles patch-configure.diff depends_build port:gcc40 \ 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=gcc-dp-4.0 \ CXX=g++-dp-4.0 \ F77=gfortran-dp-4.0 configure.args --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" }