From d9b7037bd9e4b1ae5e750150573b6b144549f0b8 Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Sat, 9 Oct 1999 18:54:11 +0000 Subject: [PATCH] Upgrade to 4.4a. --- chinese/ted/Makefile | 9 ++++----- chinese/ted/distinfo | 2 +- chinese/ted/files/patch-aa | 34 ++++++++++++++++++---------------- 3 files changed, 23 insertions(+), 22 deletions(-) diff --git a/chinese/ted/Makefile b/chinese/ted/Makefile index fe686553b9fd..19f24dbf1136 100644 --- a/chinese/ted/Makefile +++ b/chinese/ted/Makefile @@ -1,16 +1,15 @@ # New ports collection makefile for: ted -# Version required: 4.3b +# Version required: 4.4a # Date Created: 18 Sep 1997 # Whom: Vanilla I. Shu # # $FreeBSD$ # -DISTNAME= ted4.3b -PKGNAME= zh-ted-4.3b +DISTNAME= ted4.4a +PKGNAME= zh-ted-4.4a CATEGORIES= chinese editors -MASTER_SITES= ftp://moon.csie.ntu.edu.tw/pub/X/ted/ \ - ftp://freebsd.ntu.edu.tw/freebsd/ntu/moon/X/ted/ +MASTER_SITES= ftp://freebsd.ntu.edu.tw/freebsd/ntu/moon/X/ted/ EXTRACT_SUFX= .tgz MAINTAINER= vanilla@FreeBSD.org diff --git a/chinese/ted/distinfo b/chinese/ted/distinfo index 121fe093aa8d..cd17ed348291 100644 --- a/chinese/ted/distinfo +++ b/chinese/ted/distinfo @@ -1 +1 @@ -MD5 (ted4.3b.tgz) = 3aef6288ca0240353ab106ea1c4856e5 +MD5 (ted4.4a.tgz) = eda04ccab93e54450083791dffda3c7b diff --git a/chinese/ted/files/patch-aa b/chinese/ted/files/patch-aa index 2a17f8ecdab5..3ee877612418 100644 --- a/chinese/ted/files/patch-aa +++ b/chinese/ted/files/patch-aa @@ -1,6 +1,6 @@ ---- Makefile.orig Wed Jul 29 10:19:03 1998 -+++ Makefile Fri Aug 14 18:29:35 1998 -@@ -1,14 +1,14 @@ +--- Makefile.orig Thu Aug 12 09:53:41 1999 ++++ Makefile Sat Oct 9 23:45:22 1999 +@@ -1,15 +1,15 @@ -CHINESE=0 -TEDDIR=/usr/local/lib/Ted +CHINESE=1 @@ -16,29 +16,30 @@ ###### HP-UX's ansi cc #### -CC=cc -Ae -LDFLAGS=-L/usr/lib/X11R5 --XINC= +#CC=cc -Ae +#LDFLAGS=-L/usr/lib/X11R5 + #LDFLAGS=-L/usr/lib/X11R6 +-XINC= +#XINC= ########################### ########## IRIX ############ #CC=cc -cckr -@@ -30,20 +30,20 @@ +@@ -31,20 +31,20 @@ #CC=cc #XINC=-I/usr/openwin/include #LDFLAGS= -L/usr/openwin/lib -lsocket --CC=gcc +-CC=cc -XINC=-I/usr/X11R6.3/include -LDFLAGS= -L/usr/X11R6.3/lib -lsocket -SUNKBD=-DSUNKBD -+#CC=gcc ++#CC=cc +#XINC=-I/usr/X11R6.3/include +#LDFLAGS= -L/usr/X11R6.3/lib -lsocket +#SUNKBD=-DSUNKBD ########################### -CFLAGS = -O -DCHINESE=$(CHINESE) $(XINC) $(SUNKBD) -DTEDDIR=\"$(TEDDIR)\" -+CFLAGS += -DCHINESE=$(CHINESE) $(XINC) $(SUNKBD) -DTEDDIR=\"$(TEDDIR)\" ++CFLAGS = -DCHINESE=$(CHINESE) $(XINC) $(SUNKBD) -DTEDDIR=\"$(TEDDIR)\" #CFLAGS = -g -DCHINESE=$(CHINESE) $(XINC) -DDEBUG $(SUNKBD) -DTEDDIR=\"$(TEDDIR)\" #CFLAGS = -g -DCHINESE=$(CHINESE) $(XINC) $(SUNKBD) -DTEDDIR=\"$(TEDDIR)\" @@ -50,14 +51,14 @@ +all: ted tedrc #ref ctags ted: $(OBJS) $(CC) $(OBJS) -o $@ $(LDFLAGS) -lX11 - # $(CC) $(OBJS) -o $@ $(LDFLAGS) -lX11 -lefence -@@ -58,11 +58,17 @@ + # $(CC) $(OBJS) -o $@ $(LDFLAGS) -lXmu -lX11 -lefence +@@ -59,11 +59,18 @@ $(CC) $(CFLAGS) ctags.c -o $@ strip $@ install: - cp ted ref ctags /usr/local/bin +# cp ted ref ctags /usr/local/bin -+ install -c -s -o bin -g bin -m 0755 ted /usr/X11R6/bin ++ install -c -s -o root -g wheel -m 0555 ted /usr/X11R6/bin if [ ! -d $(TEDDIR) ]; then mkdir $(TEDDIR); fi - cp tedrc tedrc.vi tedrc.grep ted.help tedrc.filevisit $(TEDDIR) -cli_xcin.o: @@ -65,11 +66,12 @@ +# cp tedrc tedrc.vi tedrc.grep ted.help tedrc.filevisit $(TEDDIR) +#cli_xcin.o: +# ln -s ../big5-pack/xcin/cli_xcin.o . -+ install -c -o bin -g bin -m 0444 tedrc $(TEDDIR) -+ install -c -o bin -g bin -m 0444 tedrc.filevisit $(TEDDIR) -+ install -c -o bin -g bin -m 0444 tedrc.grep $(TEDDIR) -+ install -c -o bin -g bin -m 0444 tedrc.vi $(TEDDIR) -+ install -c -o bin -g bin -m 0444 ted.help $(TEDDIR) ++ install -c -o root -g wheel -m 0444 tedrc $(TEDDIR) ++ install -c -o root -g wheel -m 0444 tedrc.filevisit $(TEDDIR) ++ install -c -o root -g wheel -m 0444 tedrc.grep $(TEDDIR) ++ install -c -o root -g wheel -m 0444 tedrc.vi $(TEDDIR) ++ install -c -o root -g wheel -m 0444 ted.help $(TEDDIR) ++ clean: rm -f $(OBJS) ted core *~ *_ clb5: