diff options
author | Dylan Carlson <absinthe@gentoo.org> | 2003-04-10 10:59:42 +0000 |
---|---|---|
committer | Dylan Carlson <absinthe@gentoo.org> | 2003-04-10 10:59:42 +0000 |
commit | 0aa3c36672b5075f74a319df9adf1bdf1ee0dbe0 (patch) | |
tree | ac4921330fe64c7e5e607b8f07b057f444f0c0ae /dev-java | |
parent | Moved to stable to close #10362, #19072. Keywords x86, ppc, sparc. (diff) | |
download | historical-0aa3c36672b5075f74a319df9adf1bdf1ee0dbe0.tar.gz historical-0aa3c36672b5075f74a319df9adf1bdf1ee0dbe0.tar.bz2 historical-0aa3c36672b5075f74a319df9adf1bdf1ee0dbe0.zip |
Moved to stable to close #10362, #19072. Keywords x86, ppc, sparc.
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/xalan/files/digest-xalan-2.4.1-r2 | 2 | ||||
-rw-r--r-- | dev-java/xalan/xalan-2.4.1-r2.ebuild | 59 |
2 files changed, 60 insertions, 1 deletions
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 +} |