Ticket #2831: Portfile

File Portfile, 1.5 KB (added by konis@…, 19 years ago)

R portfile with work around for openssl version mismatch.

Line 
1# $Id: Portfile,v 1.7 2004/11/29 16:45:27 toby Exp $
2
3PortSystem 1.0
4name             R
5version          2.0.1
6categories       math science
7maintainers      konis@stats.ox.ac.uk
8description      R is GNU S - an interpreted language for statistical computing
9long_description \
10     R is a language and environment for statistical computing and graphics. \
11     R provides a wide variety of statistical (linear and nonlinear modelling, \
12     classical statistical tests, time-series analysis, classification, \
13     clustering, ...) and graphical techniques, and is highly extensible.
14homepage         http://www.r-project.org/
15master_sites     http://cran.r-project.org/src/base/R-2/ \
16                 http://cran.us.r-project.org/src/base/R-2/ \
17                 http://cran.au.r-project.org/src/base/R-2/ \
18                 http://cran.at.r-project.org/src/base/R-2/ \
19                 http://cran.hu.r-project.org/src/base/R-2/
20checksums        md5 fb47b1fdef4323031e24d541a2f36b2b
21depends_lib      lib:libdl:dlcompat lib:libreadline:readline
22depends_build    bin:g77:g77 bin:latex:teTeX
23configure.env    CPPFLAGS="-I${prefix}/include" \
24                 LDFLAGS="-L/usr/lib -L${prefix}/lib"
25configure.args   --with-blas="-framework vecLib" --with-lapack \
26                 --enable-R-framework=no
27destroot.destdir prefix=${destroot}${prefix}
28
29post-destroot {
30    reinplace "s|R_HOME_DIR=${destroot}|R_HOME_DIR=|" \
31        "${destroot}${prefix}/bin/R"
32    reinplace "s|R_HOME_DIR=${destroot}|R_HOME_DIR=|" \
33        "${destroot}${prefix}/lib/R/bin/R"
34}