summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2006-09-09 07:27:38 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2006-09-09 07:27:38 +0000
commit011ff28a812715e8856e9e3fd4895b4331af2588 (patch)
treea96aa0886efe25abab990532535a69d8dbfdd8fa /dev-java/junitperf/junitperf-1.9.1-r1.ebuild
parentversion bump (diff)
downloadhistorical-011ff28a812715e8856e9e3fd4895b4331af2588.tar.gz
historical-011ff28a812715e8856e9e3fd4895b4331af2588.tar.bz2
historical-011ff28a812715e8856e9e3fd4895b4331af2588.zip
Fixed to work with JAVA_PKG_STRICT and changed src_test dependencies to use the test use flag instead of junit.
Package-Manager: portage-2.1.1
Diffstat (limited to 'dev-java/junitperf/junitperf-1.9.1-r1.ebuild')
-rw-r--r--dev-java/junitperf/junitperf-1.9.1-r1.ebuild19
1 files changed, 12 insertions, 7 deletions
diff --git a/dev-java/junitperf/junitperf-1.9.1-r1.ebuild b/dev-java/junitperf/junitperf-1.9.1-r1.ebuild
index 6b0b5cf98273..29a806f752f5 100644
--- a/dev-java/junitperf/junitperf-1.9.1-r1.ebuild
+++ b/dev-java/junitperf/junitperf-1.9.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/junitperf/junitperf-1.9.1-r1.ebuild,v 1.2 2006/08/07 19:08:07 nichoj Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/junitperf/junitperf-1.9.1-r1.ebuild,v 1.3 2006/09/09 07:27:38 betelgeuse Exp $
inherit java-pkg-2 java-ant-2
@@ -10,19 +10,24 @@ HOMEPAGE="http://www.clarkware.com/software/JUnitPerf.html"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="doc junit source"
+IUSE="doc test source"
+
+RDEPEND=">=virtual/jre-1.3
+ dev-java/junit"
+
DEPEND=">=virtual/jdk-1.3
+ ${RDEPEND}
app-arch/unzip
dev-java/ant-core
- junit? ( dev-java/ant-tasks )
+ test? ( dev-java/ant-tasks )
source? ( app-arch/zip )"
-RDEPEND=">=virtual/jre-1.3
- dev-java/junit"
src_unpack () {
unpack ${A}
- rm ${S}/lib/*.jar
+ rm "${S}"/lib/*.jar
+ cd "${S}"/lib
+ java-pkg_jar-from junit
}
src_compile() {
@@ -30,7 +35,7 @@ src_compile() {
}
src_test() {
- eant test
+ eant -lib $(java-pkg_getjar ant-tasks ant-junit.jar) test
}
src_install() {