diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-09-21 14:19:24 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-09-21 14:19:24 +0800 |
commit | c765cd94bc49181c98a4558a5d55dfbe59ed7849 (patch) | |
tree | 3de7bcb2a5949caf3f0dea2f3c79893f47c24cd6 /editors | |
parent | 8c8857bcf70e7dd4817595d11b75d102214b1217 (diff) | |
download | freebsd-ports-gnome-c765cd94bc49181c98a4558a5d55dfbe59ed7849.tar.gz freebsd-ports-gnome-c765cd94bc49181c98a4558a5d55dfbe59ed7849.tar.zst freebsd-ports-gnome-c765cd94bc49181c98a4558a5d55dfbe59ed7849.zip |
add zed 1.0.5
Simple, fast, powerful, small, highly configurable TEXT EDITOR
PR: 38914
Submitted by: Sten Poldma <exile@chamber.ee>
Diffstat (limited to 'editors')
-rw-r--r-- | editors/Makefile | 1 | ||||
-rw-r--r-- | editors/zed/Makefile | 18 | ||||
-rw-r--r-- | editors/zed/distinfo | 1 | ||||
-rw-r--r-- | editors/zed/files/patch-aa | 110 | ||||
-rw-r--r-- | editors/zed/files/patch-ab | 14 | ||||
-rw-r--r-- | editors/zed/pkg-comment | 1 | ||||
-rw-r--r-- | editors/zed/pkg-descr | 4 | ||||
-rw-r--r-- | editors/zed/pkg-plist | 4 |
8 files changed, 153 insertions, 0 deletions
diff --git a/editors/Makefile b/editors/Makefile index 6191139ff802..b3e1d7e0a49c 100644 --- a/editors/Makefile +++ b/editors/Makefile @@ -191,6 +191,7 @@ SUBDIR += xenon SUBDIR += xvile SUBDIR += yudit + SUBDIR += zed SUBDIR += zile .include <bsd.port.subdir.mk> diff --git a/editors/zed/Makefile b/editors/zed/Makefile new file mode 100644 index 000000000000..4f40b6056601 --- /dev/null +++ b/editors/zed/Makefile @@ -0,0 +1,18 @@ +# New ports collection makefile for: zed +# Date created: 4 June 2002 +# Whom: Sten Poldma +# +# $FreeBSD$ +# + +PORTNAME= zed +PORTVERSION= 1.0.5 +CATEGORIES= editors +MASTER_SITES= http://zed.c3po.it/ + +MAINTAINER= exile@chamber.ee + +post-install: + @${STRIP_CMD} ${PREFIX}/bin/zed + +.include <bsd.port.mk> diff --git a/editors/zed/distinfo b/editors/zed/distinfo new file mode 100644 index 000000000000..110844285ff4 --- /dev/null +++ b/editors/zed/distinfo @@ -0,0 +1 @@ +MD5 (zed-1.0.5.tar.gz) = d20a499af8fe1a42c31c575779e740d7 diff --git a/editors/zed/files/patch-aa b/editors/zed/files/patch-aa new file mode 100644 index 000000000000..1ab881b2d03b --- /dev/null +++ b/editors/zed/files/patch-aa @@ -0,0 +1,110 @@ +--- Makefile Tue Jun 4 15:01:04 2002 ++++ Makefile Tue Jun 4 16:26:14 2002 +@@ -5,7 +5,7 @@ + PREFIX=/usr/local + + # Pentium Linux +-CFLAGS=-pipe -Wall -malign-jumps=2 -malign-functions=2 -fomit-frame-pointer -m486 -O2 ++#CFLAGS=-pipe -Wall -malign-jumps=2 -malign-functions=2 -fomit-frame-pointer -m486 -O2 + + # i486 Linux + #CFLAGS=-pipe -Wall -fomit-frame-pointer -m486 -O2 +@@ -16,7 +16,7 @@ + #CFLAGS=-pipe -Wall -mpa-risc-1-1 -O2 + + # RS6000 AIX +-#CFLAGS=-pipe -Wall -O2 ++CFLAGS=-pipe -Wall -O2 + + # Sun + #ILIBS=-lm +@@ -45,7 +45,7 @@ + + ############################################### + +-OBJS=config.o editor.o lowl.o main.o varie.o edvis.o # hpux.o ++OBJS=config.o editor.o lowl.o main.o varie.o edvis.o + LIBS=$(ILIBS) + OPTIONS=$(IOPTIONS) + +@@ -53,7 +53,7 @@ + XLIBS=-L/usr/X11R6/lib -lX11 $(XPMLIB) $(IXLIBS) + XOPTIONS=$(XPMOPT) $(IXOPTIONS) + +-all: zed zedx ++all: zed + + default: + @echo +@@ -65,53 +65,35 @@ + @echo + + zed : $(OBJS) +- $(LINKER) -o zed $(AFLAGS) $(OBJS) $(LIBS) ++ $(LINKER) -o zed $(OBJS) $(LIBS) + + zedx : $(XOBJS) +- $(LINKER) -o zedx $(AFLAGS) $(XOBJS) $(XLIBS) ++ $(LINKER) -o zedx $(XOBJS) $(XLIBS) + + clean: + rm -rf core *.o *.xo *~ + +-install: zed zedx ++install: zed + install -m 755 -d $(PREFIX)/bin + install -m 755 -d $(PREFIX)/etc +- install -m 755 -d $(PREFIX)/lib/zed ++ install -m 755 -d $(PREFIX)/share/doc/zed + install -s -m 755 zed $(PREFIX)/bin/zed +- install -s -m 755 zedx $(PREFIX)/bin/zedx +- install -m 644 cfg/zedxrc $(PREFIX)/etc/zedxrc +- install -m 644 cfg/zedrc $(PREFIX)/etc/zedrc +- install -m 644 cfg/zedrc.xterm $(PREFIX)/etc/zedrc.xterm +- install -m 644 zed.doc $(PREFIX)/lib/zed/zed.doc +- install -m 644 zedico.xpm $(PREFIX)/lib/zed/zedico.xpm +- install -m 644 README $(PREFIX)/lib/zed/README +- install -m 644 zed.png $(PREFIX)/lib/zed/zed.png +- install -m 644 zedlogo.png $(PREFIX)/lib/zed/zedlogo.png ++ install -c -m 644 cfg/zedrc.xterm $(PREFIX)/etc/zedrc ++ install -c -m 644 zed.doc $(PREFIX)/share/doc/zed/zed.doc + @echo + @echo "Zed is now installed in your system." + @echo +- @echo "Please READ at least the README file. It contain important information." +- @echo +- +-.SUFFIXES: +- +-%.xo : %.cc +- $(COMPILER) $(CFLAGS) $(AFLAGS) -DX11 $(XOPTIONS) -o $@ -c $< +- +-%.o : %.cc +- $(COMPILER) $(CFLAGS) $(AFLAGS) $(OPTIONS) -o $@ -c $< + +-### Dependencies: +-config.o: config.cc zed.h +-editor.o: editor.cc zed.h +-edvis.o: edvis.cc zed.h +-lowl.o: lowl.cc zed.h +-main.o: main.cc zed.h +-varie.o: varie.cc zed.h +-config.xo: config.cc zed.h +-editor.xo: editor.cc zed.h +-lowl.xo: lowl.cc zed.h +-main.xo: main.cc zed.h +-varie.xo: varie.cc zed.h +-x11part.xo: x11part.cc zedico.xpm zed.h ++config.o: config.cc ++ $(COMPILER) $(CFLAGS) $(OPTIONS) -c config.cc ++editor.o: editor.cc ++ $(COMPILER) $(CFLAGS) $(OPTIONS) -c editor.cc ++lowl.o: lowl.cc ++ $(COMPILER) $(CFLAGS) $(OPTIONS) -c lowl.cc ++main.o: main.cc ++ $(COMPILER) $(CFLAGS) $(OPTIONS) -c main.cc ++varie.o: varie.cc ++ $(COMPILER) $(CFLAGS) $(OPTIONS) -c varie.cc ++edvis.o: edvis.cc ++ $(COMPILER) $(CFLAGS) $(OPTIONS) -c edvis.cc + diff --git a/editors/zed/files/patch-ab b/editors/zed/files/patch-ab new file mode 100644 index 000000000000..3915830c6e39 --- /dev/null +++ b/editors/zed/files/patch-ab @@ -0,0 +1,14 @@ +--- cfg/zedrc.xterm Thu Mar 13 15:13:19 1997 ++++ cfg/zedrc.xterm Tue Jun 4 15:04:48 2002 +@@ -73,9 +73,9 @@ + ;* ***** Editing ***** + ;* + +-key \u7F e_canc ;* Canc - delete character under the cursor ++key \u08 e_canc ;* Canc - delete character under the cursor + key \u1B[3\u7E e_canc ; canc keypad +-key \u08 e_bkspc ;* BackSpace - delete character at the left of the cursor ++key \u7F e_bkspc ;* BackSpace - delete character at the left of the cursor + key \u0d e_enter ; Enter + key \u19 e_delline ;* ^Y - delete row + key \u1B[2\u7E l_instog ;* Ins - toggle insert/overwrite mode diff --git a/editors/zed/pkg-comment b/editors/zed/pkg-comment new file mode 100644 index 000000000000..93926952c820 --- /dev/null +++ b/editors/zed/pkg-comment @@ -0,0 +1 @@ +Simple, fast, powerful, small, highly configurable TEXT EDITOR diff --git a/editors/zed/pkg-descr b/editors/zed/pkg-descr new file mode 100644 index 000000000000..be379864c10e --- /dev/null +++ b/editors/zed/pkg-descr @@ -0,0 +1,4 @@ +Zed is a very simple, fast, powerful, small, low cpu consumer, highly +configurable text editor that was originally written for UNIX. +Perfect for console environment. +WWW: http://zed.c3po.it diff --git a/editors/zed/pkg-plist b/editors/zed/pkg-plist new file mode 100644 index 000000000000..8f24ace15d30 --- /dev/null +++ b/editors/zed/pkg-plist @@ -0,0 +1,4 @@ +bin/zed +etc/zedrc +share/doc/zed/zed.doc +@dirrm share/doc/zed |