summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Brinkmann <luckyduck@gentoo.org>2005-05-04 17:55:26 +0000
committerJan Brinkmann <luckyduck@gentoo.org>2005-05-04 17:55:26 +0000
commit4ca316f78d73046b23ab6277cf1b4ba2d2fe996c (patch)
tree8b50b71e6985a5b8a3890c27d923b068ad463df5 /dev-java/xmlunit/xmlunit-1.0.ebuild
parentadded ~ppc to KEYWORDS, introduced support for the source useflag. (diff)
downloadgentoo-2-4ca316f78d73046b23ab6277cf1b4ba2d2fe996c.tar.gz
gentoo-2-4ca316f78d73046b23ab6277cf1b4ba2d2fe996c.tar.bz2
gentoo-2-4ca316f78d73046b23ab6277cf1b4ba2d2fe996c.zip
added ~ppc to KEYWORDS
(Portage version: 2.0.51.21)
Diffstat (limited to 'dev-java/xmlunit/xmlunit-1.0.ebuild')
-rw-r--r--dev-java/xmlunit/xmlunit-1.0.ebuild19
1 files changed, 7 insertions, 12 deletions
diff --git a/dev-java/xmlunit/xmlunit-1.0.ebuild b/dev-java/xmlunit/xmlunit-1.0.ebuild
index 4ee318c879ce..70d0a9ed61c4 100644
--- a/dev-java/xmlunit/xmlunit-1.0.ebuild
+++ b/dev-java/xmlunit/xmlunit-1.0.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/xmlunit/xmlunit-1.0.ebuild,v 1.3 2005/03/16 16:59:03 luckyduck Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlunit/xmlunit-1.0.ebuild,v 1.4 2005/05/04 17:55:26 luckyduck Exp $
inherit eutils java-pkg
@@ -9,7 +9,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P/-/}.zip"
HOMEPAGE="http://xmlunit.sourceforge.net/"
LICENSE="BSD"
SLOT="1"
-KEYWORDS="x86 amd64"
+KEYWORDS="x86 amd64 ~ppc"
IUSE="doc jikes junit source"
DEPEND=">=virtual/jdk-1.3
jikes? ( >=dev-java/jikes-1.21 )
@@ -27,8 +27,7 @@ src_unpack() {
cd ${S}
epatch ${FILESDIR}/${P}-gentoo.patch
- cd ${S}/lib
- rm -f *.jar
+ rm -f ${S}/lib/*.jar
}
src_compile() {
@@ -41,12 +40,8 @@ src_compile() {
src_install() {
java-pkg_dojar lib/${PN}.jar
- dodoc LICENSE.txt README.txt
-
- if use source; then
- java-pkg_dosrc src/java/*
- fi
- if use doc; then
- java-pkg_dohtml -r doc/*
- fi
+
+ dodoc README.txt
+ use doc && java-pkg_dohtml -r doc/*
+ use source && java-pkg_dosrc src/java/*
}