freebsd-ports/devel/ammonite/Makefile
Muhammad Moinur Rahman 4cda17ab14 */*: Refactor java/openjdk7 removal
- java/openjdk7* has been removed from the tree since 2022-09-03 however
  the relevant codebases in bsd.java.mk has not been removed and the
  consumers has also not been updated to use the next jdk version. This
  commit updates all relevant consumers to use JAVA_VERSION=8 instead of
  JAVA_VERSION=1.7
- Since the introduction of jdk version 18 it looks like similar with
  jdk version 8(java version string 1.8). This is prone to error as it
  looks similar and is only seperated by a '.'. Remove using
  JAVA_VERSION with dotted fomat of java version string and update all
  consumers to utilize version 8 instead of 1.8.

Approved by:	portmgr (blanket)
2023-04-04 13:10:53 -05:00

32 lines
668 B
Makefile

PORTNAME= ammonite
DISTVERSION= 2.5.6
CATEGORIES= devel java
MASTER_SITES= https://github.com/lihaoyi/Ammonite/releases/download/${PORTVERSION}/
DISTNAME= 3.2-${PORTVERSION}
EXTRACT_SUFX=
DIST_SUBDIR= ${PORTNAME}
EXTRACT_ONLY=
MAINTAINER= freebsd-ports@jan0sch.de
COMMENT= Provides a system shell in the high-level Scala language
WWW= https://ammonite.io/
LICENSE= MIT
USE_JAVA= yes
JAVA_VERSION= 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>