summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/scala-mode/scala-mode-2.10.3-r1.ebuild')
-rw-r--r--app-emacs/scala-mode/scala-mode-2.10.3-r1.ebuild24
1 files changed, 24 insertions, 0 deletions
diff --git a/app-emacs/scala-mode/scala-mode-2.10.3-r1.ebuild b/app-emacs/scala-mode/scala-mode-2.10.3-r1.ebuild
new file mode 100644
index 000000000000..de726fff2eb7
--- /dev/null
+++ b/app-emacs/scala-mode/scala-mode-2.10.3-r1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit elisp optfeature
+
+MY_P="scala-tool-support-${PV}"
+DESCRIPTION="Scala mode for Emacs"
+HOMEPAGE="https://www.scala-lang.org/"
+SRC_URI="https://www.scala-lang.org/files/archive/${MY_P}.tgz"
+S="${WORKDIR}/${MY_P}/scala-emacs-mode"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 ~arm64 ~x86"
+
+SITEFILE="50${PN}-gentoo.el"
+DOCS="AUTHORS FUTURE README"
+
+pkg_postinst() {
+ elisp_pkg_postinst
+ optfeature "running Scala interpreter with scala-run-scala" dev-lang/scala
+}