summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2005-07-16 12:29:59 +0000
committerThomas Matthijs <axxo@gentoo.org>2005-07-16 12:29:59 +0000
commitc30bac8f0da8013ff4008a7ffd1df7d428562fa7 (patch)
treec9b4b453e7551810809458aefa21625983983648 /dev-java/classworlds
parentstable on x86 (diff)
downloadhistorical-c30bac8f0da8013ff4008a7ffd1df7d428562fa7.tar.gz
historical-c30bac8f0da8013ff4008a7ffd1df7d428562fa7.tar.bz2
historical-c30bac8f0da8013ff4008a7ffd1df7d428562fa7.zip
dep/style fixes
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'dev-java/classworlds')
-rw-r--r--dev-java/classworlds/Manifest14
-rw-r--r--dev-java/classworlds/classworlds-1.0-r2.ebuild24
2 files changed, 22 insertions, 16 deletions
diff --git a/dev-java/classworlds/Manifest b/dev-java/classworlds/Manifest
index 8721adb7d9be..69a6321fa2d5 100644
--- a/dev-java/classworlds/Manifest
+++ b/dev-java/classworlds/Manifest
@@ -1,5 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 6eda658125fdcfcaf86e48a0cf87763e classworlds-1.0-r2.ebuild 1187
MD5 ccde922b22b41063881076b1d2f2f99a ChangeLog 1545
-MD5 8552c88e601bcc238eac6232daf3fd9e classworlds-1.0-r2.ebuild 1231
MD5 dc6ad4755e0695dd9a2a898624e16b7c metadata.xml 1546
-MD5 c8530f78dd3e23e4967723a10415c7b8 files/build-1.0.xml 5852
MD5 65ee55fedb5b26dee5df9c665d297a12 files/digest-classworlds-1.0-r2 70
+MD5 c8530f78dd3e23e4967723a10415c7b8 files/build-1.0.xml 5852
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.1 (GNU/Linux)
+
+iD8DBQFC2P3f/rLF9B432nYRAm5YAJ490eE6aNQWidoPodyf6K8QjtBoIgCfYHFH
+e5vjdc5vg1iruWHuCJuWtWU=
+=2VTP
+-----END PGP SIGNATURE-----
diff --git a/dev-java/classworlds/classworlds-1.0-r2.ebuild b/dev-java/classworlds/classworlds-1.0-r2.ebuild
index c8980f543bec..f332afc7683d 100644
--- a/dev-java/classworlds/classworlds-1.0-r2.ebuild
+++ b/dev-java/classworlds/classworlds-1.0-r2.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/classworlds/classworlds-1.0-r2.ebuild,v 1.10 2005/04/22 08:19:02 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/classworlds/classworlds-1.0-r2.ebuild,v 1.11 2005/07/16 12:29:59 axxo Exp $
inherit java-pkg
@@ -11,11 +11,12 @@ LICENSE="codehaus-classworlds"
SLOT="1"
KEYWORDS="x86 ~ppc amd64"
IUSE="doc jikes"
+RDEPEND=">=virtual/jre-1.4
+ =dev-java/xerces-2.6*"
DEPEND=">=virtual/jdk-1.4
+ ${RDEPEND}
jikes? ( >=dev-java/jikes-1.21 )
>=dev-java/ant-core-1.6"
-RDEPEND=">=virtual/jre-1.4
- =dev-java/xerces-2.6*"
src_unpack() {
unpack ${A}
@@ -25,22 +26,17 @@ src_unpack() {
cd ${S}/target/lib
# karltk: remove the fake versioning here.
- java-pkg_jar-from xerces-2 || die "Missing xerces"
+ java-pkg_jar-from xerces-2
}
src_compile() {
- local myconf="jar"
- if use jikes; then
- myconf="${myconf} -Dbuild.compiler=jikes"
- fi
- if use doc; then
- myconf="${myconf} javadoc"
- fi
- ant ${myconf} || die "Failed to compile jars"
+ local antflags="jar"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+ use doc && antflags="${antflags} javadoc"
+ ant ${antflags} || die "Failed to compile jars"
}
src_install() {
- dodoc LICENSE.txt
- java-pkg_dojar target/classworlds-1.0.jar
+ java-pkg_newjar target/${P}.jar ${PN}.jar
use doc && java-pkg_dohtml -r dist/docs/api
}