aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>2001-01-01 22:12:47 +0800
committeralex <alex@FreeBSD.org>2001-01-01 22:12:47 +0800
commit788741be728a88e3765946a5ec80fc177150425b (patch)
treede0642a9d2a51c3f98c065e85fcd8e1dc2b23041 /editors
parentbae489042c59f65d75e5a07bd50eebbca251cfd5 (diff)
downloadfreebsd-ports-graphics-788741be728a88e3765946a5ec80fc177150425b.tar.gz
freebsd-ports-graphics-788741be728a88e3765946a5ec80fc177150425b.tar.zst
freebsd-ports-graphics-788741be728a88e3765946a5ec80fc177150425b.zip
Add ved 1.5, a small and fast screen-oriented editor.
PR: 23985 Submitted by: George Reid <greid@ukug.uk.freebsd.org>
Diffstat (limited to 'editors')
-rw-r--r--editors/Makefile1
-rw-r--r--editors/ved/Makefile32
-rw-r--r--editors/ved/distinfo1
-rw-r--r--editors/ved/files/patch-aa11
-rw-r--r--editors/ved/files/patch-ab20
-rw-r--r--editors/ved/pkg-comment1
-rw-r--r--editors/ved/pkg-descr7
-rw-r--r--editors/ved/pkg-plist2
8 files changed, 75 insertions, 0 deletions
diff --git a/editors/Makefile b/editors/Makefile
index a398b1b38e8..40cb98a6e42 100644
--- a/editors/Makefile
+++ b/editors/Makefile
@@ -99,6 +99,7 @@
SUBDIR += thoteditor
SUBDIR += uemacs
SUBDIR += uzap
+ SUBDIR += ved
SUBDIR += vigor
SUBDIR += vile
SUBDIR += vilearn
diff --git a/editors/ved/Makefile b/editors/ved/Makefile
new file mode 100644
index 00000000000..4cbb07768d9
--- /dev/null
+++ b/editors/ved/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: ved
+# Date created: 31 December 2000
+# Whom: George Reid <greid@ukug.uk.freebsd.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= ved
+PORTVERSION= 1.5
+CATEGORIES= editors
+MASTER_SITES= ftp://ftp.fokus.gmd.de/pub/unix/ved/
+
+MAINTAINER= greid@ukug.uk.freebsd.org
+
+USE_GMAKE= yes
+
+MAN1= ved.1
+
+post-patch:
+.for F in ved.h ved.1
+ ${SED} -e 's,%%PREFIX%%,${PREFIX},' ${WRKSRC}/ved/$F \
+ > ${WRKSRC}/ved/foo
+ ${MV} ${WRKSRC}/ved/foo ${WRKSRC}/ved/$F
+.endfor
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/ved/OBJ/${ARCH}-freebsd-cc/ved \
+ ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/ved/ved.1 ${PREFIX}/man/man1
+ ${INSTALL_DATA} ${WRKSRC}/ved/ved.help ${PREFIX}/share
+
+.include <bsd.port.mk>
diff --git a/editors/ved/distinfo b/editors/ved/distinfo
new file mode 100644
index 00000000000..a11c8f3fd5f
--- /dev/null
+++ b/editors/ved/distinfo
@@ -0,0 +1 @@
+MD5 (ved-1.5.tar.gz) = 20b6784188cfa2b6b0e436411e252515
diff --git a/editors/ved/files/patch-aa b/editors/ved/files/patch-aa
new file mode 100644
index 00000000000..ecd845e8986
--- /dev/null
+++ b/editors/ved/files/patch-aa
@@ -0,0 +1,11 @@
+--- ved/ved.h.orig Wed Dec 27 13:32:40 2000
++++ ved/ved.h Sun Dec 31 18:41:11 2000
+@@ -134,7 +134,7 @@
+ # define HELPFILE UC "/doc/cmds/ved.help"
+ #else
+ # define DEFSHELL "/bin/sh"
+-# define HELPFILE UC "/opt/schily/man/help/ved.help"
++# define HELPFILE UC "%%PREFIX%%/share/ved.help"
+ #endif
+
+ /*
diff --git a/editors/ved/files/patch-ab b/editors/ved/files/patch-ab
new file mode 100644
index 00000000000..4ad156a9caa
--- /dev/null
+++ b/editors/ved/files/patch-ab
@@ -0,0 +1,20 @@
+--- ved/ved.1.orig Sun Dec 31 18:53:00 2000
++++ ved/ved.1 Sun Dec 31 18:54:13 2000
+@@ -2614,15 +2614,8 @@
+ .B ved
+ shell command execute buffer.
+ .TP
+-.B .../man/help/ved.help
+-The on-line help file is assumed to be in the same
+-directory tree as the
+-.B ved
+-binary.
+-
+-.SH "SEE ALSO"
+-.BR change "(1),"
+-.BR match "(1)."
++.B %%PREFIX%%/share/ved.help
++The on-line help file is installed in %%PREFIX%%/share
+ .SH NOTES
+ To edit files greater than 2 GB, you need to compile
+ .B ved
diff --git a/editors/ved/pkg-comment b/editors/ved/pkg-comment
new file mode 100644
index 00000000000..df47f257b04
--- /dev/null
+++ b/editors/ved/pkg-comment
@@ -0,0 +1 @@
+A small and fast screen-oriented editor.
diff --git a/editors/ved/pkg-descr b/editors/ved/pkg-descr
new file mode 100644
index 00000000000..7975f138d65
--- /dev/null
+++ b/editors/ved/pkg-descr
@@ -0,0 +1,7 @@
+Ved (visual editor) is a small and very fast screen-oriented editor
+that implements a user interface somewhere between vi and Emacs. It is
+powerful and easy to learn, and has no limitations on line length,
+file size, or the types of characters that may appear in a file.
+
+- George Reid
+greid@ukug.uk.freebsd.org
diff --git a/editors/ved/pkg-plist b/editors/ved/pkg-plist
new file mode 100644
index 00000000000..47edc684703
--- /dev/null
+++ b/editors/ved/pkg-plist
@@ -0,0 +1,2 @@
+bin/ved
+share/ved.help