summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/scala-bin/ChangeLog5
-rw-r--r--dev-java/scala-bin/scala-bin-2.11.4.ebuild13
2 files changed, 12 insertions, 6 deletions
diff --git a/dev-java/scala-bin/ChangeLog b/dev-java/scala-bin/ChangeLog
index 97fd633d3e15..a61816a87adb 100644
--- a/dev-java/scala-bin/ChangeLog
+++ b/dev-java/scala-bin/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-java/scala-bin
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/scala-bin/ChangeLog,v 1.14 2015/01/18 01:05:53 monsieurp Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/scala-bin/ChangeLog,v 1.15 2015/01/18 21:39:44 monsieurp Exp $
+
+ 18 Jan 2015; Patrice Clement <monsieurp@gentoo.org> scala-bin-2.11.4.ebuild:
+ Use java_prepare() instead of src_prepare. Add `doc' USE flag.
*scala-bin-2.11.4 (18 Jan 2015)
diff --git a/dev-java/scala-bin/scala-bin-2.11.4.ebuild b/dev-java/scala-bin/scala-bin-2.11.4.ebuild
index 76911daa72c6..53bb57ca582b 100644
--- a/dev-java/scala-bin/scala-bin-2.11.4.ebuild
+++ b/dev-java/scala-bin/scala-bin-2.11.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/scala-bin/scala-bin-2.11.4.ebuild,v 1.1 2015/01/18 01:05:53 monsieurp Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/scala-bin/scala-bin-2.11.4.ebuild,v 1.2 2015/01/18 21:39:44 monsieurp Exp $
EAPI=5
inherit java-utils-2
@@ -17,9 +17,10 @@ DEPEND=""
RDEPEND=">=virtual/jre-1.6
!dev-lang/scala"
+JAVA_PKG_IUSE='doc'
S=${WORKDIR}/scala-${PV}
-src_prepare() {
+java_prepare() {
ebegin 'Cleaning .bat files'
rm -f bin/*.bat
eend $?
@@ -67,7 +68,9 @@ src_install() {
doman man/man1/*.1
eend $?
- ebegin 'Installing documentation'
- java-pkg_dohtml -r doc/tools
- eend $?
+ if use doc; then
+ ebegin 'Installing documentation'
+ java-pkg_dohtml -r doc/tools
+ eend $?
+ fi
}