diff options
author | Joshua Nichols <nichoj@gentoo.org> | 2006-09-29 03:31:25 +0000 |
---|---|---|
committer | Joshua Nichols <nichoj@gentoo.org> | 2006-09-29 03:31:25 +0000 |
commit | ffe3e9762f25eb040ad34f53e78a1acff7a4abbd (patch) | |
tree | 93554fab583b4e397991e98dd0c390e8e02bd540 /dev-java/crimson/crimson-1.1.3-r1.ebuild | |
parent | fix dep typo (diff) | |
download | historical-ffe3e9762f25eb040ad34f53e78a1acff7a4abbd.tar.gz historical-ffe3e9762f25eb040ad34f53e78a1acff7a4abbd.tar.bz2 historical-ffe3e9762f25eb040ad34f53e78a1acff7a4abbd.zip |
Revision bump by fordfrog to support new Java system.
Package-Manager: portage-2.1.2_pre1-r1
Diffstat (limited to 'dev-java/crimson/crimson-1.1.3-r1.ebuild')
-rw-r--r-- | dev-java/crimson/crimson-1.1.3-r1.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-java/crimson/crimson-1.1.3-r1.ebuild b/dev-java/crimson/crimson-1.1.3-r1.ebuild new file mode 100644 index 000000000000..7c3e7af6eea9 --- /dev/null +++ b/dev-java/crimson/crimson-1.1.3-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2006 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-r1.ebuild,v 1.1 2006/09/29 03:31:25 nichoj Exp $ + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Apache Crimson XML 1.0 parser" +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="~amd64 ~ppc ~x86" +IUSE="doc examples source" + +DEPEND="|| ( =virtual/jdk-1.3* =virtual/jdk-1.4* ) + dev-java/ant-core + source? ( app-arch/zip )" +RDEPEND="|| ( =virtual/jre-1.3* =virtual/jre-1.4* )" + +src_compile() { + eant jars $(use_doc docs) +} + +src_install() { + java-pkg_dojar build/${PN}.jar + + dodoc build/ChangeLog + java-pkg_dohtml build/README.html + if use doc; then + java-pkg_dohtml -r build/docs + java-pkg_dohtml -r -A class,java,xml build/examples + fi + if use examples; then + dodir /usr/share/doc/${PF}/examples + cp -r examples/* ${D}/usr/share/doc/${PF}/examples + fi + use source && java-pkg_dosrc src/javax src/org +} |