diff options
author | Thomas Matthijs <axxo@gentoo.org> | 2005-07-09 16:05:14 +0000 |
---|---|---|
committer | Thomas Matthijs <axxo@gentoo.org> | 2005-07-09 16:05:14 +0000 |
commit | 2caa0403764bce1e3f0f93fed62493bd5dbf3ff6 (patch) | |
tree | 75ab64cb2253eadbe29478d707abaf668216ebf5 /dev-java/jdom/jdom-1.0_beta6.ebuild | |
parent | and source useflag support, some cleanups (diff) | |
download | historical-2caa0403764bce1e3f0f93fed62493bd5dbf3ff6.tar.gz historical-2caa0403764bce1e3f0f93fed62493bd5dbf3ff6.tar.bz2 historical-2caa0403764bce1e3f0f93fed62493bd5dbf3ff6.zip |
fix deps, and source useflag support, cleanups
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'dev-java/jdom/jdom-1.0_beta6.ebuild')
-rw-r--r-- | dev-java/jdom/jdom-1.0_beta6.ebuild | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/dev-java/jdom/jdom-1.0_beta6.ebuild b/dev-java/jdom/jdom-1.0_beta6.ebuild index b575e9b38e20..01b252bc2488 100644 --- a/dev-java/jdom/jdom-1.0_beta6.ebuild +++ b/dev-java/jdom/jdom-1.0_beta6.ebuild @@ -1,29 +1,30 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jdom/jdom-1.0_beta6.ebuild,v 1.3 2005/04/06 19:16:45 luckyduck Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jdom/jdom-1.0_beta6.ebuild,v 1.4 2005/07/09 16:04:38 axxo Exp $ inherit java-pkg -IUSE="jikes doc" +IUSE="jikes doc source" MY_PN="jdom" MY_PV="b6" MY_P="${MY_PN}-${MY_PV}" DESCRIPTION="Java API to manipulate XML data" -SRC_URI="http://www.jdom.org/dist/source/archive/${MY_P}.tar.gz" +SRC_URI="http://www.jdom.org/dist/source/${MY_P}.tar.gz" HOMEPAGE="http://www.jdom.org" LICENSE="JDOM" SLOT="${PV}" KEYWORDS="~x86 ~amd64" -DEPEND=">=dev-java/ant-1.4.1 - ${RDEPEND} - >=virtual/jdk-1.3 - jikes? ( >=dev-java/jikes-1.15 )" + RDEPEND=">=virtual/jre-1.3 - =dev-java/xerces-2.6.2* dev-java/saxpath - dev-java/xalan" + dev-java/xalan + >=dev-java/xerces-2.6.2-r1" +DEPEND=">=virtual/jdk-1.3 + dev-java/ant-core + jikes? ( >=dev-java/jikes-1.15 ) + ${RDEPEND}" S="${WORKDIR}/${MY_P}" @@ -37,8 +38,7 @@ src_unpack() { java-pkg_jar-from xerces-2 if has_version jaxen; then - jaxenlib="`best_version dev-java/jaxen | sed s/"dev-java\/"//|sed -e s/_beta.-r.//`" - java-pkg_jar-from ${jaxenlib} + java-pkg_jar-from jaxen-1.1 fi } @@ -51,19 +51,19 @@ src_compile() { src_install() { java-pkg_dojar build/*.jar - dodoc CHANGES.txt COMMITTERS.txt LICENSE.txt README.txt TODO.txt + dodoc CHANGES.txt COMMITTERS.txt README.txt TODO.txt use doc && java-pkg_dohtml -r build/apidocs/* + use source && java-pkg_dosrc src/java/* } pkg_postinst() { if ! has_version jaxen; then einfo "" einfo "If you want jaxen support for jdom then" - einfo "please emerge dev-java/jaxen first and" + einfo "please emerge =dev-java/jaxen-1.1* first and" einfo "re-emerge jdom. Sorry for the" einfo "inconvenience, this is to break out of the" einfo "circular dependencies." einfo "" fi } - |