1 | # $Id: $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name R |
---|
5 | version 2.1.1 |
---|
6 | categories math science |
---|
7 | revision 2 |
---|
8 | maintainers konis@stats.ox.ac.uk |
---|
9 | description R is GNU S - an interpreted language for statistical computing |
---|
10 | long_description \ |
---|
11 | R is a language and environment for statistical computing and graphics. \ |
---|
12 | R provides a wide variety of statistical (linear and nonlinear modelling, \ |
---|
13 | classical statistical tests, time-series analysis, classification, \ |
---|
14 | clustering, ...) and graphical techniques, and is highly extensible. |
---|
15 | homepage http://www.r-project.org/ |
---|
16 | master_sites http://cran.r-project.org/src/base/R-2/ \ |
---|
17 | http://cran.us.r-project.org/src/base/R-2/ \ |
---|
18 | http://cran.au.r-project.org/src/base/R-2/ \ |
---|
19 | http://cran.at.r-project.org/src/base/R-2/ \ |
---|
20 | http://cran.hu.r-project.org/src/base/R-2/ |
---|
21 | checksums md5 e755b0ba5851ec261000af6b5c510335 |
---|
22 | depends_lib lib:libreadline.5:readline \ |
---|
23 | bin:DPtclsh:tcl \ |
---|
24 | bin:DPwish:tk \ |
---|
25 | bin:gettext:gettext \ |
---|
26 | lib:libgraph:graphviz \ |
---|
27 | lib:libjpeg:jpeg \ |
---|
28 | lib:libpng:libpng |
---|
29 | depends_build bin:g77-dp-3.4:gcc34 |
---|
30 | bin:latex:teTeX |
---|
31 | configure.env CPPFLAGS="-I${prefix}/include" \ |
---|
32 | LDFLAGS="-L${prefix}/lib" \ |
---|
33 | CC=gcc-dp-3.4 \ |
---|
34 | CXX=g++-dp-3.4 \ |
---|
35 | F77=g77-dp-3.4 |
---|
36 | configure.args --with-tcl-config="${prefix}/lib/tclConfig.sh" \ |
---|
37 | --with-tk-config="${prefix}/lib/tkConfig.sh" \ |
---|
38 | --disable-R-framework --enable-R-shlib |
---|
39 | destroot.destdir prefix=${destroot}${prefix} |
---|
40 | |
---|
41 | platform darwin 6 { |
---|
42 | depends_lib-append lib:libdl:dlcompat |
---|
43 | } |
---|
44 | |
---|
45 | platform macosx { |
---|
46 | configure.env-append CC=gcc-3.3 CXX=g++-3.3 |
---|
47 | configure.args-append --with-blas="-framework vecLib" --with-lapack |
---|
48 | } |
---|
49 | |
---|
50 | post-destroot { |
---|
51 | reinplace "s|R_HOME_DIR=${destroot}|R_HOME_DIR=|" \ |
---|
52 | "${destroot}${prefix}/bin/R" |
---|
53 | reinplace "s|R_HOME_DIR=${destroot}|R_HOME_DIR=|" \ |
---|
54 | "${destroot}${prefix}/lib/R/bin/R" |
---|
55 | } |
---|