summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Brinkmann <luckyduck@gentoo.org>2005-05-17 18:08:43 +0000
committerJan Brinkmann <luckyduck@gentoo.org>2005-05-17 18:08:43 +0000
commita4ab4ebd9eef15f0f715aa0302d9c2d5b1463571 (patch)
tree02c8266868aecdfaa4d2a67a4e16ac5019bcd2bd /dev-java/jmock/jmock-1.0.1.ebuild
parentkeyworded ~alpha wrt #86732 (diff)
downloadhistorical-a4ab4ebd9eef15f0f715aa0302d9c2d5b1463571.tar.gz
historical-a4ab4ebd9eef15f0f715aa0302d9c2d5b1463571.tar.bz2
historical-a4ab4ebd9eef15f0f715aa0302d9c2d5b1463571.zip
stable on amd64 and x86
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'dev-java/jmock/jmock-1.0.1.ebuild')
-rw-r--r--dev-java/jmock/jmock-1.0.1.ebuild20
1 files changed, 7 insertions, 13 deletions
diff --git a/dev-java/jmock/jmock-1.0.1.ebuild b/dev-java/jmock/jmock-1.0.1.ebuild
index 6380f5f145b0..26b28a0d10ca 100644
--- a/dev-java/jmock/jmock-1.0.1.ebuild
+++ b/dev-java/jmock/jmock-1.0.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jmock/jmock-1.0.1.ebuild,v 1.2 2005/01/05 09:20:39 luckyduck Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jmock/jmock-1.0.1.ebuild,v 1.3 2005/05/17 18:08:43 luckyduck Exp $
inherit eutils java-pkg
@@ -9,11 +9,11 @@ SRC_URI="http://dist.codehaus.org/${PN}/distributions/${P}-src.jar"
HOMEPAGE="http://jmock.codehaus.org"
LICENSE="BSD"
SLOT="1.0"
-KEYWORDS="~x86 ~amd64"
+KEYWORDS="x86 amd64"
IUSE="doc examples jikes"
DEPEND=">=virtual/jdk-1.4
jikes? ( >=dev-java/jikes-1.21 )
- >=dev-java/ant-core-1.4"
+ dev-java/ant-core"
RDEPEND=">=virtual/jre-1.4
>=dev-java/cglib-2"
@@ -30,22 +30,16 @@ src_unpack() {
src_compile() {
local antflags="core.jar cglib.jar"
- if use doc; then
- antflags="${antflags} javadoc"
- fi
- if use jikes; then
- antflags="${antflags} -Dbuild.compiler=jikes"
- fi
+ use doc && antflags="${antflags} javadoc"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
ant ${antflags} || die "failed to build"
}
src_install() {
java-pkg_dojar build/dist/jars/*.jar
- dodoc CHANGELOG VERSION LICENSE.txt
+ dodoc CHANGELOG VERSION
- if use doc; then
- java-pkg_dohtml -r build/javadoc-${PV}/*
- fi
+ use doc && java-pkg_dohtml -r build/javadoc-${PV}/*
if use examples; then
dodir /usr/share/doc/${PF}/examples
cp -r examples/* ${D}/usr/share/doc/${PF}/examples