# ChangeLog for dev-java/jcifs
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jcifs/ChangeLog,v 1.5 2007/02/18 10:22:20 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jcifs/ChangeLog,v 1.6 2007/04/25 17:44:46 betelgeuse Exp $
+
+*jcifs-1.2.13 (25 Apr 2007)
+
+ 25 Apr 2007; Petteri Räty <betelgeuse@gentoo.org> +jcifs-1.2.13.ebuild:
+ Version bump using generation 2.
18 Feb 2007; nixnut <nixnut@gentoo.org> jcifs-1.1.5.ebuild:
Stable on ppc wrt bug 160569
--- /dev/null
+MD5 d09f1c4146e022b7ba75af739f541ccc jcifs-1.2.13.tgz 724985
+RMD160 90d1e512b50dd291a1a73bbcf0829a490c657a9b jcifs-1.2.13.tgz 724985
+SHA256 c735215e202f956ef9d9a0934eaa71f9cd4a855bca580aa7ed54893f89018860 jcifs-1.2.13.tgz 724985
--- /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/jcifs/jcifs-1.2.13.ebuild,v 1.1 2007/04/25 17:44:46 betelgeuse Exp $
+
+JAVA_PKG_IUSE="doc source"
+
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Library that implements the CIFS/SMB networking protocol in Java"
+SRC_URI="http://jcifs.samba.org/src/${P}.tgz"
+HOMEPAGE="http://jcifs.samba.org/"
+LICENSE="LGPL-2.1"
+SLOT="1.1"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+RDEPEND=">=virtual/jre-1.4
+ =dev-java/servletapi-2.4*"
+DEPEND=">=virtual/jdk-1.4
+ ${RDEPEND}"
+
+S=${WORKDIR}/${P/-/_}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ java-ant_rewrite-classpath
+ rm -v *.jar || die
+}
+
+EANT_EXTRA_ARGS="-DhasServlet=true"
+EANT_GENTOO_CLASSPATH="servletapi-2.4"
+
+src_install() {
+ java-pkg_newjar ${P}.jar
+
+ dodoc README.txt || die
+ # other stuff besides javadocs
+ use doc && java-pkg_dohtml -r docs/*
+ use source && java-pkg_dosrc src/*
+}