summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlistair Bush <ali_bush@gentoo.org>2010-05-25 10:00:23 +0000
committerAlistair Bush <ali_bush@gentoo.org>2010-05-25 10:00:23 +0000
commitea438bd0607314fbd77f0684418e0e816690209b (patch)
tree232e0dd131e83db38ca021c365494c7e82695c72 /dev-java
parentVersion bump (diff)
downloadgentoo-2-ea438bd0607314fbd77f0684418e0e816690209b.tar.gz
gentoo-2-ea438bd0607314fbd77f0684418e0e816690209b.tar.bz2
gentoo-2-ea438bd0607314fbd77f0684418e0e816690209b.zip
Improve ebuild to meet java standards.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/odfdom-bin/ChangeLog5
-rw-r--r--dev-java/odfdom-bin/odfdom-bin-0.8.ebuild14
2 files changed, 11 insertions, 8 deletions
diff --git a/dev-java/odfdom-bin/ChangeLog b/dev-java/odfdom-bin/ChangeLog
index 1b35238b5ad5..a4095645b148 100644
--- a/dev-java/odfdom-bin/ChangeLog
+++ b/dev-java/odfdom-bin/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-java/odfdom-bin
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/odfdom-bin/ChangeLog,v 1.4 2010/05/19 15:09:06 haubi Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/odfdom-bin/ChangeLog,v 1.5 2010/05/25 10:00:23 ali_bush Exp $
+
+ 25 May 2010; Alistair Bush <ali_bush@gentoo.org> odfdom-bin-0.8.ebuild:
+ Improve and cleaning ebuild to confirm to java standards.
19 May 2010; Michael Haubenwallner <haubi@gentoo.org>
odfdom-bin-0.8.ebuild:
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