diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-11-02 15:42:45 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-11-02 15:42:45 +0000 |
commit | 8bf551a354cb6f522a283ddc6070a9919f9ec327 (patch) | |
tree | a2e5d357488d697b1a895925ad3a7851032f71a4 /editors/dte | |
parent | Update of the Hebrew version of pine to 4.30-2.09 (with the security bug (diff) |
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>
Notes
Notes:
svn path=/head/; revision=34654
Diffstat (limited to 'editors/dte')
-rw-r--r-- | editors/dte/Makefile | 28 | ||||
-rw-r--r-- | editors/dte/distinfo | 1 | ||||
-rw-r--r-- | editors/dte/files/patch-aa | 25 | ||||
-rw-r--r-- | editors/dte/files/patch-ab | 11 | ||||
-rw-r--r-- | editors/dte/pkg-comment | 1 | ||||
-rw-r--r-- | editors/dte/pkg-descr | 7 | ||||
-rw-r--r-- | editors/dte/pkg-plist | 5 |
7 files changed, 78 insertions, 0 deletions
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 |