summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/spin/spin-1.3.1.ebuild')
-rw-r--r--dev-java/spin/spin-1.3.1.ebuild13
1 files changed, 9 insertions, 4 deletions
diff --git a/dev-java/spin/spin-1.3.1.ebuild b/dev-java/spin/spin-1.3.1.ebuild
index fdc9a4340412..1ba6191cbf76 100644
--- a/dev-java/spin/spin-1.3.1.ebuild
+++ b/dev-java/spin/spin-1.3.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/spin/spin-1.3.1.ebuild,v 1.2 2005/02/17 17:42:58 luckyduck Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/spin/spin-1.3.1.ebuild,v 1.3 2005/03/28 20:32:22 luckyduck Exp $
inherit java-pkg
@@ -9,7 +9,7 @@ HOMEPAGE="http://spin.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${P}.zip"
LICENSE="LGPL-2.1"
SLOT="0"
-KEYWORDS="~x86"
+KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND=">=virtual/jdk-1.4
dev-java/ant
@@ -17,7 +17,7 @@ DEPEND=">=virtual/jdk-1.4
RDEPEND=">=virtual/jre-1.4"
S=${WORKDIR}
-IUSE="doc"
+IUSE="doc jikes source"
src_unpack() {
unpack ${A}
@@ -26,11 +26,16 @@ src_unpack() {
}
src_compile() {
- ant || die "failed to build"
+ local antflags="dist"
+ use doc && antflags="${antflags} doc"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+ ant ${antflags} || die "failed to build"
}
src_install() {
java-pkg_dojar dist/${PN}.jar
+
use doc && java-pkg_dohtml -r ${S}/docs/api/*
+ use source && java-pkg_dosrc src/*
}