git: 8b3bc6dd6e0b - main - shells/atuin: Add the server component that was split out

Yuri Victorovich <[email protected]> Thu, 06 Aug 2026 06:30:57 +0000
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <[email protected]>
The branch main has been updated by yuri:

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

commit 8b3bc6dd6e0b81012e135d1cda2c9459772fce4a
Author:     Ben Lavery-Griffiths <[email protected]>
AuthorDate: 2026-08-06 06:30:01 +0000
Commit:     Yuri Victorovich <[email protected]>
CommitDate: 2026-08-06 06:30:01 +0000

    shells/atuin: Add the server component that was split out
    
    PR:     294591
---
 shells/atuin/Makefile | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/shells/atuin/Makefile b/shells/atuin/Makefile
index f5b68c544ed6..a75b9da45ba8 100644
--- a/shells/atuin/Makefile
+++ b/shells/atuin/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	atuin
 DISTVERSIONPREFIX=	v
 DISTVERSION=	18.18.1
+PORTREVISION=	1
 CATEGORIES=	shells
 
 MAINTAINER=	[email protected]
@@ -20,7 +21,7 @@ USES=		cargo
 USE_GITHUB=	yes
 GH_ACCOUNT=	atuinsh
 
-CARGO_BUILD_ARGS=	-p atuin
+CARGO_BUILD_ARGS=	-p atuin -p atuin-server
 CARGO_CRATES=	aead-0.5.2 \
 		ahash-0.8.12 \
 		aho-corasick-1.1.4 \
@@ -655,12 +656,14 @@ CARGO_CRATES=	aead-0.5.2 \
 		zerovec-derive-0.11.3 \
 		zmij-1.0.23
 
-PLIST_FILES=	bin/${PORTNAME}
+PLIST_FILES=	bin/${PORTNAME} \
+		bin/${PORTNAME}-server
 
 do-install:
-	# binaries (workaround for error: found a virtual manifest at `xx` instead of a package manifest)
-	${INSTALL_PROGRAM} \
-		${WRKDIR}/target/release/${PORTNAME} \
-		${STAGEDIR}${PREFIX}/bin
+	@for bin in ${PORTNAME} ${PORTNAME}-server; do \
+		${INSTALL_PROGRAM} \
+			${WRKDIR}/target/release/$${bin} \
+			${STAGEDIR}${PREFIX}/bin; \
+	done
 
 .include <bsd.port.mk>