summaryrefslogtreecommitdiff
path: root/editors/nedit
diff options
context:
space:
mode:
authorDima Ruban <dima@FreeBSD.org>1997-11-10 19:00:00 +0000
committerDima Ruban <dima@FreeBSD.org>1997-11-10 19:00:00 +0000
commitfdbc8716913df03b763f68e7e15536901f15f33b (patch)
tree46f4394780c79d5128aa64e995d22d45acd0bf00 /editors/nedit
parentUpgrade to v0.12 (diff)
Upgrade to 5.0
Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=8572
Diffstat (limited to 'editors/nedit')
-rw-r--r--editors/nedit/Makefile10
-rw-r--r--editors/nedit/distinfo4
-rw-r--r--editors/nedit/files/patch-aa87
3 files changed, 48 insertions, 53 deletions
diff --git a/editors/nedit/Makefile b/editors/nedit/Makefile
index 3fcc6ef4cb60..1b860a3b7597 100644
--- a/editors/nedit/Makefile
+++ b/editors/nedit/Makefile
@@ -1,16 +1,16 @@
# New ports collection makefile for: nedit
-# Version required: 4.0.1
+# Version required: 5.0
# Date created: 7 April 1996
#
# Whom: Daniel Eischen <deischen@iworks.InterWorks.org>
#
-# $Id: Makefile,v 1.6 1997/02/18 06:00:30 asami Exp $
+# $Id: Makefile,v 1.7 1997/03/12 08:13:34 obrien Exp $
#
-DISTNAME= nedit-4.0.3
+DISTNAME= nedit-5.0
CATEGORIES= editors x11
-MASTER_SITES= ftp://ftp.fnal.gov/KITS/pub/nedit/v4_0_3/ \
- ftp://ftp.fnal.gov/KITS/pub/nedit/v4_0_3/contrib/
+MASTER_SITES= ftp://ftp.fnal.gov/KITS/pub/nedit/v5_0/ \
+ ftp://ftp.fnal.gov/KITS/pub/nedit/v5_0/contrib/
DISTFILES= nedit_source.tar.gz nedit.app-defaults
MAINTAINER= deischen@iworks.InterWorks.org
diff --git a/editors/nedit/distinfo b/editors/nedit/distinfo
index 12b33c4a2277..00e22c8fdee0 100644
--- a/editors/nedit/distinfo
+++ b/editors/nedit/distinfo
@@ -1,2 +1,2 @@
-MD5 (nedit_source.tar.gz) = 6418ab3379f701d8856e26de2b226fff
-MD5 (nedit.app-defaults) = 410daeaf3129d0b9333e558183b586aa
+MD5 (nedit_source.tar.gz) = 6448792b7a6ad3e458e00ed9562072a1
+MD5 (nedit.app-defaults) = 498caafc2c001e9bfed42b0b1811862c
diff --git a/editors/nedit/files/patch-aa b/editors/nedit/files/patch-aa
index f812ee9634b4..72459ac9f77b 100644
--- a/editors/nedit/files/patch-aa
+++ b/editors/nedit/files/patch-aa
@@ -1,7 +1,7 @@
-*** Makefile.orig Sun Apr 7 17:30:29 1996
---- Makefile Sun Apr 7 20:07:04 1996
+*** Makefile.orig Wed Oct 22 15:42:20 1997
+--- Makefile Sat Nov 8 23:39:51 1997
***************
-*** 2,8 ****
+*** 2,15 ****
# Makefile for NEdit text editor
#
# targets: sgi_nedit, hp_nedit, ultrix_nedit, ibm_nedit, sunos_nedit,
@@ -9,7 +9,14 @@
#
# Builds an intermediate library in util directory, then builds
# the nedit executable in the source directory
---- 2,8 ----
+ #
+
+! all:
+! @echo "Please specify target"
+
+ sgi_nedit:
+ (cd util; $(MAKE) -f Makefile.sgi libNUtil.a)
+--- 2,15 ----
# Makefile for NEdit text editor
#
# targets: sgi_nedit, hp_nedit, ultrix_nedit, ibm_nedit, sunos_nedit,
@@ -17,24 +24,32 @@
#
# Builds an intermediate library in util directory, then builds
# the nedit executable in the source directory
+ #
+
+! all: freebsd_nedit
+!
+
+ sgi_nedit:
+ (cd util; $(MAKE) -f Makefile.sgi libNUtil.a)
***************
-*** 39,41 ****
---- 39,53 ----
- linux_nedit:
- (cd util; make -f Makefile.linux libNUtil.a)
- (cd source; make -f Makefile.linux nedit nc)
+*** 39,44 ****
+--- 39,54 ----
+ (cd util; $(MAKE) -f Makefile.dec libNUtil.a)
+ (cd source; $(MAKE) -f Makefile.dec nedit nc)
+
+
+ freebsd_nedit:
+ (cd util; make -f Makefile.freebsd libNUtil.a)
+ (cd source; make -f Makefile.freebsd nedit nc)
+
-+ all: freebsd_nedit
-+
+ install::
+ (cd source; make -f Makefile.freebsd install)
+ ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 nedit.man ${PREFIX}/man/man1/nedit.1
+ ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 nc.man ${PREFIX}/man/man1/nc.1
+ ${INSTALL} ${COPY} -m 644 NEdit.ad ${X11BASE}/lib/X11/app-defaults/NEdit.ad
+ linux_nedit:
+ (cd util; $(MAKE) -f Makefile.linux libNUtil.a)
+ (cd source; $(MAKE) -f Makefile.linux nedit nc)
*** util/Makefile.freebsd.orig Sun Apr 7 18:09:19 1996
--- util/Makefile.freebsd Sun Apr 7 17:32:32 1996
***************
@@ -95,41 +110,21 @@
help.o: help.c
$(CC) $(CFLAGS) $(BIGGER_STRINGS) -c help.c -o $@
-*** source/preferences.c.orig Mon Apr 8 10:35:00 1996
---- source/preferences.c Mon Apr 8 10:35:22 1996
+*** source/preferences.c.orig Wed Oct 22 15:42:14 1997
+--- source/preferences.c Thu Oct 30 17:22:14 1997
***************
-*** 104,110 ****
- #else
- {"shellCommands", "ShellCommands", PREF_STRING, "spell:Alt+B:s:ED:\n\
- (cat;echo \"\") | spell\nwc::w:ED:\nwc\nsort::o:EX:\nsort\n\
-! number lines::n:AW:\nnl -ba\nmake:Alt+Z:m:W:\nmake\n\
+*** 206,211 ****
+--- 206,218 ----
+ sort::o:EX:\nsort\nnumber lines::n:AW:\nnl -ba\nmake:Alt+Z:m:W:\nmake\n\
expand::p:EX:\nexpand\nunexpand::u:EX:\nunexpand\n",
- NULL, (void *)MAX_SHELL_CMDS_LEN, True},
- #endif /* linux */
---- 104,110 ----
+ &TempStringPrefs.shellCmds, NULL, True},
++ #elif __FreeBSD__
++ {"shellCommands", "ShellCommands", PREF_ALLOC_STRING, "spell:Alt+B:s:EX:\n\
++ cat>spellTmp; xterm -e ispell -x spellTmp; cat spellTmp; rm spellTmp\n\
++ wc::w:ED:\nset wc=`wc`; echo $wc[1] \"words,\" $wc[2] \"lines,\" $wc[3] \"characters\"\n\
++ sort::o:EX:\nsort\nnumber lines::n:AW:\npr -tn\nmake:Alt+Z:m:W:\nmake\n\
++ expand::p:EX:\nexpand\nunexpand::u:EX:\nunexpand\n",
++ &TempStringPrefs.shellCmds, NULL, True},
#else
- {"shellCommands", "ShellCommands", PREF_STRING, "spell:Alt+B:s:ED:\n\
- (cat;echo \"\") | spell\nwc::w:ED:\nwc\nsort::o:EX:\nsort\n\
-! number lines::n:AW:\npr -tn\nmake:Alt+Z:m:W:\nmake\n\
- expand::p:EX:\nexpand\nunexpand::u:EX:\nunexpand\n",
- NULL, (void *)MAX_SHELL_CMDS_LEN, True},
- #endif /* linux */
-*** source/textDisp.c.orig Sun Apr 7 17:35:04 1996
---- source/textDisp.c Sun Apr 7 17:35:44 1996
-***************
-*** 1556,1562 ****
- line number, and the number of visible lines respectively. The scroll
- bar maximum value is chosen to generally represent the size of the whole
- buffer, with minor adjustments to keep the scroll bar widget happy */
-! sliderSize = textD->nVisibleLines;
- sliderValue = textD->topLineNum;
- sliderMax = max(textD->nBufferLines + 2, sliderSize + sliderValue);
- XtVaSetValues(textD->vScrollBar,
---- 1556,1562 ----
- line number, and the number of visible lines respectively. The scroll
- bar maximum value is chosen to generally represent the size of the whole
- buffer, with minor adjustments to keep the scroll bar widget happy */
-! sliderSize = max(textD->nVisibleLines, 1);
- sliderValue = textD->topLineNum;
- sliderMax = max(textD->nBufferLines + 2, sliderSize + sliderValue);
- XtVaSetValues(textD->vScrollBar,
+ {"shellCommands", "ShellCommands", PREF_ALLOC_STRING, "spell:Alt+B:s:ED:\n\
+ (cat;echo \"\") | spell\nwc::w:ED:\nset wc=`wc`; echo $wc[1] \"lines,\" $wc[2] \"words,\" $wc[3] \"characters\"\n\