git: a238e533bd23 - main - devel/cargo-edit: Remove

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 14 Oct 2024 04:14:36 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a238e533bd23a873560e25e8ef1d83fc321e0509

commit a238e533bd23a873560e25e8ef1d83fc321e0509
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-10-14 04:03:11 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-10-14 04:14:31 +0000

    devel/cargo-edit: Remove
    
    PR:             282035
    Reported by:    Yonas Yanfa <yonas.yanfa@gmail.com>
---
 devel/cargo-edit/Makefile | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/devel/cargo-edit/Makefile b/devel/cargo-edit/Makefile
index 03d6e6028869..2e11a9f338b4 100644
--- a/devel/cargo-edit/Makefile
+++ b/devel/cargo-edit/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	cargo-edit
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.13.0
+PORTREVISION=	1
 CATEGORIES=	devel
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -341,9 +342,12 @@ CARGO_CRATES=	addr2line-0.24.1 \
 OPENSSLINC=	/usr/include
 OPENSSLLIB=	/usr/lib
 
-PLIST_FILES=	bin/cargo-add \
-		bin/cargo-rm \
-		bin/cargo-set-version \
+PLIST_FILES=	bin/cargo-set-version \
 		bin/cargo-upgrade
 
+post-install: # these 2 were merged into cargo
+	@${RM} \
+		${STAGEDIR}${PREFIX}/bin/cargo-add \
+		${STAGEDIR}${PREFIX}/bin/cargo-rm
+
 .include <bsd.port.mk>