summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Brinkmann <luckyduck@gentoo.org>2005-05-01 17:34:00 +0000
committerJan Brinkmann <luckyduck@gentoo.org>2005-05-01 17:34:00 +0000
commit6d413ca1a8ba6f7aa79bc635ce2f8b97fca165f2 (patch)
tree46add07d627f327b028a16a18df5431fdd15a3a0 /dev-java/xerces/xerces-2.3.0-r1.ebuild
parentStable on ppc. (diff)
downloadhistorical-6d413ca1a8ba6f7aa79bc635ce2f8b97fca165f2.tar.gz
historical-6d413ca1a8ba6f7aa79bc635ce2f8b97fca165f2.tar.bz2
historical-6d413ca1a8ba6f7aa79bc635ce2f8b97fca165f2.zip
marked 1.3.1-r1 stable on amd64, ppc and x86. marked 2.3.0-r1 stable on amd64 and x86, added ~ppc to KEYWORDS and introduced support for the examples useflag. marked 2.6.2-r2 stable on amd64 and x86, added ~ppc to KEYWORDS.
Package-Manager: portage-2.0.51.20-r5
Diffstat (limited to 'dev-java/xerces/xerces-2.3.0-r1.ebuild')
-rw-r--r--dev-java/xerces/xerces-2.3.0-r1.ebuild21
1 files changed, 11 insertions, 10 deletions
diff --git a/dev-java/xerces/xerces-2.3.0-r1.ebuild b/dev-java/xerces/xerces-2.3.0-r1.ebuild
index ea58d344d2e5..f07f38dfedcb 100644
--- a/dev-java/xerces/xerces-2.3.0-r1.ebuild
+++ b/dev-java/xerces/xerces-2.3.0-r1.ebuild
@@ -1,17 +1,17 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/xerces/xerces-2.3.0-r1.ebuild,v 1.9 2005/03/23 18:22:45 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xerces/xerces-2.3.0-r1.ebuild,v 1.10 2005/05/01 17:34:00 luckyduck Exp $
inherit java-pkg eutils
-S=${WORKDIR}/xerces-${PV//./_}
DESCRIPTION="The next generation of high performance, fully compliant XML parsers in the Apache Xerces family"
HOMEPAGE="http://xml.apache.org/xerces2-j/index.html"
SRC_URI="http://xml.apache.org/dist/xerces-j/Xerces-J-src.${PV}.tar.gz"
LICENSE="Apache-1.1"
SLOT="2.3"
-KEYWORDS="~x86 ~amd64 ~sparc"
+KEYWORDS="x86 amd64 ~sparc ~ppc"
+IUSE="doc examples jikes source"
DEPEND=">=virtual/jdk-1.3
jikes? ( dev-java/jikes )
@@ -21,7 +21,7 @@ RDEPEND=">=virtual/jre-1.3
>=dev-java/xalan-2.5.2
dev-java/xjavac
>=dev-java/xml-commons-1.0_beta2"
-IUSE="doc jikes source"
+S=${WORKDIR}/xerces-${PV//./_}
src_unpack() {
unpack ${A}
@@ -48,15 +48,16 @@ src_compile() {
src_install () {
java-pkg_dojar build/x*.jar
- dodoc TODO STATUS README LICENSE ISSUES
- dohtml Readme.html
+
+ dodoc TODO STATUS README ISSUES
+ java-pkg_dohtml Readme.html
if use doc; then
- dodir /usr/share/doc/${PF}
- cp -a samples ${D}/usr/share/doc/${PF}
java-pkg_dohtml -r build/docs/javadocs
fi
- if use source; then
- java-pkg_dosrc ${S}/src/*
+ if use examples; then
+ dodir /usr/share/doc/${PF}/examples
+ cp -a samples/* ${D}/usr/share/doc/${PF}
fi
+ use source && java-pkg_dosrc ${S}/src/*
}