Import editors/moe

ok landry@ jturner@

GNU Moe is a powerful, 8-bit clean, console text editor for ISO-8859 and
ASCII character encodings. It has a modeless, user-friendly interface,
online help, multiple windows, unlimited undo/redo capability, unlimited
line length, global search/replace (on all buffers at once), block
operations, automatic indentation, word wrapping, filename completion,
directory browser, duplicate removal from prompt histories, delimiter
matching, etc.

Moe tries to rationalize the keyboard commands. The Alt key is used for
harmless commands like cursor movements and scrolling. The Control key
is used for more "dangerous" commands like copying text blocks, deleting
lines, or exiting. The Tab key is used for filename completion and also
shows/hides the directory browser when moe asks for a filename to save
or load. In any case, the unlimited undo/redo capability of moe makes
very difficult to accidentally cause an irreparable damage to your
files.

Moe uses the function keys, so that the most frequent commands can be
issued with only one finger. The function key F1 shows the online help,
and F10 allows you to change the options.
This commit is contained in:
bcallah 2014-09-14 23:05:05 +00:00
parent b7ce3f6567
commit 325209816e
5 changed files with 73 additions and 0 deletions

30
editors/moe/Makefile Normal file
View File

@ -0,0 +1,30 @@
# $OpenBSD: Makefile,v 1.1.1.1 2014/09/14 23:05:05 bcallah Exp $
COMMENT = powerful and user-friendly console text editor
DISTNAME = moe-1.6
EXTRACT_SUFX = .tar.lz
CATEGORIES = editors
HOMEPAGE = http://www.gnu.org/software/moe/moe.html
MAINTAINER = Brian Callahan <bcallah@openbsd.org>
# GPLv3+
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += c m ncurses stdc++
MASTER_SITES = ${MASTER_SITE_SAVANNAH:=moe/}
CONFIGURE_STYLE = simple
MAKE_FLAGS = CXX="${CXX}" \
CXXFLAGS="${CXXFLAGS}" \
sysconfdir="${SYSCONFDIR}"
FAKE_FLAGS = sysconfdir="${PREFIX}/share/examples/moe" \
mandir="${PREFIX}/man" \
infodir="${PREFIX}/info"
NO_TEST = Yes
.include <bsd.port.mk>

2
editors/moe/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (moe-1.6.tar.lz) = jK/ZyXtA/wArTLZvY+sUn1/ZublkxbYwZFjQpo+J3LE=
SIZE (moe-1.6.tar.lz) = 75108

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2014/09/14 23:05:05 bcallah Exp $
--- Makefile.in.orig Sat Sep 13 09:18:44 2014
+++ Makefile.in Sat Sep 13 09:19:12 2014
@@ -1,8 +1,8 @@
DISTNAME = $(pkgname)-$(pkgversion)
INSTALL = install
-INSTALL_PROGRAM = $(INSTALL) -m 755
-INSTALL_DATA = $(INSTALL) -m 644
+INSTALL_PROGRAM = $(INSTALL) -m 555
+INSTALL_DATA = $(INSTALL) -m 444
INSTALL_DIR = $(INSTALL) -d -m 755
LIBS = -lncurses
SHELL = /bin/sh

20
editors/moe/pkg/DESCR Normal file
View File

@ -0,0 +1,20 @@
GNU Moe is a powerful, 8-bit clean, console text editor for ISO-8859 and
ASCII character encodings. It has a modeless, user-friendly interface,
online help, multiple windows, unlimited undo/redo capability, unlimited
line length, global search/replace (on all buffers at once), block
operations, automatic indentation, word wrapping, filename completion,
directory browser, duplicate removal from prompt histories, delimiter
matching, etc.
Moe tries to rationalize the keyboard commands. The Alt key is used for
harmless commands like cursor movements and scrolling. The Control key
is used for more "dangerous" commands like copying text blocks, deleting
lines, or exiting. The Tab key is used for filename completion and also
shows/hides the directory browser when moe asks for a filename to save
or load. In any case, the unlimited undo/redo capability of moe makes
very difficult to accidentally cause an irreparable damage to your
files.
Moe uses the function keys, so that the most frequent commands can be
issued with only one finger. The function key F1 shows the online help,
and F10 allows you to change the options.

7
editors/moe/pkg/PLIST Normal file
View File

@ -0,0 +1,7 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2014/09/14 23:05:05 bcallah Exp $
@bin bin/moe
@info info/moe.info
@man man/man1/moe.1
share/examples/moe/
share/examples/moe/moerc
@sample ${SYSCONFDIR}/moerc