summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2007-05-20 22:05:01 +0000
committerVlastimil Babka <caster@gentoo.org>2007-05-20 22:05:01 +0000
commit296caefa0ef98a851ddb118fd6bf313a26325fd6 (patch)
tree5866a0989ea6dd0dbbd80e350ef8a86a7e9cc32a /dev-java/blowfishj/blowfishj-2.14-r1.ebuild
parentStable for HPPA (bug #175465). (diff)
downloadgentoo-2-296caefa0ef98a851ddb118fd6bf313a26325fd6.tar.gz
gentoo-2-296caefa0ef98a851ddb118fd6bf313a26325fd6.tar.bz2
gentoo-2-296caefa0ef98a851ddb118fd6bf313a26325fd6.zip
Migrate to split-ant, cleanup.
(Portage version: 2.1.2.7)
Diffstat (limited to 'dev-java/blowfishj/blowfishj-2.14-r1.ebuild')
-rw-r--r--dev-java/blowfishj/blowfishj-2.14-r1.ebuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/dev-java/blowfishj/blowfishj-2.14-r1.ebuild b/dev-java/blowfishj/blowfishj-2.14-r1.ebuild
index 807f530a56af..a53eddb05db4 100644
--- a/dev-java/blowfishj/blowfishj-2.14-r1.ebuild
+++ b/dev-java/blowfishj/blowfishj-2.14-r1.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/blowfishj/blowfishj-2.14-r1.ebuild,v 1.3 2007/01/14 17:24:59 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/blowfishj/blowfishj-2.14-r1.ebuild,v 1.4 2007/05/20 22:05:01 caster Exp $
+
+JAVA_PKG_IUSE="doc source test"
inherit java-pkg-2 java-ant-2
@@ -10,13 +12,11 @@ HOMEPAGE="http://blowfishj.sourceforge.net/index.html"
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="~x86 ~amd64 ~ppc"
+KEYWORDS="~amd64 ~ppc ~x86"
IUSE="doc test source"
DEPEND=">=virtual/jdk-1.4
- dev-java/ant-core
- app-arch/unzip
- test? ( dev-java/junit dev-java/ant-tasks ) "
+ test? ( =dev-java/junit-3* dev-java/ant-junit ) "
RDEPEND=">=virtual/jre-1.4"
src_unpack() {
@@ -29,11 +29,11 @@ src_unpack() {
}
src_test() {
- eant test -DJunit.present=true || die "test failed"
+ ANT_TASKS="ant-junit" eant test -DJunit.present=true
}
src_install() {
- java-pkg_newjar target/${P}.jar ${PN}.jar
+ java-pkg_newjar target/${P}.jar
use doc && java-pkg_dojavadoc dist/docs/api
use source && java-pkg_dosrc src/java/net