summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-02-13 18:54:13 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-02-13 18:54:13 +0000
commit06d232e58c77c2b70f418335139a544756c4b930 (patch)
tree54f61f7da4d51d7c590ee61e8f5aba551d7a81a7 /dev-java
parentStable on alpha wrt bug #166501. (diff)
downloadgentoo-2-06d232e58c77c2b70f418335139a544756c4b930.tar.gz
gentoo-2-06d232e58c77c2b70f418335139a544756c4b930.tar.bz2
gentoo-2-06d232e58c77c2b70f418335139a544756c4b930.zip
Add a symlink so the standard javadoc location can be used and links inside the html documentation work.
(Portage version: 2.1.2-r9)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/rhino/rhino-1.6.1-r3.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/dev-java/rhino/rhino-1.6.1-r3.ebuild b/dev-java/rhino/rhino-1.6.1-r3.ebuild
index 93180389b234..8897800026db 100644
--- a/dev-java/rhino/rhino-1.6.1-r3.ebuild
+++ b/dev-java/rhino/rhino-1.6.1-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/rhino/rhino-1.6.1-r3.ebuild,v 1.5 2006/12/09 09:24:24 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/rhino/rhino-1.6.1-r3.ebuild,v 1.6 2007/02/13 18:54:13 betelgeuse Exp $
inherit java-pkg-2 java-ant-2 eutils
@@ -42,5 +42,8 @@ src_install() {
--main org.mozilla.javascript.tools.shell.Main
java-pkg_dojar build/*/js.jar
use source && java-pkg_dosrc {src,toolsrc}/org
- use doc && java-pkg_dohtml -r docs/*
+ if use doc; then
+ java-pkg_dohtml -r docs/*
+ dosym /usr/share/doc/${PF}/html/{apidocs,api} || die
+ fi
}