freebsd-ports/devel/ammonite/Makefile
Jens Grassel 2d46959df2 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)
2022-01-18 17:15:08 +01:00

31 lines
644 B
Makefile

PORTNAME= ammonite
DISTVERSION= 2.5.1
CATEGORIES= devel 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>