diff options
-rw-r--r-- | dev-java/xalan/files/digest-xalan-2.6.0 | 1 | ||||
-rw-r--r-- | dev-java/xalan/xalan-2.6.0.ebuild | 73 |
2 files changed, 0 insertions, 74 deletions
diff --git a/dev-java/xalan/files/digest-xalan-2.6.0 b/dev-java/xalan/files/digest-xalan-2.6.0 deleted file mode 100644 index c01a673dd365..000000000000 --- a/dev-java/xalan/files/digest-xalan-2.6.0 +++ /dev/null @@ -1 +0,0 @@ -MD5 a210f7108e680ab60a11977ec99ab1f9 xalan-j_2_6_0-src.tar.gz 5875008 diff --git a/dev-java/xalan/xalan-2.6.0.ebuild b/dev-java/xalan/xalan-2.6.0.ebuild deleted file mode 100644 index 1377f12dda25..000000000000 --- a/dev-java/xalan/xalan-2.6.0.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/xalan/xalan-2.6.0.ebuild,v 1.12 2005/07/19 18:30:49 axxo Exp $ - -inherit java-pkg eutils - -IUSE="doc" - -MY_P=${PN}-j_${PV//./_} -S=${WORKDIR}/${MY_P} -DESCRIPTION="XSLT processor" -HOMEPAGE="http://xml.apache.org/xalan-j/index.html" -SRC_URI="mirror://apache/xml/xalan-j/source/${MY_P}-src.tar.gz" -LICENSE="Apache-1.1" -SLOT="0" -KEYWORDS="x86 amd64 ppc" -DEPEND=">=virtual/jdk-1.3 - >=dev-java/ant-core-1.5.2 - >=dev-java/xerces-2.6.0" -RDEPEND=">=virtual/jdk-1.3 - >=dev-java/xerces-2.6.0" - -can_build_doc() { - if [ `java-config --java-version 2>&1 | grep "1\.4\." | wc -l` -lt 1 ] ; then - return 0 - else - return 1 - fi -} - -src_compile() { - CLASSPATH=$CLASSPATH:`pwd`/bin/xercesImpl.jar:`pwd`/bin/bsf.jar:`pwd`/src\ - ant jar ${myc} || die "build failed" - - if use doc ; then - if can_build_doc ; then - ant javadocs || die "Build Javadocs Failed" - else - einfo - einfo " 1.4.x JDKs are unable to compile Javadocs at this time." - einfo - fi - fi -} - -src_install() { - java-pkg_dojar build/*.jar - dohtml readme.html - - if use doc ; then - dodoc TODO STATUS README LICENSE ISSUES - java-pkg_dohtml -r build/docs/* - fi -} - -pkg_postinst() { - if use doc && can_build_doc ; then - einfo - einfo " API Documentation is in /usr/share/doc/${PF}." - einfo - einfo " Design documentation can be found online at:" - einfo " http://xml.apache.org/xalan-j/design/design2_0_0.html" - einfo - epause 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 - epause 5 - fi -} |