mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Upgrade to 4.4a.
This commit is contained in:
parent
fccd8aba6c
commit
d9b7037bd9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=22287
@ -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 <vanilla@MinJe.com.TW>
|
||||
#
|
||||
# $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
|
||||
|
@ -1 +1 @@
|
||||
MD5 (ted4.3b.tgz) = 3aef6288ca0240353ab106ea1c4856e5
|
||||
MD5 (ted4.4a.tgz) = eda04ccab93e54450083791dffda3c7b
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user