summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/odfdom-bin/odfdom-bin-0.8.ebuild')
-rw-r--r--dev-java/odfdom-bin/odfdom-bin-0.8.ebuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/dev-java/odfdom-bin/odfdom-bin-0.8.ebuild b/dev-java/odfdom-bin/odfdom-bin-0.8.ebuild
index 286041358160..14a5e3fbbbf9 100644
--- a/dev-java/odfdom-bin/odfdom-bin-0.8.ebuild
+++ b/dev-java/odfdom-bin/odfdom-bin-0.8.ebuild
@@ -1,27 +1,28 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/odfdom-bin/odfdom-bin-0.8.ebuild,v 1.4 2010/05/19 15:09:06 haubi Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/odfdom-bin/odfdom-bin-0.8.ebuild,v 1.5 2010/05/25 10:00:23 ali_bush Exp $
EAPI=3
-inherit java-utils-2
+JAVA_PKG_IUSE="doc"
+
+inherit java-pkg-2
MY_PN=${PN/-bin}
MY_P=${P/-bin}
DESCRIPTION="The ODFDOM reference implementation, written in Java."
HOMEPAGE="http://odftoolkit.org/projects/odfdom"
SRC_URI="http://odftoolkit.org/projects/odfdom/downloads/download/current-version%252F${MY_P}-binary.zip -> ${MY_P}-binary.zip
- doc? ( http://odftoolkit.org/projects/odfdom/downloads/download/current-version%252F${MY_P}-javadoc.zip -> ${MY_P}-javadoc.zip )
+ doc? ( http://odftoolkit.org/projects/odfdom/downloads/download/current-version%252F${MY_P}-javadoc.zip -> ${MY_P}-javadoc.zip )
"
-
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~ppc-aix ~hppa-hpux ~ia64-hpux ~x86-linux ~sparc-solaris ~x86-solaris"
-IUSE="doc"
+IUSE=""
RDEPEND="
>=virtual/jre-1.5
- dev-java/xerces
+ dev-java/xerces:2
"
DEPEND=""
@@ -36,7 +37,6 @@ src_unpack() {
}
src_install() {
- local PN=${MY_PN} # no way to override JAVA_PKG_NAME?
java-pkg_register-dependency xerces-2
java-pkg_dojar odfdom.jar