aboutsummaryrefslogtreecommitdiff
path: root/editors/ved
diff options
context:
space:
mode:
authorAlexander Langer <alex@FreeBSD.org>2001-01-01 14:12:47 +0000
committerAlexander Langer <alex@FreeBSD.org>2001-01-01 14:12:47 +0000
commit20d9971bcf54aa86920af06c80adcbc127e287e0 (patch)
tree65d9818798f34534ce2bbe78a629e534ffe9eb3c /editors/ved
parent6217347515d86ac4672803b56d4ff1d63df56c27 (diff)
downloadports-20d9971bcf54aa86920af06c80adcbc127e287e0.tar.gz
ports-20d9971bcf54aa86920af06c80adcbc127e287e0.zip
Notes
Diffstat (limited to 'editors/ved')
-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
7 files changed, 74 insertions, 0 deletions
diff --git a/editors/ved/Makefile b/editors/ved/Makefile
new file mode 100644
index 000000000000..4cbb07768d9a
--- /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 000000000000..a11c8f3fd5fc
--- /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 000000000000..ecd845e89867
--- /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 000000000000..4ad156a9caa7
--- /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 000000000000..df47f257b040
--- /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 000000000000..7975f138d65c
--- /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 000000000000..47edc6847035
--- /dev/null
+++ b/editors/ved/pkg-plist
@@ -0,0 +1,2 @@
+bin/ved
+share/ved.help