[Bug 293611] devel/ammonite: update to 3.0.8

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 07 Mar 2026 00:54:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293611

Vladimir Druzenko <vvd@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vvd@FreeBSD.org

--- Comment #1 from Vladimir Druzenko <vvd@FreeBSD.org> ---
Instead of custom do-install we can use EXTRACT_CMD=${CP}, check my patch:
@@ -1,12 +1,10 @@
 PORTNAME=      ammonite
-DISTVERSION=   3.0.2
-PORTREVISION=  1
+DISTVERSION=   3.0.8
 CATEGORIES=    devel java
 MASTER_SITES= 
https://github.com/lihaoyi/Ammonite/releases/download/${DISTVERSION}/
 DISTNAME=      3.3-${DISTVERSION}
 EXTRACT_SUFX=
 DIST_SUBDIR=   ${PORTNAME}
-EXTRACT_ONLY=

 MAINTAINER=    freebsd-ports@jan0sch.de
 COMMENT=       Provides a system shell in the high-level Scala language
@@ -16,15 +14,16 @@ LICENSE=    MIT

 USES=          java

+EXTRACT_CMD=           ${CP}
+EXTRACT_BEFORE_ARGS=   #
+EXTRACT_AFTER_ARGS=    ${WRKSRC}
+
 NO_ARCH=       yes
 NO_BUILD=      yes
+NO_WRKSUBDIR=  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}

I'm using same in shells/bash-completion-zfs/Makefile.

-- 
You are receiving this mail because:
You are the assignee for the bug.