aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2000-11-02 23:42:45 +0800
committersobomax <sobomax@FreeBSD.org>2000-11-02 23:42:45 +0800
commitbad416848f60a6e06391d2d4dc726424c2370dbe (patch)
tree87de7d241707f9e06345bc429c9f610a18a6ba2f /editors
parentc6ccb61882ed9135e51f92d1c47395b51fb63b56 (diff)
downloadfreebsd-ports-gnome-bad416848f60a6e06391d2d4dc726424c2370dbe.tar.gz
freebsd-ports-gnome-bad416848f60a6e06391d2d4dc726424c2370dbe.tar.zst
freebsd-ports-gnome-bad416848f60a6e06391d2d4dc726424c2370dbe.zip
Add dte - a simple text editor that uses many of MSDOS EDIT's command shortcuts
keybindings. Also makes a nice text editor for use with mailers like mutt. PR: 21811 Submitted by: Steve Horan <sjhports@tracking.amos.net>
Diffstat (limited to 'editors')
-rw-r--r--editors/Makefile1
-rw-r--r--editors/dte/Makefile28
-rw-r--r--editors/dte/distinfo1
-rw-r--r--editors/dte/files/patch-aa25
-rw-r--r--editors/dte/files/patch-ab11
-rw-r--r--editors/dte/pkg-comment1
-rw-r--r--editors/dte/pkg-descr7
-rw-r--r--editors/dte/pkg-plist5
8 files changed, 79 insertions, 0 deletions
diff --git a/editors/Makefile b/editors/Makefile
index 2378a1d92987..c1e01fbbdc94 100644
--- a/editors/Makefile
+++ b/editors/Makefile
@@ -22,6 +22,7 @@
SUBDIR += custom-emacs
SUBDIR += custom-mule
SUBDIR += dedit
+ SUBDIR += dte
SUBDIR += e93
SUBDIR += elvis
SUBDIR += emacs
diff --git a/editors/dte/Makefile b/editors/dte/Makefile
new file mode 100644
index 000000000000..a11a93f5a08e
--- /dev/null
+++ b/editors/dte/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: dte
+# Date created: 4 October 2000
+# Whom: Steve Horan <sjhports@tracking.amos.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= dte
+PORTVERSION= 6.12
+CATEGORIES= editors
+MASTER_SITES= ftp://mugca.cc.monash.edu.au/pub/dougt/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= sjhports@tracking.amos.net
+
+MAN1= dte.1
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/dte ${PREFIX}/bin/dte
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/dte
+ ${INSTALL_DATA} ${WRKSRC}/dte.doc ${PREFIX}/share/doc/dte/
+ ${INSTALL_DATA} ${WRKSRC}/dte.hlp ${PREFIX}/share/doc/dte/
+ ${INSTALL_DATA} ${WRKSRC}/dte.rc ${PREFIX}/share/doc/dte/
+ ${INSTALL_MAN} ${WRKSRC}/dte.1 ${MANPREFIX}/man/man1
+.endif
+
+.include <bsd.port.mk>
diff --git a/editors/dte/distinfo b/editors/dte/distinfo
new file mode 100644
index 000000000000..1e690b5b3dd0
--- /dev/null
+++ b/editors/dte/distinfo
@@ -0,0 +1 @@
+MD5 (dte-6.12.tgz) = db90098c9736ff53c01c5db4cb994e32
diff --git a/editors/dte/files/patch-aa b/editors/dte/files/patch-aa
new file mode 100644
index 000000000000..ac4043ecb353
--- /dev/null
+++ b/editors/dte/files/patch-aa
@@ -0,0 +1,25 @@
+--- Makefile.orig Mon Jan 18 07:04:04 1999
++++ Makefile Thu Nov 2 17:36:28 2000
+@@ -1,15 +1,17 @@
+ # Make dte for UNIX [Debian Linux] systems
+
+-BINDIR = $(DESTDIR)/usr/bin
+-LIBDIR = $(DESTDIR)/usr/lib
+-MANDIR = $(DESTDIR)/usr/man/man1
++BINDIR = $(PREFIX)/bin
++LIBDIR = $(PREFIX)/share/doc/dte
++MANDIR = $(PREFIX)/man/man1
+ OBJECTS = ed.o utils.o findrep.o block.o hwind.o hwlinux.o window.o
+
+-CCFLAGS = -O2 -m486 -Wall -DHELPFILE='"'${LIBDIR}/dte.hlp'"' -DPROTO -DCURSOR_PS2_MOUSE
++CCFLAGS += -DHELPFILE='"'${LIBDIR}/dte.hlp'"' -DPROTO -DCURSOR_PS2_MOUSE ${CFLAGS}
+
+ .c.o: ; cc $(CCFLAGS) -c -DUNIX $*.c
+
+-dte: $(OBJECTS) ; cc $(CCFLAGS) -o dte $(OBJECTS) -lncurses
++all: dte
++
++dte: $(OBJECTS) ; cc $(CCFLAGS) -o dte $(OBJECTS) -lncurses -lcompat
+
+ install: dte ;\
+ strip dte ;\
diff --git a/editors/dte/files/patch-ab b/editors/dte/files/patch-ab
new file mode 100644
index 000000000000..aaf019b11935
--- /dev/null
+++ b/editors/dte/files/patch-ab
@@ -0,0 +1,11 @@
+--- hwlinux.c.orig Sun Feb 13 04:07:04 2000
++++ hwlinux.c Thu Nov 2 17:32:22 2000
+@@ -636,7 +636,7 @@
+ * keep track of which version is being used where.
+ * Once "dte" becomes more stable, this may not be useful.
+ */
+- printf("\n\ndte version %s for Linux\n", VERSION);
++ printf("\n\ndte version %s for FreeBSD\n", VERSION);
+ }
+
+ /*
diff --git a/editors/dte/pkg-comment b/editors/dte/pkg-comment
new file mode 100644
index 000000000000..3d3c54917da7
--- /dev/null
+++ b/editors/dte/pkg-comment
@@ -0,0 +1 @@
+A simple text editor which uses many of the shortcuts used in MSDOS EDIT
diff --git a/editors/dte/pkg-descr b/editors/dte/pkg-descr
new file mode 100644
index 000000000000..425444edc563
--- /dev/null
+++ b/editors/dte/pkg-descr
@@ -0,0 +1,7 @@
+DTE is a simple text editor written by Doug Thompson from
+Monash university in Victoria, Australia.
+
+DTE supports many of the key shortcuts used in MSDOS EDIT.
+
+DTE also makes a nice composer for email messages, as an alternative
+to vi or pico.
diff --git a/editors/dte/pkg-plist b/editors/dte/pkg-plist
new file mode 100644
index 000000000000..885f8064fad1
--- /dev/null
+++ b/editors/dte/pkg-plist
@@ -0,0 +1,5 @@
+bin/dte
+share/doc/dte/dte.hlp
+share/doc/dte/dte.doc
+share/doc/dte/dte.rc
+@dirrm share/doc/dte