diff options
author | Jens Grassel <freebsd-ports@jan0sch.de> | 2022-01-18 15:46:45 +0000 |
---|---|---|
committer | Fernando ApesteguĂa <fernape@FreeBSD.org> | 2022-01-18 16:15:08 +0000 |
commit | 2d46959df26a2dd3e99521dc5fb5b1f0dc67c2fb (patch) | |
tree | 7be29eee3bd10c2e73945ff2997263b19830ef1a /shells | |
parent | 61375c027e18a6ec5ce9af4426b789fe337f0d03 (diff) | |
download | ports-2d46959df26a2dd3e99521dc5fb5b1f0dc67c2fb.tar.gz ports-2d46959df26a2dd3e99521dc5fb5b1f0dc67c2fb.zip |
shells/ammonite: Update to 2.5.1 and MOVE
The authors removed the shell functionality but it is still a good dev-tool.
Changelog
---------
* Added support for Scala 2.13.8
* Re-added old Main entry point for better compatibility with Ammonite 2.4 and
older
* Dropped built-in support for shell operations
* move from shells/ammonite to devel/ammonite
PR: 261191
Reported by: freebsd-ports@jan0sch.de (maintainer)
Diffstat (limited to 'shells')
-rw-r--r-- | shells/Makefile | 1 | ||||
-rw-r--r-- | shells/ammonite/Makefile | 31 | ||||
-rw-r--r-- | shells/ammonite/distinfo | 3 | ||||
-rw-r--r-- | shells/ammonite/pkg-descr | 10 | ||||
-rw-r--r-- | shells/ammonite/pkg-message | 25 |
5 files changed, 0 insertions, 70 deletions
diff --git a/shells/Makefile b/shells/Makefile index da8ecaf614c2..b3a1825991d5 100644 --- a/shells/Makefile +++ b/shells/Makefile @@ -1,7 +1,6 @@ COMMENT = Shells SUBDIR += 44bsd-csh - SUBDIR += ammonite SUBDIR += anongitssh SUBDIR += antibody SUBDIR += ast-ksh diff --git a/shells/ammonite/Makefile b/shells/ammonite/Makefile deleted file mode 100644 index bcab6b71ccaf..000000000000 --- a/shells/ammonite/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -PORTNAME= ammonite -DISTVERSION= 2.5.0 -CATEGORIES= shells java -MASTER_SITES= https://github.com/lihaoyi/Ammonite/releases/download/${PORTVERSION}/ -DISTNAME= 2.13-${PORTVERSION} -EXTRACT_SUFX= -DIST_SUBDIR= ${PORTNAME} -EXTRACT_ONLY= - -MAINTAINER= freebsd-ports@jan0sch.de -COMMENT= Provides a system shell in the high-level Scala language - -LICENSE= MIT - -USE_JAVA= yes -JAVA_VERSION= 1.8+ - -NO_ARCH= yes -NO_BUILD= yes - -PLIST_FILES= bin/ammonite - -do-extract: - @${MKDIR} ${WRKSRC} - @${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} ${WRKSRC} - -do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} \ - ${STAGEDIR}${PREFIX}/bin/${PORTNAME} - -.include <bsd.port.mk> diff --git a/shells/ammonite/distinfo b/shells/ammonite/distinfo deleted file mode 100644 index 7c8d111db107..000000000000 --- a/shells/ammonite/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1639380918 -SHA256 (ammonite/2.13-2.5.0) = 9799063cff2db988b5eadeaef19780639e32a80589651e54ba8a52190ebdbfd6 -SIZE (ammonite/2.13-2.5.0) = 48405047 diff --git a/shells/ammonite/pkg-descr b/shells/ammonite/pkg-descr deleted file mode 100644 index 097d4ba1a1cf..000000000000 --- a/shells/ammonite/pkg-descr +++ /dev/null @@ -1,10 +0,0 @@ -A modern replacement for the Bash system shell. Provides a systems shell in -the high-level Scala language, letting you seamlessly mix system operations -with real code without the hassle or the frustration of trying to write -complex code in Bash. - -Ammonite lets you use the Scala language for scripting purposes: in a -Read-Evaluate-Print-Loop (REPL), as scripts, as a library to use -in existing projects, or as a standalone systems shell. - -WWW: https://ammonite.io/ diff --git a/shells/ammonite/pkg-message b/shells/ammonite/pkg-message deleted file mode 100644 index eda1d943cdce..000000000000 --- a/shells/ammonite/pkg-message +++ /dev/null @@ -1,25 +0,0 @@ -[ -{ type: install - message: <<EOM -To use ammonite as a shell you must(!) setup a configuration file -~/.ammonite/predef.sc with a least the following minimal content: - -interp.load.ivy( - "com.lihaoyi" %% "ammonite-ops" % ammonite.Constants.version -) -interp.load.ivy( - "com.lihaoyi" % - s"ammonite-shell_${scala.util.Properties.versionNumberString}" % - ammonite.Constants.version -) -// This @ is necessary for Ammonite to process the `interp.load.ivy` -// before continuing. -@ -val shellSession = ammonite.shell.ShellSession() -import shellSession._ -import ammonite.ops._ -import ammonite.shell._ -ammonite.shell.Configure(interp, repl, wd) -EOM -} -] |