aboutsummaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorBen Lavery-Griffiths <ben@lavery-griffiths.com>2026-08-06 06:30:01 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2026-08-06 06:30:01 +0000
commit8b3bc6dd6e0b81012e135d1cda2c9459772fce4a (patch)
treefe75fd26ac4280ef63aa84e8ebbdd82f059b5532 /shells
parentee1ae5dddd676d6143f34ebf018f83de99c227ae (diff)
shells/atuin: Add the server component that was split out
PR: 294591
Diffstat (limited to 'shells')
-rw-r--r--shells/atuin/Makefile15
1 files 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= yuri@FreeBSD.org
@@ -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>