# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-lang/R/R-2.13.0.ebuild,v 1.1 2011/06/23 13:03:38 jlec Exp $ EAPI=4 inherit bash-completion eutils flag-o-matic fortran-2 versionator DESCRIPTION="Language and environment for statistical computing and graphics" HOMEPAGE="http://www.r-project.org/" SRC_URI=" mirror://cran/src/base/R-2/${P}.tar.gz bash-completion? ( mirror://gentoo/R.bash_completion.bz2 )" LICENSE="GPL-2 LGPL-2.1" SLOT="0" KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" IUSE="cairo doc java jpeg lapack minimal nls openmp perl png profile readline static-libs tk X" # common depends CDEPEND=" app-arch/bzip2 app-text/ghostscript-gpl dev-libs/libpcre virtual/blas virtual/fortran[openmp?] cairo? ( x11-libs/cairo[X] || ( >=x11-libs/pango-1.20[X] 99R <<-EOF LDPATH=${R_DIR}/lib R_HOME=${R_DIR} EOF doenvd 99R || die "doenvd failed" dobashcompletion "${WORKDIR}"/R.bash_completion } pkg_postinst() { if use java; then einfo "Re-initializing java paths for ${P}" R CMD javareconf fi }