summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorprlw1 <prlw1@pkgsrc.org>2017-12-16 19:46:29 +0000
committerprlw1 <prlw1@pkgsrc.org>2017-12-16 19:46:29 +0000
commit74c05d7c81cf9b5a03b408cf4958cc31758e28f7 (patch)
tree4b17f63dc88b2c8e1fb39f10494b47ef0860346c
parent23f0fb25338cae0d46af536e021f76a1c6d5a91b (diff)
downloadpkgsrc-74c05d7c81cf9b5a03b408cf4958cc31758e28f7.tar.gz
Update ne to 3.13
Version 3.13 19-December-2016 ----------------------------- 1. Since 3.12 the list of commands that are allowed in readonly mode was out of step by one. 2. Output "reading" or "writing" when reporting failure to open a file. 3. If a regular expression match in widechars mode encountered a line containing an invalid UTF-8 string, it behaved as "no match" on that line instead of reporting the error from PCRE. 4. In screen mode, if a global limit was set, the ending message for a global match (e.g. "No More: x matches, y changes") was overwritten at the start by a line number unless "all" was given to the global prompt. 5. The global limit mark has been separated from the text mark and now operates independently. As a result, it is now possible to cut and paste text and do bulk line operations while a global limit is set. 6. The "configure" script now checks for the presence of the chosen PCRE library and also for the termcap or terminfo library. Version 3.12 04-October-2016 ---------------------------- The way that the "back" command works is completely revised. It is now possible to change the size of the "regions" that "back" remembers, using the BACKREGION command. The "front" command (defaulted on the ^F keystroke) moves to the line that is at the top of the back stack. Version 3.11 19-August-2016 --------------------------- 1. NE was crashing if a BACK command was issued before any changes were made to the file. 2. "Back" line handling was doing some unnecessary processing and occasionally giving a mysterious (incorrect) error message about reading commands in binary mode. This should have been "'back' line not found", an internal error. The internal error has been fixed. It happened in some cases when two changes were made on a line that was subsequently deleted - only one instance was removed from the "back" list if the two instances were adjacent. 3. "Back" handling wasn't always remembering modification points for certain cursor movements. Version 3.10 27-January-2016 ---------------------------- 1. Default to using PCRE2, but with a configure option to revert to PCRE1. 2. Removed some old coding macros that were set up for 16-bit Borland C, which are surely obsolete now. 3. Fix minor uninitialized read issue in argument decoding on 64-bit systems. 4. After compiling with a lot of warnings enabled, a lot of code tidying has been done, mainly turning many int variables into unsigned ints, and removing parameters that are not used in Unix-like environments (a hangover from early versions that ran on different systems). There is still plenty that could be done, however. 5. Removed configure tests for strerror(), memmove(), and bcopy() as these are nowadays always available, and anyway, the code no longer checked the macros (bcopy() wasn't even used). TIOCGWINSZ was assumed in the configuration, so removed the checks in the code. Version 3.04 27-December-13 --------------------------- 1. Change 2 for 3.03 broke full-screen editing when run from a non-xterm terminal (e.g. "screen") because it acccidentally insisted on the presence of a Delete key. Version 3.03 09-November-13 --------------------------- 1. Removed some set but unused variables (detected by clever new compiler). 2. Updated special keystroke handling for xterm to use more of the default strings as specified in the default terminfo file (at least, the one on my Arch Linux system).
-rw-r--r--editors/ne/Makefile7
-rw-r--r--editors/ne/PLIST3
-rw-r--r--editors/ne/distinfo12
-rw-r--r--editors/ne/patches/patch-Makefile.in27
4 files changed, 17 insertions, 32 deletions
diff --git a/editors/ne/Makefile b/editors/ne/Makefile
index 9b756d8fe31..24568edb9e4 100644
--- a/editors/ne/Makefile
+++ b/editors/ne/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.18 2016/06/19 17:25:31 prlw1 Exp $
+# $NetBSD: Makefile,v 1.19 2017/12/16 19:46:29 prlw1 Exp $
-DISTNAME= ne-3.02
+DISTNAME= ne-3.13
CATEGORIES= editors
MASTER_SITES= ftp://ftp.csx.cam.ac.uk/pub/software/wordprocessing/unix/ne/
@@ -12,9 +12,10 @@ LICENSE= gnu-gpl-v2
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-termcap
+MAKE_ENV+= SHELL=${SH}
BUILD_TARGET= build
-.include "../../devel/pcre/buildlink3.mk"
+.include "../../devel/pcre2/buildlink3.mk"
.include "../../mk/termcap.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/editors/ne/PLIST b/editors/ne/PLIST
index 00660969e64..ad67f7cf7ea 100644
--- a/editors/ne/PLIST
+++ b/editors/ne/PLIST
@@ -1,4 +1,3 @@
-@comment $NetBSD: PLIST,v 1.3 2016/06/19 17:25:31 prlw1 Exp $
+@comment $NetBSD: PLIST,v 1.4 2017/12/16 19:46:29 prlw1 Exp $
bin/ne
man/man1/ne.1
-share/doc/ne.pdf
diff --git a/editors/ne/distinfo b/editors/ne/distinfo
index ae653ef2577..b33b8059c3d 100644
--- a/editors/ne/distinfo
+++ b/editors/ne/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.7 2016/06/19 17:25:31 prlw1 Exp $
+$NetBSD: distinfo,v 1.8 2017/12/16 19:46:29 prlw1 Exp $
-SHA1 (ne-3.02.tar.gz) = 7e93213780a668856b8bda0e80bad0dd8a6e543b
-RMD160 (ne-3.02.tar.gz) = 9c97a88759871e0139b3b0a5f122628e24a836bc
-SHA512 (ne-3.02.tar.gz) = 18414f32967c99a29a22587daa1c24de86df3677b238b1bbc88c1a5c888e5a025a5bbcee00f8ea74e9f4591f60d544c82151a1e295f4dcb3ace6aafa55cce0bb
-Size (ne-3.02.tar.gz) = 601076 bytes
-SHA1 (patch-Makefile.in) = 9f10a8a6ab8569e417fa01dfb430e62993094a0d
+SHA1 (ne-3.13.tar.gz) = 1e7aec7067df35eff0d837ef0be64615bd0f8832
+RMD160 (ne-3.13.tar.gz) = b1971f74740a0b0b0f42cb32dcd7e7a1c8bc9d00
+SHA512 (ne-3.13.tar.gz) = 4a7eabe8d7ea7fe6620f360132f3b4b1092fb43a8778d3b735f0fe5d0d8b1ca22d2f855b0ec156c691f177e31c359eea72c84fcef3c09473f8fe4ae84616d14e
+Size (ne-3.13.tar.gz) = 621015 bytes
+SHA1 (patch-Makefile.in) = 994359a495cb24b0ca7073c30f7664bff145c445
diff --git a/editors/ne/patches/patch-Makefile.in b/editors/ne/patches/patch-Makefile.in
index 50fbb0a6073..1d7d418fc89 100644
--- a/editors/ne/patches/patch-Makefile.in
+++ b/editors/ne/patches/patch-Makefile.in
@@ -1,30 +1,15 @@
-$NetBSD: patch-Makefile.in,v 1.1 2016/06/19 17:25:31 prlw1 Exp $
+$NetBSD: patch-Makefile.in,v 1.2 2017/12/16 19:46:29 prlw1 Exp $
-Install documentation.
+Install man pages in mandir.
---- Makefile.in.orig 2012-05-16 08:40:16.000000000 +0000
+--- Makefile.in.orig 2016-12-20 10:11:00.000000000 +0000
+++ Makefile.in
-@@ -12,8 +12,11 @@ LDFLAGS=@LDFLAGS@
- INSTALL = @INSTALL@
+@@ -13,7 +13,7 @@ INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
--BINDIR=@prefix@/bin
+ BINDIR=@prefix@/bin
-MANDIR=@prefix@/man
-+prefix=@prefix@
-+exec_prefix=@exec_prefix@
-+BINDIR=@bindir@
+MANDIR=@mandir@
-+DOCDIR=@docdir@
LIBS=@LIBS@
- LIB_TERMINAL=@LIB_TERMINAL@
-@@ -47,6 +50,8 @@ install: build
- $(mkinstalldirs) $(DESTDIR)$(BINDIR)
- $(mkinstalldirs) $(DESTDIR)$(MANDIR)
- $(mkinstalldirs) $(DESTDIR)$(MANDIR)/man1
-+ $(mkinstalldirs) $(DESTDIR)$(DOCDIR)
- $(INSTALL) src/ne $(DESTDIR)$(BINDIR)/ne
--# $(INSTALL_DATA) doc/ne.1 $(DESTDIR)$(MANDIR)/man1
-+ $(INSTALL_DATA) doc/ne.1 $(DESTDIR)$(MANDIR)/man1
-+ $(INSTALL_DATA) doc/ne.pdf $(DESTDIR)$(DOCDIR)
- # End
+ TERMCAP=@TERMCAP@