Ticket #1986: Portfile

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

R portfile for R 1.9.1

Line 
1# $Id: Portfile,v 1.4 2004/04/24 23:51:36 blb Exp $
2
3PortSystem       1.0
4name             R
5version          1.9.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/
15extract.suffix   .tgz
16master_sites     http://cran.us.r-project.org/src/base/ \
17                 http://cran.au.r-project.org/src/base/ \
18                 http://cran.at.r-project.org/src/base/ \
19                 http://cran.hu.r-project.org/src/base/ \
20                 http://cran.za.r-project.org/src/base/
21checksums        md5 c8201425506e5c077ef1936e19ea2f51
22depends_lib      lib:libdl:dlcompat lib:libreadline:readline
23depends_build    bin:g77:g77 bin:latex:teTeX
24configure.env    CPPFLAGS="-I${prefix}/include" \
25                 LDFLAGS="-L${prefix}/lib"
26configure.args   --with-blas="-framework vecLib" --with-lapack \
27                 --enable-R-framework=no
28destroot.destdir prefix=${destroot}${prefix}
29
30post-destroot {
31    reinplace "s|R_HOME_DIR=${destroot}|R_HOME_DIR=|" \
32        "${destroot}${prefix}/bin/R"
33    reinplace "s|R_HOME_DIR=${destroot}|R_HOME_DIR=|" \
34        "${destroot}${prefix}/lib/R/bin/R"
35}