diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2007-06-17 21:14:40 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2007-06-17 21:14:40 +0000 |
commit | 86a258a3194028d6d13eceff251f9220c630e830 (patch) | |
tree | 5406e30a23339af785b2cfce5612b13f1e7694d5 /dev-java/xml-commons-resolver | |
parent | Ebuild cleanup. Fixes source use flag dependencies. (diff) | |
download | historical-86a258a3194028d6d13eceff251f9220c630e830.tar.gz historical-86a258a3194028d6d13eceff251f9220c630e830.tar.bz2 historical-86a258a3194028d6d13eceff251f9220c630e830.zip |
use JAVA_PKG_IUSE and EANT_* variables.
Package-Manager: portage-2.1.2.9
Diffstat (limited to 'dev-java/xml-commons-resolver')
-rw-r--r-- | dev-java/xml-commons-resolver/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/xml-commons-resolver/xml-commons-resolver-1.2.ebuild | 21 |
2 files changed, 16 insertions, 13 deletions
diff --git a/dev-java/xml-commons-resolver/ChangeLog b/dev-java/xml-commons-resolver/ChangeLog index f85a523e526a..6662dfdb1756 100644 --- a/dev-java/xml-commons-resolver/ChangeLog +++ b/dev-java/xml-commons-resolver/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-java/xml-commons-resolver -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/xml-commons-resolver/ChangeLog,v 1.25 2006/11/24 23:19:16 caster Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/xml-commons-resolver/ChangeLog,v 1.26 2007/06/17 21:14:40 betelgeuse Exp $ + + 17 Jun 2007; Petteri Räty <betelgeuse@gentoo.org> + xml-commons-resolver-1.2.ebuild: + use JAVA_PKG_IUSE and EANT_* variables. 24 Nov 2006; Vlastimil Babka <caster@gentoo.org> -xml-commons-resolver-1.1.ebuild: diff --git a/dev-java/xml-commons-resolver/xml-commons-resolver-1.2.ebuild b/dev-java/xml-commons-resolver/xml-commons-resolver-1.2.ebuild index 20578bee53bc..17cafb22b5bf 100644 --- a/dev-java/xml-commons-resolver/xml-commons-resolver-1.2.ebuild +++ b/dev-java/xml-commons-resolver/xml-commons-resolver-1.2.ebuild @@ -1,20 +1,20 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/xml-commons-resolver/xml-commons-resolver-1.2.ebuild,v 1.1 2006/11/23 12:26:36 caster Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/xml-commons-resolver/xml-commons-resolver-1.2.ebuild,v 1.2 2007/06/17 21:14:40 betelgeuse Exp $ + +JAVA_PKG_IUSE="doc source" inherit eutils java-pkg-2 java-ant-2 DESCRIPTION="An XML Entity and URI Resolver" HOMEPAGE="http://xml.apache.org/commons/" SRC_URI="mirror://apache/xml/commons/${P}.tar.gz" -DEPEND=">=virtual/jdk-1.3 - dev-java/ant-core - source? ( app-arch/zip )" +DEPEND=">=virtual/jdk-1.3" RDEPEND=">=virtual/jre-1.3" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd" -IUSE="doc source" +IUSE="" JAVA_PKG_BSFIX_NAME="resolver.xml" @@ -22,17 +22,16 @@ src_unpack() { unpack ${A} cd "${S}" - rm -rf apidocs resolver.jar + rm -rf apidocs resolver.jar || die } -src_compile() { - eant -f resolver.xml jar $(use_doc javadocs) -} +EANT_BUILD_XML="resolver.xml" +EANT_DOC_TARGET="javadocs" src_install() { java-pkg_newjar build/resolver.jar - dodoc KEYS LICENSE.resolver.txt NOTICE-resolver.txt + dodoc KEYS LICENSE.resolver.txt NOTICE-resolver.txt || die if use doc; then java-pkg_dojavadoc build/apidocs/resolver java-pkg_dohtml docs/*.html |