summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Nichols <nichoj@gentoo.org>2006-07-02 04:48:31 +0000
committerJoshua Nichols <nichoj@gentoo.org>2006-07-02 04:48:31 +0000
commit705cf56a326c691116a88fed01fda9554ba5f6ee (patch)
treef437924b16acd5f8fda1b1115ca52a04ea85ab14 /dev-java/ant-contrib
parentVersion bump. (diff)
downloadgentoo-2-705cf56a326c691116a88fed01fda9554ba5f6ee.tar.gz
gentoo-2-705cf56a326c691116a88fed01fda9554ba5f6ee.tar.bz2
gentoo-2-705cf56a326c691116a88fed01fda9554ba5f6ee.zip
Revision bump to support new Java system. Added source use flag.
(Portage version: 2.1.1_pre1)
Diffstat (limited to 'dev-java/ant-contrib')
-rw-r--r--dev-java/ant-contrib/ChangeLog8
-rw-r--r--dev-java/ant-contrib/ant-contrib-1.0_beta2-r1.ebuild46
-rw-r--r--dev-java/ant-contrib/files/digest-ant-contrib-1.0_beta22
-rw-r--r--dev-java/ant-contrib/files/digest-ant-contrib-1.0_beta2-r13
4 files changed, 57 insertions, 2 deletions
diff --git a/dev-java/ant-contrib/ChangeLog b/dev-java/ant-contrib/ChangeLog
index a7a515945d37..513e94e8bf91 100644
--- a/dev-java/ant-contrib/ChangeLog
+++ b/dev-java/ant-contrib/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-java/ant-contrib
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-contrib/ChangeLog,v 1.9 2005/12/18 00:13:36 betelgeuse Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-contrib/ChangeLog,v 1.10 2006/07/02 04:48:31 nichoj Exp $
+
+ 02 Jul 2006; Joshua Nichols <nichoj@gentoo.org>
+ +ant-contrib-1.0_beta2-r1.ebuild:
+ Revision bump to support new Java system. Added source use flag.
18 Dec 2005; Petteri Räty <betelgeuse@gentoo.org>
ant-contrib-1.0_beta2.ebuild:
diff --git a/dev-java/ant-contrib/ant-contrib-1.0_beta2-r1.ebuild b/dev-java/ant-contrib/ant-contrib-1.0_beta2-r1.ebuild
new file mode 100644
index 000000000000..455addc34a91
--- /dev/null
+++ b/dev-java/ant-contrib/ant-contrib-1.0_beta2-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-contrib/ant-contrib-1.0_beta2-r1.ebuild,v 1.1 2006/07/02 04:48:31 nichoj Exp $
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="The Ant-Contrib project is a collection of tasks (and at one point maybe types and other tools) for Apache Ant."
+HOMEPAGE="http://ant-contrib.sourceforge.net/"
+SRC_URI="mirror://sourceforge/ant-contrib/${PN}-${PV/_beta/b}-src.tar.bz2"
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc source"
+
+RDEPEND=">=virtual/jre-1.4
+ >=dev-java/bcel-5.1
+ >=dev-java/xerces-2.6.2"
+DEPEND=">=virtual/jdk-1.4
+ ${RDEPEND}
+ >=dev-java/ant-core-1.6.2
+ source? ( app-arch/zip )"
+
+S=${WORKDIR}/${PN}
+
+ant_src_unpack() {
+ unpack ${A}
+ cd ${S}/lib
+ java-pkg_jar-from bcel bcel.jar bcel-5.1.jar
+ java-pkg_jar-from xerces-2
+}
+
+src_compile() {
+ eant jar -Dversion=${PV} $(use_doc docs)
+}
+
+src_install() {
+ java-pkg_dojar build/lib/${PN}.jar
+
+ dodir /usr/share/ant-core/lib
+ dosym /usr/share/${PN}/lib/${PN}.jar /usr/share/ant-core/lib/
+
+ dodoc README.txt
+ use doc && java-pkg_dohtml -r build/docs
+ use source && java-pkg_dosrc src/net
+ java-pkg_dohtml -r manual
+}
diff --git a/dev-java/ant-contrib/files/digest-ant-contrib-1.0_beta2 b/dev-java/ant-contrib/files/digest-ant-contrib-1.0_beta2
index 365188c815e3..6e75f888b150 100644
--- a/dev-java/ant-contrib/files/digest-ant-contrib-1.0_beta2
+++ b/dev-java/ant-contrib/files/digest-ant-contrib-1.0_beta2
@@ -1 +1,3 @@
MD5 9f4563dffa0050feb9946fb2433a880d ant-contrib-1.0b2-src.tar.bz2 118216
+RMD160 75a47ea59e6af1df723e48899b8e5cc124597573 ant-contrib-1.0b2-src.tar.bz2 118216
+SHA256 29bdd00ee0df1d7b24e55b08bfff5641edf3f805e45a278641d42c0bf0ce9269 ant-contrib-1.0b2-src.tar.bz2 118216
diff --git a/dev-java/ant-contrib/files/digest-ant-contrib-1.0_beta2-r1 b/dev-java/ant-contrib/files/digest-ant-contrib-1.0_beta2-r1
new file mode 100644
index 000000000000..6e75f888b150
--- /dev/null
+++ b/dev-java/ant-contrib/files/digest-ant-contrib-1.0_beta2-r1
@@ -0,0 +1,3 @@
+MD5 9f4563dffa0050feb9946fb2433a880d ant-contrib-1.0b2-src.tar.bz2 118216
+RMD160 75a47ea59e6af1df723e48899b8e5cc124597573 ant-contrib-1.0b2-src.tar.bz2 118216
+SHA256 29bdd00ee0df1d7b24e55b08bfff5641edf3f805e45a278641d42c0bf0ce9269 ant-contrib-1.0b2-src.tar.bz2 118216