source: trunk/dports/math/R/Portfile @ 11593

Last change on this file since 11593 was 11593, checked in by jkh, 15 years ago

The disposition of the dlopen() and poll() routines has evolved over 3 releases. Properly
conditionalize usage of this in the ports that need it to ensure that builds on Jaguar, Panther
and Tiger all work.

  • Property svn:eol-style set to native
File size: 1.6 KB
Line 
1# $Id: Portfile,v 1.8 2005/04/04 10:08:38 jkh 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:libreadline:readline
22depends_build    bin:g77:g77 bin:latex:teTeX
23configure.env    CPPFLAGS="-I${prefix}/include" \
24                 LDFLAGS="-L${prefix}/lib"
25configure.args   --with-blas="-framework vecLib" --with-lapack \
26                 --enable-R-framework=no
27destroot.destdir prefix=${destroot}${prefix}
28
29platform darwin 6 { depends_lib-append lib:libdl:dlcompat }
30
31post-destroot {
32    reinplace "s|R_HOME_DIR=${destroot}|R_HOME_DIR=|" \
33        "${destroot}${prefix}/bin/R"
34    reinplace "s|R_HOME_DIR=${destroot}|R_HOME_DIR=|" \
35        "${destroot}${prefix}/lib/R/bin/R"
36}
Note: See TracBrowser for help on using the repository browser.