1 | # $Id: Portfile 28509 2007-09-02 21:07:50Z mww@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name R |
---|
5 | version 2.6.1 |
---|
6 | categories math science |
---|
7 | maintainers konis@stats.ox.ac.uk |
---|
8 | platforms darwin |
---|
9 | |
---|
10 | description R is GNU S - an interpreted language for statistical computing |
---|
11 | |
---|
12 | long_description \ |
---|
13 | R is a language and environment for statistical computing and graphics. \ |
---|
14 | R provides a wide variety of statistical (linear and nonlinear modelling, \ |
---|
15 | classical statistical tests, time-series analysis, classification, \ |
---|
16 | clustering, ...) and graphical techniques, and is highly extensible. |
---|
17 | |
---|
18 | homepage http://www.r-project.org/ |
---|
19 | |
---|
20 | master_sites http://cran.us.r-project.org/src/base/R-2/ \ |
---|
21 | http://cran.au.r-project.org/src/base/R-2/ \ |
---|
22 | http://cran.at.r-project.org/src/base/R-2/ \ |
---|
23 | http://cran.hu.r-project.org/src/base/R-2/ \ |
---|
24 | http://cran.r-project.org/src/base/R-2/ |
---|
25 | |
---|
26 | checksums md5 19c35a69e1afa73f5f70f91ff9939233 \ |
---|
27 | sha1 6f2c8694f1935fda382796d225e45bd6f8f7755b \ |
---|
28 | rmd160 0e50237916e03c9b88ab558c39a9a587aabf4991 |
---|
29 | |
---|
30 | depends_lib port:gcc42 \ |
---|
31 | port:readline \ |
---|
32 | port:gettext \ |
---|
33 | port:tcl \ |
---|
34 | port:tk \ |
---|
35 | lib:libjpeg:jpeg \ |
---|
36 | lib:libpng:libpng |
---|
37 | |
---|
38 | configure.compiler macports-gcc-4.2 |
---|
39 | |
---|
40 | configure.args --mandir=\\\${prefix}/share/man \ |
---|
41 | --enable-R-shlib \ |
---|
42 | --with-blas='-framework vecLib' \ |
---|
43 | --with-lapack \ |
---|
44 | --disable-R-framework \ |
---|
45 | --without-aqua \ |
---|
46 | --with-tcl-config=${prefix}/lib/tclConfig.sh \ |
---|
47 | --with-tk-config=${prefix}/lib/tkConfig.sh |
---|
48 | |
---|
49 | test.run yes |
---|
50 | test.target check |
---|
51 | destroot.destdir prefix=${destroot}${prefix} |
---|
52 | |
---|
53 | post-destroot { |
---|
54 | reinplace "s|R_HOME_DIR=${destroot}|R_HOME_DIR=|" \ |
---|
55 | "${destroot}${prefix}/bin/R" |
---|
56 | reinplace "s|R_HOME_DIR=${destroot}|R_HOME_DIR=|" \ |
---|
57 | "${destroot}${prefix}/lib/R/bin/R" |
---|
58 | reinplace "s|R_SHARE_DIR=${destroot}|R_SHARE_DIR=|" \ |
---|
59 | "${destroot}${prefix}/bin/R" |
---|
60 | reinplace "s|R_SHARE_DIR=${destroot}|R_SHARE_DIR=|" \ |
---|
61 | "${destroot}${prefix}/lib/R/bin/R" |
---|
62 | reinplace "s|R_INCLUDE_DIR=${destroot}|R_INCLUDE_DIR=|" \ |
---|
63 | "${destroot}${prefix}/bin/R" |
---|
64 | reinplace "s|R_INCLUDE_DIR=${destroot}|R_INCLUDE_DIR=|" \ |
---|
65 | "${destroot}${prefix}/lib/R/bin/R" |
---|
66 | reinplace "s|R_DOC_DIR=${destroot}|R_DOC_DIR=|" \ |
---|
67 | "${destroot}${prefix}/bin/R" |
---|
68 | reinplace "s|R_DOC_DIR=${destroot}|R_DOC_DIR=|" \ |
---|
69 | "${destroot}${prefix}/lib/R/bin/R" |
---|
70 | } |
---|
71 | |
---|