diff options
Diffstat (limited to 'dev-lang/scala-bin/scala-bin-2.11.8.ebuild')
-rw-r--r-- | dev-lang/scala-bin/scala-bin-2.11.8.ebuild | 85 |
1 files changed, 0 insertions, 85 deletions
diff --git a/dev-lang/scala-bin/scala-bin-2.11.8.ebuild b/dev-lang/scala-bin/scala-bin-2.11.8.ebuild deleted file mode 100644 index 83f4905b76f4..000000000000 --- a/dev-lang/scala-bin/scala-bin-2.11.8.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -JAVA_PKG_IUSE="doc" - -inherit java-pkg-2 - -MY_PN="${PN%-*}" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="The Scala Programming Language" -HOMEPAGE="http://scala.epfl.ch/" -SRC_URI="http://downloads.lightbend.com/${MY_PN}/${PV}/${MY_P}.tgz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="doc" - -RDEPEND=" - >=virtual/jre-1.6 - !dev-lang/scala" - -S="${WORKDIR}/${MY_P}" - -src_prepare() { - default - ebegin 'Cleaning .bat files' - rm -f bin/*.bat || die - eend $? - - ebegin 'Patching SCALA_HOME variable in bin/ directory' - local f - for f in bin/*; do - sed -i -e 's#\(SCALA_HOME\)=.*#\1=/usr/share/scala-bin#' $f || die - done - eend $? -} - -src_compile() { - :; -} - -src_install() { - ebegin 'Installing bin scripts' - dobin bin/* - eend $? - - ebegin 'Installing jar files' - cd lib/ || die - - # Unversion those libs - java-pkg_newjar scala-continuations-library_*.jar scala-continuations-library.jar - java-pkg_newjar akka-actor_*.jar akka-actor.jar - java-pkg_newjar config-*.jar config.jar - java-pkg_newjar scala-actors-2.11.0.jar scala-actors.jar - java-pkg_newjar scala-actors-migration_*.jar scala-actors-migration.jar - java-pkg_newjar scala-swing_*.jar scala-swing.jar - java-pkg_newjar scala-parser-combinators_*.jar scala-parser-combinators.jar - java-pkg_newjar scala-xml_*.jar scala-xml.jar - java-pkg_newjar jline-*.jar jline.jar - java-pkg_newjar scala-continuations-plugin_*.jar scala-continuations-plugin.jar - java-pkg_newjar scalap-*.jar scalap.jar - - # Install these the usual way - java-pkg_dojar scala-compiler.jar - java-pkg_dojar scala-library.jar - java-pkg_dojar scala-reflect.jar - - eend $? - - cd ../ || die - - ebegin 'Installing man pages' - doman man/man1/*.1 - eend $? - - if use doc; then - ebegin 'Installing documentation' - java-pkg_dohtml -r doc/tools - eend $? - fi -} |