editors/nano: update to 7.0

Improvements:
- String binds may contain bindable function names between braces.
- Word completion looks for candidates in all open buffers.
- Unicode codes can be entered without leading zeroes.
This commit is contained in:
naddy 2022-11-16 23:15:31 +00:00
parent a06e5f8bba
commit c207f0c3d9
3 changed files with 4 additions and 25 deletions

View File

@ -1,12 +1,12 @@
COMMENT= simple editor, inspired by Pico
DISTNAME= nano-6.4
DISTNAME= nano-7.0
CATEGORIES= editors
HOMEPAGE= https://www.nano-editor.org/
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
MASTER_SITES= https://www.nano-editor.org/dist/v6/ \
MASTER_SITES= https://www.nano-editor.org/dist/v7/ \
${MASTER_SITE_GNU:=nano/}
PORTROACH= site:https://www.nano-editor.org/dist/latest/
EXTRACT_SUFX= .tar.xz

View File

@ -1,2 +1,2 @@
SHA256 (nano-6.4.tar.xz) = QZmujKeKd5beVt4aQbgh3EeRLAMH6YFrVswxffNGYcA=
SIZE (nano-6.4.tar.xz) = 1593804
SHA256 (nano-7.0.tar.xz) = jdbqw4srh4bYJoHw4a/YT2t1IQ0XORtkQ8Q35FFVIUk=
SIZE (nano-7.0.tar.xz) = 1598528

View File

@ -1,21 +0,0 @@
Index: src/Makefile.in
--- src/Makefile.in.orig
+++ src/Makefile.in
@@ -1685,7 +1685,7 @@ nano_SOURCES = \
utils.c \
winio.c
-nano_LDADD = @LIBINTL@ $(top_builddir)/lib/libgnu.a \
+nano_LDADD = @LTLIBINTL@ $(top_builddir)/lib/libgnu.a \
$(LIB_CLOCK_GETTIME) $(LIBTHREAD)
all: all-am
@@ -2058,7 +2058,7 @@ winio.o: revision.h
# Always run the commands in this rule. But update the target
# only when the revision actually changed.
-revision.h: FORCE
+revision.h:
@[ -f $@ ] || touch $@
@! git describe >/dev/null 2>&1 || \
echo "#define $(SOMETHING)" | cmp -s $@ - || \