# ChangeLog for dev-java/jline
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jline/ChangeLog,v 1.1 2007/01/05 02:33:12 nichoj Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jline/ChangeLog,v 1.2 2007/01/05 04:05:19 nichoj Exp $
+
+*jline-0.9.9-r1 (05 Jan 2007)
+
+ 05 Jan 2007; Joshua Nichols <nichoj@gentoo.org> -jline-0.9.9.ebuild,
+ +jline-0.9.9-r1.ebuild:
+ Forgot to inherit java-ant-2 for rewritting.
*jline-0.9.9 (05 Jan 2007)
--- /dev/null
+MD5 c5164fb17d33315fa2c1ad10ab84aef7 jline-0.9.9.zip 692022
+RMD160 62e45ddadf1eb175cf0271df5f8f8d6075f62f07 jline-0.9.9.zip 692022
+SHA256 f1ac3b06fbb9b81c03555874ab748c3e674644736f0003ac3ed81d6201332e9b jline-0.9.9.zip 692022
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jline/jline-0.9.9-r1.ebuild,v 1.1 2007/01/05 04:05:19 nichoj Exp $
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="A Java library for handling console input"
+HOMEPAGE="http://jline.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.zip"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="source"
+
+DEPEND=">=virtual/jdk-1.4
+ dev-java/ant-core
+ app-arch/unzip
+ source? ( app-arch/zip )"
+RDEPEND=">=virtual/jre-1.4"
+
+S="${WORKDIR}/${P}/src"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ mkdir lib
+ # we don't support maven for building yet. this build.xml was generated by:
+ # - mvn ant:ant
+ # - tweak build.xml to use <fileset dir="lib" includes="**/*.jar" for
+ # build.classpath
+ cp ${FILESDIR}/build-${PV}.xml build.xml || die "failed to copy build.xml"
+}
+
+src_install() {
+ java-pkg_newjar target/${P}.jar
+ use source && java-pkg_dosrc src/main/java
+}