summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-07-03 10:46:01 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-07-03 10:46:01 +0000
commitb3896eb4400d906efb22a18e82eb9834d2558b1b (patch)
treefc85ec3f267d759fec878058d5d5fc856ae469f3 /dev-java
parentDropped old version. (diff)
downloadgentoo-2-b3896eb4400d906efb22a18e82eb9834d2558b1b.tar.gz
gentoo-2-b3896eb4400d906efb22a18e82eb9834d2558b1b.tar.bz2
gentoo-2-b3896eb4400d906efb22a18e82eb9834d2558b1b.zip
Use JAVA_PKG_IUSE and general src_compile.
(Portage version: 2.1.3_rc6)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/jakarta-oro/ChangeLog6
-rw-r--r--dev-java/jakarta-oro/jakarta-oro-2.0.8-r2.ebuild14
2 files changed, 11 insertions, 9 deletions
diff --git a/dev-java/jakarta-oro/ChangeLog b/dev-java/jakarta-oro/ChangeLog
index 3ece2c3d0f6f..be577e1dda6c 100644
--- a/dev-java/jakarta-oro/ChangeLog
+++ b/dev-java/jakarta-oro/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-java/jakarta-oro
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jakarta-oro/ChangeLog,v 1.13 2007/01/26 09:43:04 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jakarta-oro/ChangeLog,v 1.14 2007/07/03 10:46:01 betelgeuse Exp $
+
+ 03 Jul 2007; Petteri Räty <betelgeuse@gentoo.org>
+ jakarta-oro-2.0.8-r2.ebuild:
+ Use JAVA_PKG_IUSE and general src_compile.
26 Jan 2007; Vlastimil Babka <caster@gentoo.org>
-jakarta-oro-2.0.8-r1.ebuild:
diff --git a/dev-java/jakarta-oro/jakarta-oro-2.0.8-r2.ebuild b/dev-java/jakarta-oro/jakarta-oro-2.0.8-r2.ebuild
index 3892af2e56af..7cda2517af16 100644
--- a/dev-java/jakarta-oro/jakarta-oro-2.0.8-r2.ebuild
+++ b/dev-java/jakarta-oro/jakarta-oro-2.0.8-r2.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/jakarta-oro/jakarta-oro-2.0.8-r2.ebuild,v 1.10 2007/01/26 05:55:29 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jakarta-oro/jakarta-oro-2.0.8-r2.ebuild,v 1.11 2007/07/03 10:46:01 betelgeuse Exp $
+
+JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-ant-2
@@ -11,16 +13,12 @@ SRC_URI="mirror://apache/jakarta/oro/source/${P}.tar.gz"
LICENSE="Apache-1.1"
SLOT="2.0"
KEYWORDS="amd64 ~ia64 ppc ppc64 x86 ~x86-fbsd"
-IUSE="doc examples source"
+IUSE="examples"
-DEPEND=">=virtual/jdk-1.3
- >=dev-java/ant-core-1.4
- source? ( app-arch/zip )"
+DEPEND=">=virtual/jdk-1.3"
RDEPEND=">=virtual/jre-1.3"
-src_compile() {
- eant $(use_doc javadocs) jar
-}
+EANT_DOC_TARGET="javadocs"
src_install() {
java-pkg_newjar ${PN}*.jar