Ticket #1475: Portfile

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

updated R Portfile; fixes bugs 1474 and 1475

Line 
1# $Id: Portfile,v 1.2 2004/01/16 04:36:15 toby Exp $
2
3PortSystem       1.0
4name             R
5version          1.8.1
6revision         1
7categories       math science
8maintainers      kjell.konis@worcester.oxford.ac.uk
9description      R is GNU S - an interpreted language for statistical computing
10long_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.
15homepage         http://www.r-project.org/
16extract.suffix   .tgz
17master_sites     http://cran.us.r-project.org/src/base/ \
18                 http://cran.au.r-project.org/src/base/ \
19                 http://cran.at.r-project.org/src/base/ \
20                 http://cran.hu.r-project.org/src/base/ \
21                 http://cran.za.r-project.org/src/base/
22checksums        md5 cd81fdeaf22f93dfc28979e8132722ec
23depends_lib      lib:libdl:dlcompat lib:libreadline:readline
24depends_build    bin:g77:g77 bin:latex:teTeX
25configure.env    CPPFLAGS="-I${prefix}/include" \
26                 LDFLAGS="-L${prefix}/lib"
27configure.args   --enable-R-shlib --with-blas="-framework vecLib" --with-lapack
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}