pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/shells/nushell shells/nushell: enable nu_plugin_tree



details:   https://anonhg.NetBSD.org/pkgsrc/rev/67624b335023
branches:  trunk
changeset: 458861:67624b335023
user:      pin <pin%pkgsrc.org@localhost>
date:      Tue Sep 21 10:47:28 2021 +0000

description:
shells/nushell: enable nu_plugin_tree

diffstat:

 shells/nushell/Makefile |  7 ++++++-
 shells/nushell/PLIST    |  3 ++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diffs (35 lines):

diff -r d4b8a89800bb -r 67624b335023 shells/nushell/Makefile
--- a/shells/nushell/Makefile   Tue Sep 21 09:36:03 2021 +0000
+++ b/shells/nushell/Makefile   Tue Sep 21 10:47:28 2021 +0000
@@ -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.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 -r d4b8a89800bb -r 67624b335023 shells/nushell/PLIST
--- a/shells/nushell/PLIST      Tue Sep 21 09:36:03 2021 +0000
+++ b/shells/nushell/PLIST      Tue Sep 21 10:47:28 2021 +0000
@@ -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



Home | Main Index | Thread Index | Old Index