diff options
Diffstat (limited to 'dev-java/crimson/crimson-1.1.3-r1.ebuild')
-rw-r--r-- | dev-java/crimson/crimson-1.1.3-r1.ebuild | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/dev-java/crimson/crimson-1.1.3-r1.ebuild b/dev-java/crimson/crimson-1.1.3-r1.ebuild index 2b6ff2da38a7..06a859644eba 100644 --- a/dev-java/crimson/crimson-1.1.3-r1.ebuild +++ b/dev-java/crimson/crimson-1.1.3-r1.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/crimson/crimson-1.1.3-r1.ebuild,v 1.2 2007/01/20 20:31:03 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/crimson/crimson-1.1.3-r1.ebuild,v 1.3 2007/04/27 22:38:42 betelgeuse Exp $ + +JAVA_PKG_IUSE="doc examples source" inherit java-pkg-2 java-ant-2 @@ -11,12 +13,10 @@ SRC_URI="http://xml.apache.org/dist/crimson/${P}-src.tar.gz" LICENSE="Apache-1.1" SLOT="1" KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" -IUSE="doc examples source" +IUSE="" -DEPEND="|| ( =virtual/jdk-1.3* =virtual/jdk-1.4* ) - dev-java/ant-core - source? ( app-arch/zip )" -RDEPEND="|| ( =virtual/jre-1.3* =virtual/jre-1.4* )" +DEPEND="|| ( =virtual/jdk-1.4* =virtual/jdk-1.3* )" +RDEPEND=">=virtual/jre-1.3" src_compile() { eant jars $(use_doc docs) @@ -25,10 +25,10 @@ src_compile() { src_install() { java-pkg_dojar build/${PN}.jar - dodoc build/ChangeLog - java-pkg_dohtml build/README.html + dodoc build/ChangeLog || die + java-pkg_dohtml build/README.html || die if use doc; then - java-pkg_dohtml -r build/docs + java-pkg_dojavadoc build/docs/api java-pkg_dohtml -r -A class,java,xml build/examples fi if use examples; then |