summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/commons-lang/commons-lang-2.0-r2.ebuild')
-rw-r--r--dev-java/commons-lang/commons-lang-2.0-r2.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/dev-java/commons-lang/commons-lang-2.0-r2.ebuild b/dev-java/commons-lang/commons-lang-2.0-r2.ebuild
index 3d8124b32dca..6a47ee878b39 100644
--- a/dev-java/commons-lang/commons-lang-2.0-r2.ebuild
+++ b/dev-java/commons-lang/commons-lang-2.0-r2.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-lang/commons-lang-2.0-r2.ebuild,v 1.10 2008/03/05 19:50:19 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-lang/commons-lang-2.0-r2.ebuild,v 1.11 2009/04/04 23:13:10 betelgeuse Exp $
+EAPI="2"
JAVA_PKG_IUSE="doc source test"
inherit java-pkg-2 java-ant-2
@@ -19,6 +20,10 @@ IUSE=""
S="${WORKDIR}/${P}-src"
+java_prepare() {
+ rm -v *.jar || die
+}
+
src_install() {
java-pkg_newjar dist/${P}.jar ${PN}.jar