summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2009-07-16 06:14:11 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2009-07-16 06:14:11 +0000
commitf8570e885a53d6a7456394ea5d2842710a1012a1 (patch)
treefd28a4f87510a401482136e939042ce7c5f2f380 /dev-lang/R
parentVersion bump (#277908). (diff)
downloadgentoo-2-f8570e885a53d6a7456394ea5d2842710a1012a1.tar.gz
gentoo-2-f8570e885a53d6a7456394ea5d2842710a1012a1.tar.bz2
gentoo-2-f8570e885a53d6a7456394ea5d2842710a1012a1.zip
Added symlinking for docs, thanks to Martin von Gagern, closing bug #273957
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang/R')
-rw-r--r--dev-lang/R/ChangeLog6
-rw-r--r--dev-lang/R/R-2.9.1.ebuild7
2 files changed, 11 insertions, 2 deletions
diff --git a/dev-lang/R/ChangeLog b/dev-lang/R/ChangeLog
index fb7ecb369ff5..6f6d257731e2 100644
--- a/dev-lang/R/ChangeLog
+++ b/dev-lang/R/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-lang/R
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/R/ChangeLog,v 1.154 2009/07/07 19:47:58 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/R/ChangeLog,v 1.155 2009/07/16 06:14:11 bicatali Exp $
+
+ 16 Jul 2009; Sébastien Fabbro <bicatali@gentoo.org> R-2.9.1.ebuild:
+ Added symlinking for docs, thanks to Martin von Gagern, closing bug
+ #273957
*R-2.9.1 (07 Jul 2009)
diff --git a/dev-lang/R/R-2.9.1.ebuild b/dev-lang/R/R-2.9.1.ebuild
index 9197d31aefef..3eaa960eb823 100644
--- a/dev-lang/R/R-2.9.1.ebuild
+++ b/dev-lang/R/R-2.9.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/R/R-2.9.1.ebuild,v 1.1 2009/07/07 19:47:58 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/R/R-2.9.1.ebuild,v 1.2 2009/07/16 06:14:11 bicatali Exp $
EAPI=2
inherit eutils flag-o-matic bash-completion versionator
@@ -61,6 +61,10 @@ src_prepare() {
-e "s:-DR_HOME='\"\$(rhome)\"':-DR_HOME='\"${R_HOME}\"':" \
src/unix/Makefile.in || die "sed unix Makefile failed"
+ # fix HTML links to manual (bug #273957)
+ sed -i -e 's:\.\./manual/:manual/:g' $(grep -Flr ../manual/ doc) \
+ || die "sed for HTML links to manual failed"
+
use lapack && \
export LAPACK_LIBS="$(pkg-config --libs lapack)"
@@ -119,6 +123,7 @@ src_install() {
if use doc; then
emake DESTDIR="${D}" \
install-info install-pdf || die "emake install docs failed"
+ dosym /usr/share/doc/${PF}/manual /usr/share/doc/${PF}/html/manual
fi
# standalone math lib install (-j1 basically harmless)