summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/avalon-phoenix/avalon-phoenix-4.0.4.ebuild')
-rw-r--r--dev-java/avalon-phoenix/avalon-phoenix-4.0.4.ebuild16
1 files changed, 7 insertions, 9 deletions
diff --git a/dev-java/avalon-phoenix/avalon-phoenix-4.0.4.ebuild b/dev-java/avalon-phoenix/avalon-phoenix-4.0.4.ebuild
index 01d43db86505..61a7b668bcaf 100644
--- a/dev-java/avalon-phoenix/avalon-phoenix-4.0.4.ebuild
+++ b/dev-java/avalon-phoenix/avalon-phoenix-4.0.4.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/avalon-phoenix/avalon-phoenix-4.0.4.ebuild,v 1.9 2004/06/24 22:17:31 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/avalon-phoenix/avalon-phoenix-4.0.4.ebuild,v 1.10 2004/10/16 17:00:22 axxo Exp $
+
+inherit java-pkg
MY_P=phoenix-${PV}
DESCRIPTION="Avalon Phoenix is a API for java-based servers"
@@ -17,7 +19,6 @@ IUSE="jikes debug"
S=${WORKDIR}/${MY_P}
src_compile() {
-
if use jikes
then
echo "build.compiler=jikes\n" > ${S}/.ant.properties
@@ -33,16 +34,13 @@ src_compile() {
echo "phoenix.home=phoenix-home" >> ${S}/.ant.properties
echo "base.path=/opt" >> ${S}/.ant.properties #Is this really needed?
- ant get-mx4j main
-
+ ant get-mx4j main || die "failed to build"
}
src_install() {
-
- dojar dist/bin/lib/*.jar
- dojar dist/bin/phoenix-loader.jar
+ java-pkg_dojar dist/bin/lib/*.jar
+ java-pkg_dojar dist/bin/phoenix-loader.jar
dodoc README.txt LICENSE.txt
dodir /usr/share/doc/
- dohtml -A .css .jpg .gif -r docs
-
+ java-pkg_dohtml -A .css .jpg .gif -r docs
}