Index: head/shells/Makefile =================================================================== --- head/shells/Makefile (revision 493274) +++ head/shells/Makefile (revision 493275) @@ -1,57 +1,58 @@ # $FreeBSD$ # COMMENT = Shells SUBDIR += 44bsd-csh + SUBDIR += ammonite SUBDIR += bash SUBDIR += bash-completion SUBDIR += bash-static SUBDIR += bashc SUBDIR += bicon SUBDIR += ch SUBDIR += dash SUBDIR += envy SUBDIR += es SUBDIR += esh SUBDIR += fd SUBDIR += fish SUBDIR += flash SUBDIR += heirloom-sh SUBDIR += hs-shelly SUBDIR += ibsh SUBDIR += jailkit SUBDIR += klish SUBDIR += ksh93 SUBDIR += ksh93-devel SUBDIR += lshell SUBDIR += mksh SUBDIR += nologinmsg SUBDIR += oksh SUBDIR += osh SUBDIR += p5-Bash-Completion SUBDIR += p5-Shell-Perl SUBDIR += p5-Term-Bash-Completion-Generator SUBDIR += p5-Term-ShellUI SUBDIR += pdksh SUBDIR += pear-PHP_Shell SUBDIR += psh SUBDIR += rc SUBDIR += rssh SUBDIR += sash SUBDIR += scponly SUBDIR += shell-include SUBDIR += sparforte SUBDIR += tcsh_nls SUBDIR += tcshrc SUBDIR += v7sh SUBDIR += viewglob SUBDIR += vshnu SUBDIR += wcd SUBDIR += xonsh SUBDIR += zsh SUBDIR += zsh-antigen SUBDIR += zsh-completions SUBDIR += zsh-navigation-tools .include Index: head/shells/ammonite/Makefile =================================================================== --- head/shells/ammonite/Makefile (nonexistent) +++ head/shells/ammonite/Makefile (revision 493275) @@ -0,0 +1,32 @@ +# $FreeBSD$ + +PORTNAME= ammonite +DISTVERSION= 1.6.3 +CATEGORIES= shells java +MASTER_SITES= https://github.com/lihaoyi/Ammonite/releases/download/${PORTVERSION}/ +DISTNAME= 2.12-${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_BUILD= yes +NO_ARCH= 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 Property changes on: head/shells/ammonite/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/shells/ammonite/distinfo =================================================================== --- head/shells/ammonite/distinfo (nonexistent) +++ head/shells/ammonite/distinfo (revision 493275) @@ -0,0 +1,3 @@ +TIMESTAMP = 1550239983 +SHA256 (ammonite/2.12-1.6.3) = adafccfdc70cdc83f072f6b0c340205d422fca56f743e269635dfb40dc63b171 +SIZE (ammonite/2.12-1.6.3) = 28929884 Property changes on: head/shells/ammonite/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/shells/ammonite/pkg-descr =================================================================== --- head/shells/ammonite/pkg-descr (nonexistent) +++ head/shells/ammonite/pkg-descr (revision 493275) @@ -0,0 +1,10 @@ +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/ Property changes on: head/shells/ammonite/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/shells/ammonite/pkg-message =================================================================== --- head/shells/ammonite/pkg-message (nonexistent) +++ head/shells/ammonite/pkg-message (revision 493275) @@ -0,0 +1,19 @@ +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) Property changes on: head/shells/ammonite/pkg-message ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property