Date: Sat, 7 Oct 2000 16:50:23 +1100 (EST) From: sjhports@tracking.amos.net To: FreeBSD-gnats-submit@freebsd.org Subject: ports/21811: New Port: editors/dte - simple text editor with MSDOS EDIT keybindings. Message-ID: <200010070550.QAA70450@squishycow.goldenterrace.com.au>
next in thread | raw e-mail | index | archive | help
>Number: 21811 >Category: ports >Synopsis: New Port: editors/dte - simple text editor with MSDOS EDIT keybindings. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Oct 06 23:00:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Steve Horan >Release: FreeBSD 4.1-STABLE i386 >Organization: >Environment: >Description: 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. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # dte # dte/files # dte/files/md5 # dte/patches # dte/patches/patch-aa # dte/patches/patch-ab # dte/pkg # dte/pkg/COMMENT # dte/pkg/DESCR # dte/pkg/PLIST # dte/Makefile # dte/README.html # echo c - dte mkdir -p dte > /dev/null 2>&1 echo c - dte/files mkdir -p dte/files > /dev/null 2>&1 echo x - dte/files/md5 sed 's/^X//' >dte/files/md5 << 'END-of-dte/files/md5' XMD5 (dte-6.12.tgz) = db90098c9736ff53c01c5db4cb994e32 END-of-dte/files/md5 echo c - dte/patches mkdir -p dte/patches > /dev/null 2>&1 echo x - dte/patches/patch-aa sed 's/^X//' >dte/patches/patch-aa << 'END-of-dte/patches/patch-aa' X--- Makefile.old Mon Jan 18 16:04:04 1999 X+++ Makefile Wed Oct 4 16:29:24 2000 X@@ -1,13 +1,15 @@ X # Make dte for UNIX [Debian Linux] systems X X-BINDIR = $(DESTDIR)/usr/bin X-LIBDIR = $(DESTDIR)/usr/lib X-MANDIR = $(DESTDIR)/usr/man/man1 X+BINDIR = $(PREFIX)/bin X+LIBDIR = $(PREFIX)/share/doc/dte X+MANDIR = $(PREFIX)/man/man1 X OBJECTS = ed.o utils.o findrep.o block.o hwind.o hwlinux.o window.o X X CCFLAGS = -O2 -m486 -Wall -DHELPFILE='"'${LIBDIR}/dte.hlp'"' -DPROTO -DCURSOR_PS2_MOUSE X X .c.o: ; cc $(CCFLAGS) -c -DUNIX $*.c X+ X+all: dte X X dte: $(OBJECTS) ; cc $(CCFLAGS) -o dte $(OBJECTS) -lncurses X END-of-dte/patches/patch-aa echo x - dte/patches/patch-ab sed 's/^X//' >dte/patches/patch-ab << 'END-of-dte/patches/patch-ab' X--- hwlinux.c.old Wed Oct 4 16:23:55 2000 X+++ hwlinux.c Wed Oct 4 16:25:28 2000 X@@ -636,7 +636,7 @@ X * keep track of which version is being used where. X * Once "dte" becomes more stable, this may not be useful. X */ X- printf("\n\ndte version %s for Linux\n", VERSION); X+ printf("\n\ndte version %s for FreeBSD\n", VERSION); X } X X /* X@@ -1704,7 +1704,7 @@ X * make temporary file name X */ X strcpy(temp, "/tmp/dteXXXXXX"); X- mktemp(temp); X+ mkstemp(temp); X X /* X * work out where to print X@@ -1778,7 +1778,7 @@ X * the save file name unique for each user... X */ X if (strcmp(name, RECOVERY) == 0) { X- strcpy(cp, (id = cuserid(NULL)) ? id : ""); X+ strcpy(cp, (id = getenv("USER")) ? id : ""); X cp += strlen(cp); X } X X@@ -2209,7 +2209,7 @@ X X char *hw_mktemp(char *name) X { X- return mktemp(name); X+ return mkstemp(name); X } X X #ifdef CURSOR_PS2_MOUSE END-of-dte/patches/patch-ab echo c - dte/pkg mkdir -p dte/pkg > /dev/null 2>&1 echo x - dte/pkg/COMMENT sed 's/^X//' >dte/pkg/COMMENT << 'END-of-dte/pkg/COMMENT' XA simple text editor which uses many of the shortcuts used in MSDOS EDIT END-of-dte/pkg/COMMENT echo x - dte/pkg/DESCR sed 's/^X//' >dte/pkg/DESCR << 'END-of-dte/pkg/DESCR' XDTE is a simple text editor written by Doug Thompson from XMonash university in Victoria, Australia. X XDTE supports many of the key shortcuts used in MSDOS EDIT. X XDTE also makes a nice composer for email messages, as an alternative Xto vi or pico. X END-of-dte/pkg/DESCR echo x - dte/pkg/PLIST sed 's/^X//' >dte/pkg/PLIST << 'END-of-dte/pkg/PLIST' Xbin/dte Xshare/doc/dte/dte.hlp Xshare/doc/dte/dte.doc Xshare/doc/dte/dte.rc X@dirrm share/doc/dte END-of-dte/pkg/PLIST echo x - dte/Makefile sed 's/^X//' >dte/Makefile << 'END-of-dte/Makefile' X# New ports collection makefile for: dte X# Date created: 4 Oct 2000 X# Whom: Steve Horan <sjhports@tracking.amos.net> X# X# $FreeBSD$ X# X XPORTNAME= dte XPORTVERSION= 6.12 XCATEGORIES= editors XMASTER_SITES= ftp://mugca.cc.monash.edu.au/pub/dougt/ XDISTNAME= dte-6.12 XEXTRACT_SUFX= .tgz X XMAINTAINER= sjhports@tracking.amos.net X XMAN1= dte.1 X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/dte ${PREFIX}/bin/dte X.if !defined(NOPORTDOCS) X ${MKDIR} ${PREFIX}/share/doc/dte X ${INSTALL_DATA} ${WRKSRC}/dte.doc ${PREFIX}/share/doc/dte/ X ${INSTALL_DATA} ${WRKSRC}/dte.hlp ${PREFIX}/share/doc/dte/ X ${INSTALL_DATA} ${WRKSRC}/dte.rc ${PREFIX}/share/doc/dte/ X ${INSTALL_MAN} ${WRKSRC}/dte.1 ${MANPREFIX}/man/man1 X.endif X Xpost-install: X strip ${PREFIX}/bin/dte X X.include <bsd.port.mk> END-of-dte/Makefile echo x - dte/README.html sed 's/^X//' >dte/README.html << 'END-of-dte/README.html' X<html> X<title> The FreeBSD Ports Collection (editors/dte)</title> X<head><h1> The FreeBSD Ports Collection ("editors/dte")</h1> </head> <hr> X<body> X X<p>You are now in the directory for the port "editors/dte" (package name "dte-6.12"). X X<p>This is the one-line description for this port: X X<p><hr><p> XA simple text editor which uses many of the old MSDOS EDIT command shortcuts. X<p><hr> X X<p>Please read the file "<a href="pkg/DESCR">pkg/DESCR</a>" for a Xlonger description. X X<p>Go to the <a href="../../README.html">top of the ports tree</a> for Xa summary on how to use the ports collection. X X<p> X X<p> X X X<p><hr><p> X<a href="../README.html"> Go up one level</a> X| X<a href="../../README.html"> Go to top of ports tree</a> X</body> X</html> END-of-dte/README.html exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010070550.QAA70450>