summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorpin <pin@pkgsrc.org>2021-09-21 10:47:28 +0000
committerpin <pin@pkgsrc.org>2021-09-21 10:47:28 +0000
commita22ee6835f8ee78e0959055387317af775edc1b3 (patch)
tree1bb729f1529bba6e87a5ab5eaa561556c337aeae /shells
parent40060cc18fe4b8a4fde9cf8e3d3186b16f2ad665 (diff)
downloadpkgsrc-a22ee6835f8ee78e0959055387317af775edc1b3.tar.gz
shells/nushell: enable nu_plugin_tree
Diffstat (limited to 'shells')
-rw-r--r--shells/nushell/Makefile7
-rw-r--r--shells/nushell/PLIST3
2 files changed, 8 insertions, 2 deletions
diff --git a/shells/nushell/Makefile b/shells/nushell/Makefile
index 3cb2e228ae4..042d051ca0d 100644
--- a/shells/nushell/Makefile
+++ b/shells/nushell/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2021/09/15 13:39:28 pin Exp $
+# $NetBSD: Makefile,v 1.7 2021/09/21 10:47:28 pin Exp $
DISTNAME= nushell-0.37.0
+PKGREVISION= 1
CATEGORIES= shells
MASTER_SITES= ${MASTER_SITE_GITHUB:=nushell/}
@@ -20,9 +21,13 @@ RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.openssl}/lib
RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libX11}/lib
RUSTFLAGS+= -C link-arg=-L${BUILDLINK_PREFIX.libX11}/lib
+CARGO_NO_DEFAULT_FEATURES= YES
+CARGO_FEATURES+= default tree
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/target/release/nu ${DESTDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/target/release/nu_plugin_core_match ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/target/release/nu_plugin_extra_tree ${DESTDIR}${PREFIX}/bin
.include "../../lang/rust/cargo.mk"
.include "../../security/openssl/buildlink3.mk"
diff --git a/shells/nushell/PLIST b/shells/nushell/PLIST
index 80dfca48913..90d2f667790 100644
--- a/shells/nushell/PLIST
+++ b/shells/nushell/PLIST
@@ -1,3 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2021/09/15 13:39:28 pin Exp $
+@comment $NetBSD: PLIST,v 1.3 2021/09/21 10:47:28 pin Exp $
bin/nu
bin/nu_plugin_core_match
+bin/nu_plugin_extra_tree