# ChangeLog for dev-java/swing-layout
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/swing-layout/ChangeLog,v 1.6 2007/01/10 16:56:58 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/swing-layout/ChangeLog,v 1.7 2007/04/15 22:30:48 betelgeuse Exp $
+
+ 15 Apr 2007; Petteri Räty <betelgeuse@gentoo.org>
+ swing-layout-1.0.1-r1.ebuild:
+ app-arch/zip was missing from DEPEND with the source use flag
10 Jan 2007; Petteri Räty <betelgeuse@gentoo.org>
-swing-layout-1.0.1.ebuild, swing-layout-1.0.1-r1.ebuild:
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/swing-layout/swing-layout-1.0.1-r1.ebuild,v 1.3 2007/01/10 16:56:58 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/swing-layout/swing-layout-1.0.1-r1.ebuild,v 1.4 2007/04/15 22:30:48 betelgeuse Exp $
+
+JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-ant-2
IUSE="doc source"
DEPEND=">=virtual/jdk-1.4
- >=dev-java/ant-core-1.5
app-arch/unzip"
RDEPEND=">=virtual/jre-1.4"
src_install(){
java-pkg_dojar dist/swing-layout.jar
- dodoc releaseNotes.txt
+ dodoc releaseNotes.txt || die
use doc && java-pkg_dojavadoc dist/javadoc
use source && java-pkg_dosrc src/java/org
}