mle: Import as wip/mle version 1.4.2

mle is a small, flexible, terminal-based text editor written in C.
Its features include:

* Full UTF-8 support
* Syntax highlighting
* Stackable key maps (modes)
* Extensible via Lua
* Scriptable rc file
* Key macros
* Multiple splittable windows
* Regex search and replace
* Large file support
* Incremental search
* Linear undo and redo
* Multiple cursors
* Auto indent
* Headless mode
* Navigation via ctags
* Movement via less
* Fuzzy file search via fzf
* File browsing via tree
* File grep via grep
* String manip via perl
This commit is contained in:
ng0 2020-01-06 17:11:29 +00:00
parent 6945def7d8
commit 98197241af
4 changed files with 70 additions and 0 deletions

23
mle/DESCR Normal file
View File

@ -0,0 +1,23 @@
mle is a small, flexible, terminal-based text editor written in C.
Its features include:
* Full UTF-8 support
* Syntax highlighting
* Stackable key maps (modes)
* Extensible via Lua
* Scriptable rc file
* Key macros
* Multiple splittable windows
* Regex search and replace
* Large file support
* Incremental search
* Linear undo and redo
* Multiple cursors
* Auto indent
* Headless mode
* Navigation via ctags
* Movement via less
* Fuzzy file search via fzf
* File browsing via tree
* File grep via grep
* String manip via perl

38
mle/Makefile Normal file
View File

@ -0,0 +1,38 @@
# $NetBSD$
GITHUB_PROJECT= mle
DISTNAME= v1.4.2
PKGNAME= mle-1.4.2
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_GITHUB:=adsr/}
DIST_SUBDIR= ${GITHUB_PROJECT}
MAINTAINER= ng0@NetBSD.org
HOMEPAGE= https://github.com/adsr/mle/
COMMENT= Termbox-based texteditor
LICENSE= apache-2.0
USE_TOOLS+= gmake
WRKSRC= ${WRKDIR}/mle-1.4.2
MAKE_FLAGS+= prefix=${PREFIX}
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
# \todo we should be able to use filename transformation here?
SUBST_CLASSES+= lua
SUBST_MESSAGE.lua= rewrite lua directory directives
SUBST_FILES.lua= mle.h
SUBST_SED.lua= -e 's,lua5.3/lualib.h,lua-5.3/lualib.h,g'
SUBST_SED.lua+= -e 's,lua5.3/lua.h,lua-5.3/lua.h,g'
SUBST_SED.lua+= -e 's,lua5.3/lauxlib.h,lua-5.3/lauxlib.h,g'
SUBST_STAGE.lua= pre-build
pre-install:
cd ${WRKSRC} && ${INSTALL_DATA} mle.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../devel/pcre/buildlink3.mk"
.include "../../lang/lua53/buildlink3.mk"
.include "../../devel/uthash/buildlink3.mk"
.include "../../wip/termbox/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

3
mle/PLIST Normal file
View File

@ -0,0 +1,3 @@
@comment $NetBSD$
bin/mle
man/man1/mle.1

6
mle/distinfo Normal file
View File

@ -0,0 +1,6 @@
$NetBSD$
SHA1 (mle/v1.4.2.tar.gz) = 3dc78d4cd8e673d71b70f09f2f0011a34be79ca6
RMD160 (mle/v1.4.2.tar.gz) = 810e2d62de3df302c737433f83f7db0694738fd4
SHA512 (mle/v1.4.2.tar.gz) = 4fe292065c64f3cbe255647804ba6314681bd82cbba8ef04e94bd3175b1b284c26d2c92de8d2e41c16b8f35f6df26d18a915c6f14affb73868637b0cfface376
Size (mle/v1.4.2.tar.gz) = 105767 bytes