1 | PortSystem 1.0 |
---|
2 | name R |
---|
3 | version 2.5.0 |
---|
4 | categories math science |
---|
5 | maintainers konis@stats.ox.ac.uk |
---|
6 | platforms darwin |
---|
7 | |
---|
8 | description R is GNU S - an interpreted language for statistical computing |
---|
9 | |
---|
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 | |
---|
16 | homepage http://www.r-project.org/ |
---|
17 | |
---|
18 | master_sites http://cran.us.r-project.org/src/base/R-2/ \ |
---|
19 | http://cran.au.r-project.org/src/base/R-2/ \ |
---|
20 | http://cran.at.r-project.org/src/base/R-2/ \ |
---|
21 | http://cran.hu.r-project.org/src/base/R-2/ \ |
---|
22 | http://cran.r-project.org/src/base/R-2/ |
---|
23 | |
---|
24 | checksums md5 b9088663fc539c059acfaf19d6d90a69 \ |
---|
25 | sha1 a75bbb598d7f957aec3c4be79f182a906fb14541 \ |
---|
26 | rmd160 ae14775281b53a2ffc582977eec4c36c6bdc504f |
---|
27 | |
---|
28 | depends_lib port:gcc40 \ |
---|
29 | port:readline \ |
---|
30 | port:gettext \ |
---|
31 | lib:libjpeg:jpeg \ |
---|
32 | lib:libpng:libpng |
---|
33 | |
---|
34 | configure.env CC=${prefix}/bin/gcc-dp-4.0 \ |
---|
35 | CXX=${prefix}/bin/g++-dp-4.0 \ |
---|
36 | F77=${prefix}/bin/gfortran-dp-4.0 |
---|
37 | |
---|
38 | configure.args --mandir=\\\${prefix}/share/man \ |
---|
39 | --enable-R-shlib \ |
---|
40 | --disable-R-framework \ |
---|
41 | --without-aqua |
---|
42 | |
---|
43 | test.run yes |
---|
44 | test.target check |
---|
45 | destroot.destdir prefix=${destroot}${prefix} |
---|
46 | |
---|
47 | platform darwin 6 { |
---|
48 | depends_lib-append lib:libdl:dlcompat \ |
---|
49 | port:tcl \ |
---|
50 | port:tk |
---|
51 | configure.args-append --with-tcl-config=${prefix}/lib/tclConfig.sh \ |
---|
52 | --with-tk-config=${prefix}/lib/tkConfig.sh |
---|
53 | } |
---|
54 | |
---|
55 | platform darwin 7 { |
---|
56 | depends_lib-append port:tcl \ |
---|
57 | port:tk |
---|
58 | configure.args-append --with-tcl-config=${prefix}/lib/tclConfig.sh \ |
---|
59 | --with-tk-config=${prefix}/lib/tkConfig.sh |
---|
60 | } |
---|
61 | |
---|
62 | platform i386 { |
---|
63 | depends_lib-delete port:gcc40 |
---|
64 | configure.env-delete CC=${prefix}/bin/gcc-dp-4.0 |
---|
65 | configure.env-delete CXX=${prefix}/bin/g++-dp-4.0 |
---|
66 | configure.env-delete F77=${prefix}/bin/gfortran-dp-4.0 |
---|
67 | |
---|
68 | depends_lib-append port:gcc42 |
---|
69 | configure.env-append CC=${prefix}/bin/gcc-dp-4.2 |
---|
70 | configure.env-append CXX=${prefix}/bin/g++-dp-4.2 |
---|
71 | configure.env-append F77=${prefix}/bin/gfortran-dp-4.2 |
---|
72 | } |
---|
73 | |
---|
74 | post-destroot { |
---|
75 | reinplace "s|R_HOME_DIR=${destroot}|R_HOME_DIR=|" \ |
---|
76 | "${destroot}${prefix}/bin/R" |
---|
77 | reinplace "s|R_HOME_DIR=${destroot}|R_HOME_DIR=|" \ |
---|
78 | "${destroot}${prefix}/lib/R/bin/R" |
---|
79 | reinplace "s|R_SHARE_DIR=${destroot}|R_SHARE_DIR=|" \ |
---|
80 | "${destroot}${prefix}/bin/R" |
---|
81 | reinplace "s|R_SHARE_DIR=${destroot}|R_SHARE_DIR=|" \ |
---|
82 | "${destroot}${prefix}/lib/R/bin/R" |
---|
83 | reinplace "s|R_INCLUDE_DIR=${destroot}|R_INCLUDE_DIR=|" \ |
---|
84 | "${destroot}${prefix}/bin/R" |
---|
85 | reinplace "s|R_INCLUDE_DIR=${destroot}|R_INCLUDE_DIR=|" \ |
---|
86 | "${destroot}${prefix}/lib/R/bin/R" |
---|
87 | reinplace "s|R_DOC_DIR=${destroot}|R_DOC_DIR=|" \ |
---|
88 | "${destroot}${prefix}/bin/R" |
---|
89 | reinplace "s|R_DOC_DIR=${destroot}|R_DOC_DIR=|" \ |
---|
90 | "${destroot}${prefix}/lib/R/bin/R" |
---|
91 | } |
---|
92 | |
---|