diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2008-12-01 21:50:17 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2008-12-01 21:50:17 +0000 |
commit | 05482823d3939a80cb8d54ba4bd3958ff77c10ef (patch) | |
tree | 4dcdc76d811549a37d81a2271098d0b28d88a2a4 /dev-java/cocoon/cocoon-2.1.11.ebuild | |
parent | Marking lv-4.51-r1 ppc64 for bug 243734 (diff) | |
download | gentoo-2-05482823d3939a80cb8d54ba4bd3958ff77c10ef.tar.gz gentoo-2-05482823d3939a80cb8d54ba4bd3958ff77c10ef.tar.bz2 gentoo-2-05482823d3939a80cb8d54ba4bd3958ff77c10ef.zip |
Fix javadoc installation and raise memory limit. Fixes bug #245006. Thanks to Daniel Solano <gentoo@sattvik.com>.
(Portage version: 2.1.6_rc2/cvs/Linux 2.6.27-gentoo-r2 i686)
Diffstat (limited to 'dev-java/cocoon/cocoon-2.1.11.ebuild')
-rw-r--r-- | dev-java/cocoon/cocoon-2.1.11.ebuild | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/dev-java/cocoon/cocoon-2.1.11.ebuild b/dev-java/cocoon/cocoon-2.1.11.ebuild index a7f0a8216240..65ed291ed84b 100644 --- a/dev-java/cocoon/cocoon-2.1.11.ebuild +++ b/dev-java/cocoon/cocoon-2.1.11.ebuild @@ -1,9 +1,8 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/cocoon/cocoon-2.1.11.ebuild,v 1.1 2008/07/13 10:54:47 nelchael Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/cocoon/cocoon-2.1.11.ebuild,v 1.2 2008/12/01 21:50:17 betelgeuse Exp $ JAVA_PKG_IUSE="doc" -WANT_ANT_TASKS="" inherit java-pkg-2 java-ant-2 @@ -16,8 +15,7 @@ SLOT="0" KEYWORDS="~x86 ~ppc ~amd64" IUSE="" -DEPEND=">=virtual/jdk-1.5 - >=dev-java/ant-core-1.5.3" +DEPEND=">=virtual/jdk-1.5" RDEPEND=">=virtual/jre-1.5" # I know this way of building cocoon is not the best, it will be fixed for @@ -36,6 +34,7 @@ src_unpack() { echo "exclude.webapp.idldocs=true" >> local.build.properties fi java-ant_bsfix_files tools/targets/*-build.xml + sed -i -e 's/maxmemory="192m"/maxmemory="384m"/' tools/src/blocks-build.xsl } src_compile() { @@ -55,11 +54,12 @@ src_install() { doins "${S}/lib/${i}"/* done - dodoc CREDITS.txt INSTALL.txt KEYS README.txt + dodoc CREDITS.txt INSTALL.txt KEYS README.txt || die + + use doc && java-pkg_dojavadoc build/cocoon/javadocs + docinto legal dodoc legal/* - - use doc && java-pkg_dojavadoc build/webapp/api } pkg_postinst() { |