summaryrefslogtreecommitdiffstats
path: root/usr.bin/ee/Makefile
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-08-30 07:28:06 +0000
committerjkh <jkh@FreeBSD.org>1995-08-30 07:28:06 +0000
commit48b32133d6ff4f84ba7f4452fa822ce3a1830d35 (patch)
tree59f48fa9763f3661faa362ce7910377ac831fa52 /usr.bin/ee/Makefile
downloadFreeBSD-src-48b32133d6ff4f84ba7f4452fa822ce3a1830d35.zip
FreeBSD-src-48b32133d6ff4f84ba7f4452fa822ce3a1830d35.tar.gz
This is `ee' - the Easy Editor. I'm bringing it in to replace vi on
the installation floppy (and in any references in new user docs for editing files) since tossing a novice into vi with no help or clue as to what the key bindings are is both cruel and in violation of the Hague Convention. It's also much SMALLER than vi and even supports emacs key bindings for those so inclined. Submitted by: "Hugh F. Mahon" <hugh@nsmdserv.cnd.hp.com>
Diffstat (limited to 'usr.bin/ee/Makefile')
-rw-r--r--usr.bin/ee/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/usr.bin/ee/Makefile b/usr.bin/ee/Makefile
new file mode 100644
index 0000000..b9caaa4
--- /dev/null
+++ b/usr.bin/ee/Makefile
@@ -0,0 +1,22 @@
+CFLAGS+= -DCAP -DHAS_NCURSES -DHAS_UNISTD -DHAS_STDARG -DHAS_STDLIB \
+ -DHAS_CTYPE -DHAS_SYS_IOCTL -DHAS_SYS_WAIT -DSLCT_HDR
+
+PROG= ee
+SRCS= ee.c
+LINKS= ${BINDIR}/ee ${BINDIR}/ree
+DPADD= ee.cat ${LIBNCURSES} ${LIBMYTINFO}
+LDADD= -lncurses -lmytinfo
+CLEANFILES+= ee.cat
+
+# I'm not sure if this is kosher, but I don't see any system default just
+# now.
+LANG?= en_US.ISO_8859-1
+
+ee.cat: ${.CURDIR}/ee.msg
+ gencat -new ee.cat ${.CURDIR}/ee.msg
+
+afterinstall: ee.cat
+ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ee.cat \
+ ${DESTDIR}/usr/share/nls/${LANG}/ee.cat
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud