summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Carlson <absinthe@gentoo.org>2003-04-10 10:59:42 +0000
committerDylan Carlson <absinthe@gentoo.org>2003-04-10 10:59:42 +0000
commitcaff723d6ac3672efe9ecbfe5fe6ed30f347995c (patch)
treeea25061ed0887711b5a93e207dad2ddfd2dfe2fa /dev-java/xalan
parentMoved to stable to close #10362, #19072. Keywords x86, ppc, sparc. (diff)
downloadgentoo-2-caff723d6ac3672efe9ecbfe5fe6ed30f347995c.tar.gz
gentoo-2-caff723d6ac3672efe9ecbfe5fe6ed30f347995c.tar.bz2
gentoo-2-caff723d6ac3672efe9ecbfe5fe6ed30f347995c.zip
Moved to stable to close #10362, #19072. Keywords x86, ppc, sparc.
Diffstat (limited to 'dev-java/xalan')
-rw-r--r--dev-java/xalan/ChangeLog14
-rw-r--r--dev-java/xalan/files/digest-xalan-2.4.1-r22
-rw-r--r--dev-java/xalan/xalan-2.4.1-r2.ebuild59
3 files changed, 73 insertions, 2 deletions
diff --git a/dev-java/xalan/ChangeLog b/dev-java/xalan/ChangeLog
index 24414696749d..ffe9e3fa58d2 100644
--- a/dev-java/xalan/ChangeLog
+++ b/dev-java/xalan/ChangeLog
@@ -1,8 +1,20 @@
# ChangeLog for dev-java/xalan
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/xalan/ChangeLog,v 1.9 2003/02/12 05:55:01 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xalan/ChangeLog,v 1.10 2003/04/10 10:59:37 absinthe Exp $
+
+*xalan-2.4.1-r2 (10 Apr 2003)
+
+ 10 Apr 2003; Dylan Carlson <absinthe@gentoo.org> xalan-2.4.1-r2.ebuild:
+ 'x86' 'ppc' 'sparc' moved to stable.
+
+ Closes bugs #10362, #19072.
+
+ Added 'doc' USE. Stripped out virtualx. Javadocs get built properly on
+ 1.3.1 JDKs, but still fail on 1.4.0 and later. The ebuild handles this
+ exception and points the user to the online documentation instead.
*xalan-2.4.1-r1 (02 Dec 2002)
+
02 Dec 2002; Adrian Almenar <strider@gentoo.org> xalan-2.4.1-r1.ebuild files/digest-xalan-2.4.1-r1:
Revision Bump.
diff --git a/dev-java/xalan/files/digest-xalan-2.4.1-r2 b/dev-java/xalan/files/digest-xalan-2.4.1-r2
index 29ea481ee022..c90692241e45 100644
--- a/dev-java/xalan/files/digest-xalan-2.4.1-r2
+++ b/dev-java/xalan/files/digest-xalan-2.4.1-r2
@@ -1,2 +1,2 @@
-MD5 bdf582334dd9af299f6b344970d59e08 /xalan-2.4.1-r2.ebuild 1980
+MD5 6ea8dc699521d02a83443f911ff51ee7 /xalan-2.4.1-r2.ebuild 1982
MD5 099c829fde4191d59120e91d4a821875 xalan-j_2_4_1-src.tar.gz 4868084
diff --git a/dev-java/xalan/xalan-2.4.1-r2.ebuild b/dev-java/xalan/xalan-2.4.1-r2.ebuild
new file mode 100644
index 000000000000..66fcd74397dc
--- /dev/null
+++ b/dev-java/xalan/xalan-2.4.1-r2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xalan/xalan-2.4.1-r2.ebuild,v 1.1 2003/04/10 10:59:37 absinthe Exp $
+
+S=${WORKDIR}/${PN}-j_2_4_1
+DESCRIPTION="XSLT processor"
+HOMEPAGE="http://xml.apache.org/xalan-j/index.html"
+SRC_URI="http://xml.apache.org/dist/xalan-j/${PN}-j_2_4_1-src.tar.gz"
+LICENSE="Apache-1.1"
+DEPEND=">=virtual/jdk-1.3
+ >=dev-java/ant-1.5.2
+ >=dev-java/xerces-2.3.0"
+RDEPEND="$DEPEND"
+SLOT="0"
+KEYWORDS="x86 sparc ppc"
+IUSE="doc"
+
+src_compile() {
+ ant jar ${myc} || die "build failed"
+
+ if [ -n "`use doc`" ] ; then
+ if [ `java-config --java-version 2>&1 | grep "1\.4\." | wc -l` -lt 1 ] ; then
+ ant javadocs || die "Build Javadocs Failed"
+ else
+ USE=""
+ einfo " "
+ einfo " 1.4.x JDKs are unable to compile Javadocs at this time. "
+ einfo " "
+ fi
+ fi
+}
+
+src_install () {
+ dojar build/xalan.jar
+ dohtml readme.html
+
+ if [ -n "`use doc`" ] ; then
+ dohtml -r build/docs/*
+ fi
+}
+
+pkg_postinst() {
+ if [ -n "`use doc`" ] ; then
+ einfo " "
+ einfo " API Documentation is in /usr/share/doc/${PN}-${PV}. "
+ einfo " "
+ einfo " Design documentation can be found online at: "
+ einfo " http://xml.apache.org/xalan-j/design/design2_0_0.html"
+ einfo " "
+ sleep 5
+ else
+ einfo " "
+ einfo " Online Documentation: "
+ einfo " http://xml.apache.org/xalan-j/design/design2_0_0.html"
+ einfo " http://xml.apache.org/xalan-j/apidocs/index.html "
+ einfo " "
+ sleep 5
+ fi
+}