summaryrefslogtreecommitdiff
path: root/editors/ce
diff options
context:
space:
mode:
authorschmonz <schmonz>2002-04-08 19:59:08 +0000
committerschmonz <schmonz>2002-04-08 19:59:08 +0000
commitddbd89985d7f80a2b4c4b617c2dd95b669151f07 (patch)
tree27027c57c752e22ab21c473bb302c13bce222199 /editors/ce
parentcd87e6b03883b716cebf6bb9605901e8d5055472 (diff)
downloadpkgsrc-ddbd89985d7f80a2b4c4b617c2dd95b669151f07.tar.gz
Initial import of ce-4.4, from my own PR pkg/15627.
Suggestions from agc. Approved by garbled. This editor is derived most directly from Dave Conroy's original MicroEmacs (uEmacs) editor, version 30, and Dan Lawrence's MicroEmacs v3.6. Some stuff from mg, version 2a, has also been used. This version of ce is intended for use in normal ttys.
Diffstat (limited to 'editors/ce')
-rw-r--r--editors/ce/DESCR5
-rw-r--r--editors/ce/Makefile11
-rw-r--r--editors/ce/Makefile.common20
-rw-r--r--editors/ce/PLIST3
-rw-r--r--editors/ce/distinfo7
-rw-r--r--editors/ce/patches/patch-aa53
-rw-r--r--editors/ce/patches/patch-ab12
-rw-r--r--editors/ce/patches/patch-ac31
8 files changed, 142 insertions, 0 deletions
diff --git a/editors/ce/DESCR b/editors/ce/DESCR
new file mode 100644
index 00000000000..006a0e2512b
--- /dev/null
+++ b/editors/ce/DESCR
@@ -0,0 +1,5 @@
+This editor is derived most directly from Dave Conroy's original
+MicroEmacs (uEmacs) editor, version 30, and Dan Lawrence's MicroEmacs
+v3.6. Some stuff from mg, version 2a, has also been used.
+
+This version of ce is intended for use in normal ttys.
diff --git a/editors/ce/Makefile b/editors/ce/Makefile
new file mode 100644
index 00000000000..49194e9dfb6
--- /dev/null
+++ b/editors/ce/Makefile
@@ -0,0 +1,11 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/04/08 19:59:08 schmonz Exp $
+#
+
+.include "Makefile.common"
+
+COMMENT+= , tty version
+
+ALL_TARGET= ce
+INSTALL_TARGET= install man-install
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/editors/ce/Makefile.common b/editors/ce/Makefile.common
new file mode 100644
index 00000000000..3e7793da127
--- /dev/null
+++ b/editors/ce/Makefile.common
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile.common,v 1.1.1.1 2002/04/08 19:59:08 schmonz Exp $
+#
+
+DISTNAME= ce-${VERSION}
+VERSION= 4.4
+CATEGORIES= editors
+MASTER_SITES= http://cnswww.cns.cwru.edu/~chet/dist/ \
+ ftp://ftp.cwru.edu/pub/chet/
+
+MAINTAINER= schmonz@netbsd.org
+HOMEPAGE= http://cnswww.cns.cwru.edu/php/chet/
+COMMENT= Chet's Emacs: small, fast emacs-like editor
+
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS+= --libdir=${PREFIX}/share/doc
+CONFIGURE_ARGS+= --without-ce-malloc
+CONFIGURE_ARGS+= --with-curses
+
+PATCHDIR= ${.CURDIR}/../ce/patches
+DISTINFO_FILE= ${.CURDIR}/../ce/distinfo
diff --git a/editors/ce/PLIST b/editors/ce/PLIST
new file mode 100644
index 00000000000..91f6697e8f1
--- /dev/null
+++ b/editors/ce/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/04/08 19:59:08 schmonz Exp $
+bin/ce
+man/man1/ce.1
diff --git a/editors/ce/distinfo b/editors/ce/distinfo
new file mode 100644
index 00000000000..032d429c58b
--- /dev/null
+++ b/editors/ce/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/04/08 19:59:08 schmonz Exp $
+
+SHA1 (ce-4.4.tar.gz) = f5ab8a5ff1e81212c020831675d3b06a4425fa3d
+Size (ce-4.4.tar.gz) = 207221 bytes
+SHA1 (patch-aa) = 4705b744bd5edbfb48fcbcdbfc56bc2970359089
+SHA1 (patch-ab) = 33aa1a7959d865f09f1e92fcc8d4941a8a13aefb
+SHA1 (patch-ac) = bcd8a6b14e04cc76f3afc30a4e2d8e79aad70389
diff --git a/editors/ce/patches/patch-aa b/editors/ce/patches/patch-aa
new file mode 100644
index 00000000000..9cbcbac0625
--- /dev/null
+++ b/editors/ce/patches/patch-aa
@@ -0,0 +1,53 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/04/08 19:59:08 schmonz Exp $
+
+--- Makefile.in.orig Fri May 16 15:15:48 1997
++++ Makefile.in
+@@ -51,6 +51,7 @@
+ INSTALL = @INSTALL@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
++INSTALL_SCRIPT = @INSTALL_SCRIPT@
+
+ XLIBS= -lX11
+ LINTFLAGS= -chx
+@@ -199,28 +200,31 @@
+ depend:
+ makedepend -- $(CCFLAGS) -- $(CFILES)
+
+-installdirs:
++install: ${PROG}
+ @${SHELL} $(SUPPORT_SRC)/mkdirs $(DESTDIR)
+- @${SHELL} $(SUPPORT_SRC)/mkdirs $(MANDIR)
+- @${SHELL} $(SUPPORT_SRC)/mkdirs $(DOCDIR)
+-
+-install: ${PROG} ${XPROG} installdirs
+- $(RM) ${DESTDIR}/${PROG} ${DESTDIR}/${XPROG}
+ $(INSTALL_PROGRAM) $(PROG) $(DESTDIR)/${PROG}
++
++install-x11: ${XPROG}
++ @${SHELL} $(SUPPORT_SRC)/mkdirs $(DESTDIR)
+ $(INSTALL_PROGRAM) $(XPROG) $(DESTDIR)/${XPROG}
+- $(INSTALL_PROGRAM) $(TEACHCE) $(DESTDIR)/$(TEACHCE)
+
+ install-strip:
+ $(MAKE) $(MFLAGS) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' \
+ prefix=${prefix} exec_prefix=${exec_prefix} install
+
+-doc-install: man-install installdirs
++doc-install:
++ @${SHELL} $(SUPPORT_SRC)/mkdirs $(DOCDIR)
+ ${INSTALL_DATA} doc/TUTORIAL $(DOCDIR)/TUTORIAL
+ ${INSTALL_DATA} doc/ce.help $(DOCDIR)/ce.help
+ ${INSTALL_DATA} doc/FUNCTIONS $(DOCDIR)/FUNCTIONS
++ $(INSTALL_SCRIPT) $(TEACHCE) $(DESTDIR)/$(TEACHCE)
+
+-man-install: installdirs
++man-install:
++ @${SHELL} $(SUPPORT_SRC)/mkdirs $(MANDIR)
+ ${INSTALL_DATA} doc/ce.1 $(MANDIR)/ce.1
++
++man-install-x11:
++ @${SHELL} $(SUPPORT_SRC)/mkdirs $(MANDIR)
+ ${INSTALL_DATA} doc/xce.1 $(MANDIR)/xce.1
+
+ uninstall:
diff --git a/editors/ce/patches/patch-ab b/editors/ce/patches/patch-ab
new file mode 100644
index 00000000000..079ef4f1fbc
--- /dev/null
+++ b/editors/ce/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1.1.1 2002/04/08 19:59:08 schmonz Exp $
+
+--- configure.orig Wed Nov 5 16:13:27 1997
++++ configure
+@@ -2508,6 +2508,7 @@
+ s%@CPP@%$CPP%g
+ s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
+ s%@INSTALL_DATA@%$INSTALL_DATA%g
++s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
+ s%@SET_MAKE@%$SET_MAKE%g
+ s%@TERMCAP_LIB@%$TERMCAP_LIB%g
+ s%@incdir@%$incdir%g
diff --git a/editors/ce/patches/patch-ac b/editors/ce/patches/patch-ac
new file mode 100644
index 00000000000..b14ca8c3bba
--- /dev/null
+++ b/editors/ce/patches/patch-ac
@@ -0,0 +1,31 @@
+$NetBSD: patch-ac,v 1.1.1.1 2002/04/08 19:59:08 schmonz Exp $
+
+--- teach-ce.orig Sat Mar 16 17:22:04 1991
++++ teach-ce
+@@ -1,4 +1,4 @@
+-#! /bin/bash
++#! /bin/sh
+ #
+ # teach-ce -- a script that sort of emulates Twenex Emacs' teach-emacs mode.
+ #
+@@ -21,15 +21,15 @@
+
+ trap 'rm -f $HOME/TUTORIAL*' 0 1 2 3 6 15
+
+-PATH=/usr/local/bin:/usr/ucb:/bin:/usr/bin
+-export PATH
++# PATH=/usr/local/bin:/usr/ucb:/bin:/usr/bin
++# export PATH
+
+-TUTORIAL=/usr/local/lib/ce/TUTORIAL
++TUTORIAL=@PREFIX@/share/doc/ce/TUTORIAL
+
+-unset HISTFILE
++# unset HISTFILE
+
+ LN="/bin/ln -s"
+-CE="/usr/local/bin/ce"
++CE="@PREFIX@/bin/ce"
+
+ $LN $TUTORIAL $HOME/TUTORIAL
+