summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-java/cos/ChangeLog7
-rw-r--r--dev-java/cos/cos-20021105-r1.ebuild14
2 files changed, 12 insertions, 9 deletions
diff --git a/dev-java/cos/ChangeLog b/dev-java/cos/ChangeLog
index a6af1a300eaa..a3c5704712f2 100644
--- a/dev-java/cos/ChangeLog
+++ b/dev-java/cos/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-java/cos
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/cos/ChangeLog,v 1.1 2007/02/10 19:42:01 nichoj Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/cos/ChangeLog,v 1.2 2007/04/28 18:02:58 betelgeuse Exp $
+
+ 28 Apr 2007; Petteri Räty <betelgeuse@gentoo.org> cos-20021105-r1.ebuild:
+ Add missing dev-java/servletapi to RDEPEND and switch to java-pkg_dojavadoc.
*cos-20021105-r1 (10 Feb 2007)
diff --git a/dev-java/cos/cos-20021105-r1.ebuild b/dev-java/cos/cos-20021105-r1.ebuild
index c59e874eb1d2..80a52e60d9c3 100644
--- a/dev-java/cos/cos-20021105-r1.ebuild
+++ b/dev-java/cos/cos-20021105-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/cos/cos-20021105-r1.ebuild,v 1.1 2007/02/10 19:42:01 nichoj Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/cos/cos-20021105-r1.ebuild,v 1.2 2007/04/28 18:02:58 betelgeuse Exp $
inherit java-pkg-2 java-ant-2
@@ -15,11 +15,11 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
-DEPEND=">=virtual/jdk-1.4
- app-arch/unzip
- dev-java/ant-core"
RDEPEND=">=virtual/jre-1.4
=dev-java/servletapi-2.3*"
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip
+ ${RDEPEND}"
S=${WORKDIR}
src_unpack() {
@@ -42,7 +42,7 @@ src_compile() {
src_install() {
java-pkg_dojar dist/${PN}.jar
- dodoc readme.txt license.txt
+ dodoc readme.txt license.txt || die
- use doc && java-pkg_dohtml -r dist/doc/api
+ use doc && java-pkg_dojavadoc dist/doc/api
}