diff options
author | Jan Brinkmann <luckyduck@gentoo.org> | 2005-02-03 20:12:52 +0000 |
---|---|---|
committer | Jan Brinkmann <luckyduck@gentoo.org> | 2005-02-03 20:12:52 +0000 |
commit | 28df28fa2714e274e1da0f7ab0347704883690fb (patch) | |
tree | 148f9021536929e78400d11d265be60cdbeba6ac /dev-java/crimson | |
parent | Cleanups and important amd64 fixes (diff) | |
download | gentoo-2-28df28fa2714e274e1da0f7ab0347704883690fb.tar.gz gentoo-2-28df28fa2714e274e1da0f7ab0347704883690fb.tar.bz2 gentoo-2-28df28fa2714e274e1da0f7ab0347704883690fb.zip |
added doc and jikes useflag support, stable on amd64.
(Portage version: 2.0.51-r15)
Diffstat (limited to 'dev-java/crimson')
-rw-r--r-- | dev-java/crimson/ChangeLog | 5 | ||||
-rw-r--r-- | dev-java/crimson/crimson-1.1.3.ebuild | 23 |
2 files changed, 20 insertions, 8 deletions
diff --git a/dev-java/crimson/ChangeLog b/dev-java/crimson/ChangeLog index c5c9fa8624cf..7f96892ae209 100644 --- a/dev-java/crimson/ChangeLog +++ b/dev-java/crimson/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-java/crimson # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/crimson/ChangeLog,v 1.9 2005/01/01 18:21:21 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/crimson/ChangeLog,v 1.10 2005/02/03 20:12:52 luckyduck Exp $ + + 03 Feb 2005; Jan Brinkmann <luckyduck@gentoo.org> crimson-1.1.3.ebuild: + added doc and jikes useflag support, stable on amd64. 20 Oct 2004; Dylan Carlson <absinthe@gentoo.org> crimson-1.1.3.ebuild: Keywords ~amd64. diff --git a/dev-java/crimson/crimson-1.1.3.ebuild b/dev-java/crimson/crimson-1.1.3.ebuild index a68afd383bb0..08c91cfa0c6c 100644 --- a/dev-java/crimson/crimson-1.1.3.ebuild +++ b/dev-java/crimson/crimson-1.1.3.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/crimson/crimson-1.1.3.ebuild,v 1.9 2005/01/01 18:21:21 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/crimson/crimson-1.1.3.ebuild,v 1.10 2005/02/03 20:12:52 luckyduck Exp $ inherit java-pkg @@ -9,18 +9,27 @@ HOMEPAGE="http://xml.apache.org/crimson/" SRC_URI="http://xml.apache.org/dist/crimson/${P}-src.tar.gz" LICENSE="Apache-1.1" SLOT="1" -KEYWORDS="x86 ~ppc ~amd64" -IUSE="" -DEPEND=">=virtual/jdk-1.3" +KEYWORDS="x86 ~ppc amd64" +IUSE="doc jikes" +DEPEND=">=virtual/jdk-1.3 + dev-java/ant-core + jikes? ( dev-java/jikes )" +RDEPEND=">=virtual/jre-1.3" src_compile() { - ant jars docs || die + local antflags="jars" + use doc && antflags="${antflags} docs" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + ant ${antflags} || die "ant failed" } src_install() { java-pkg_dojar build/crimson.jar dodoc build/ChangeLog dohtml build/README.html - java-pkg_dohtml -r build/docs - java-pkg_dohtml -r -A class,java,xml build/examples + + if use doc; then + java-pkg_dohtml -r build/docs + java-pkg_dohtml -r -A class,java,xml build/examples + fi } |