summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2007-05-27 00:16:23 +0000
committerVlastimil Babka <caster@gentoo.org>2007-05-27 00:16:23 +0000
commit95a7a0d972282d33eab1da7f94d51489fd3f95c9 (patch)
treeb336e9f2456715384504a4ee118c8629bcbea7ed /dev-java
parentSwitch to java-pkg_dojavadoc and otherwise cleanup ebuilds. (diff)
downloadgentoo-2-95a7a0d972282d33eab1da7f94d51489fd3f95c9.tar.gz
gentoo-2-95a7a0d972282d33eab1da7f94d51489fd3f95c9.tar.bz2
gentoo-2-95a7a0d972282d33eab1da7f94d51489fd3f95c9.zip
Migrate to split-ant, tweak style.
(Portage version: 2.1.2.8)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/commons-jexl/ChangeLog7
-rw-r--r--dev-java/commons-jexl/commons-jexl-1.1.ebuild28
2 files changed, 21 insertions, 14 deletions
diff --git a/dev-java/commons-jexl/ChangeLog b/dev-java/commons-jexl/ChangeLog
index f54662149899..5d6344ef9fe2 100644
--- a/dev-java/commons-jexl/ChangeLog
+++ b/dev-java/commons-jexl/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-java/commons-jexl
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-jexl/ChangeLog,v 1.4 2006/12/26 18:14:42 betelgeuse Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-jexl/ChangeLog,v 1.5 2007/05/27 00:16:23 caster Exp $
+
+ 27 May 2007; Vlastimil Babka <caster@gentoo.org> commons-jexl-1.1.ebuild:
+ Migrate to split-ant, tweak style.
*commons-jexl-1.1 (26 Dec 2006)
diff --git a/dev-java/commons-jexl/commons-jexl-1.1.ebuild b/dev-java/commons-jexl/commons-jexl-1.1.ebuild
index dfd162e080d6..238c6926807f 100644
--- a/dev-java/commons-jexl/commons-jexl-1.1.ebuild
+++ b/dev-java/commons-jexl/commons-jexl-1.1.ebuild
@@ -1,24 +1,28 @@
-# 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/commons-jexl/commons-jexl-1.1.ebuild,v 1.1 2006/12/26 18:14:42 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-jexl/commons-jexl-1.1.ebuild,v 1.2 2007/05/27 00:16:23 caster Exp $
+
+JAVA_PKG_IUSE="doc source test"
inherit eutils java-pkg-2 java-ant-2
DESCRIPTION="Expression language engine, can be embedded in applications and frameworks."
HOMEPAGE="http://jakarta.apache.org/commons/jexl"
SRC_URI="mirror://apache/jakarta/commons/jexl/source/${P}-src.tar.gz"
+
+CDEPEND="dev-java/commons-logging
+ =dev-java/junit-3*"
+
RDEPEND=">=virtual/jre-1.4
- dev-java/commons-logging
- >=dev-java/junit-3.8"
-DEPEND="${RDEPEND}
- >=virtual/jdk-1.4
- dev-java/ant-core
- test? ( dev-java/ant-tasks )"
+ ${CDEPEND}"
+DEPEND=">=virtual/jdk-1.4
+ test? ( dev-java/ant-junit )
+ ${CDEPEND}"
LICENSE="Apache-2.0"
SLOT="1.0"
KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="doc source test"
+IUSE=""
S="${WORKDIR}/${P}-src"
@@ -35,13 +39,13 @@ src_unpack() {
}
src_test() {
- eant test
+ ANT_TASKS="ant-junit" eant test
}
src_install() {
- java-pkg_newjar target/${P}*.jar ${PN}.jar
+ java-pkg_newjar target/${P}*.jar
- dodoc RELEASE-NOTES.txt
+ dodoc RELEASE-NOTES.txt || die
use doc && java-pkg_dojavadoc dist/docs/api
use source && java-pkg_dosrc ${S}/src/java/*