tech-pkg archive

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

sysutils/nnn: update to 2.4



Upstream changes:

 - Tinier and lighter!
 - FreeDesktop.org compliant trashing
 - mark selected entries with +
 - wild mode (option -w, key ^W) for nav-as-you-type
 - POSIX-compliant GUI app launcher with drop-down menu (key =)
 - new scripts:
    - upload image to imgur
    - send selection to Android using kdeconnect-cli
 - show permissions in detail mode
 - cp, mv progress bar on Linux (needs advcpmv) [BSD, macOS shows on ^T]
 - make libreadline an optional dep (reduces memory usage)
 - minimize the number of redraws
 - handle screen resize gracefully
 - option -d to show hidden files (NNN_SHOW_HIDDEN is removed)
 - additional key K to toggle selection
 - change visit start dir key to @
 - option -C to disable colors removed
 - per-context initial directory replaced by program start dir
 - marker msg when spawning new shell removed
 - rename debug file to nnndbg

Package changes:

 - New 'readline’ option (enabled by default)

Index: sysutils/nnn/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/nnn/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- sysutils/nnn/Makefile	20 Feb 2019 17:02:29 -0000	1.3
+++ sysutils/nnn/Makefile	19 Mar 2019 21:03:17 -0000
@@ -1,6 +1,6 @@
 # $NetBSD: Makefile,v 1.3 2019/02/20 17:02:29 leot Exp $
 
-DISTNAME=	nnn-2.3
+DISTNAME=	nnn-2.4
 CATEGORIES=	sysutils
 MASTER_SITES=	${MASTER_SITE_GITHUB:=jarun/}
 GITHUB_TAG=	v${PKGVERSION_NOREV}
@@ -13,11 +13,15 @@
 USE_TOOLS+=	gmake pkg-config
 USE_CURSES=	wide
 
+# build without readline unless option set (see options.mk)
+BUILD_TARGET=	norl
+
 MAKE_ENV+=	MANPREFIX=${PREFIX}/${PKGMANDIR}
 MAKE_ENV+=	CFLAGS_OPTIMIZATION=
 MAKE_ENV+=	CFLAGS_CURSES=${BUILDLINK_CFLAGS.curses:Q}
 MAKE_ENV+=	LDLIBS_CURSES=${BUILDLINK_LDADD.curses:Q}
 
+.include "options.mk"
+
 .include "../../mk/curses.buildlink3.mk"
-.include "../../mk/readline.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
Index: sysutils/nnn/distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/nnn/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- sysutils/nnn/distinfo	20 Feb 2019 17:02:29 -0000	1.3
+++ sysutils/nnn/distinfo	19 Mar 2019 21:03:17 -0000
@@ -1,6 +1,6 @@
 $NetBSD: distinfo,v 1.3 2019/02/20 17:02:29 leot Exp $
 
-SHA1 (nnn-2.3.tar.gz) = 82d0e63cddc90b3ebfa3d22680d0aa3b5753262f
-RMD160 (nnn-2.3.tar.gz) = 168f88307c5376fdaa9686c0fe46329932379aef
-SHA512 (nnn-2.3.tar.gz) = 416eb08a40534ff4b92b8757c75d8e599d2ea1cbfe7cdedaccac42fd819b1f15e3da839181b232036b1d63dd8bf7c82df801cb4c456e8917fbe47a9a25fae361
-Size (nnn-2.3.tar.gz) = 56286 bytes
+SHA1 (nnn-2.4.tar.gz) = 3134355c9f283fef98a175c1909f6bdec8c37cff
+RMD160 (nnn-2.4.tar.gz) = 14946e35fdae44e610ff6cfb4c15a39a40d738a0
+SHA512 (nnn-2.4.tar.gz) = b285b14bb73e81a8480b19be7adf0b6efebc632cae82cddf9f040e644dd07dfef4e5c27df2e318aaa21eb1ac4d9e20b6d89f66b8e9b481160bc49f1302806722
+Size (nnn-2.4.tar.gz) = 62510 bytes
Index: sysutils/nnn/options.mk
===================================================================
RCS file: sysutils/nnn/options.mk
diff -N sysutils/nnn/options.mk
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ sysutils/nnn/options.mk	19 Mar 2019 21:03:17 -0000
@@ -0,0 +1,12 @@
+# $NetBSD$
+
+PKG_OPTIONS_VAR=	PKG_OPTIONS.nnn
+PKG_SUPPORTED_OPTIONS+=	readline
+PKG_SUGGESTED_OPTIONS+=	readline
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mreadline)
+BUILD_TARGET=		all
+.include "../../mk/readline.buildlink3.mk"
+.endif



Home | Main Index | Thread Index | Old Index