pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

mle: Import as wip/mle version 1.4.2



Module Name:	pkgsrc-wip
Committed By:	ng0 <ng0%NetBSD.org@localhost>
Pushed By:	ng0
Date:		Mon Jan 6 17:11:29 2020 +0000
Changeset:	98197241affbb681a43981f7a41f8c49d5cfb0ce

Added Files:
	mle/DESCR
	mle/Makefile
	mle/PLIST
	mle/distinfo

Log Message:
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

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=98197241affbb681a43981f7a41f8c49d5cfb0ce

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 mle/DESCR    | 23 +++++++++++++++++++++++
 mle/Makefile | 38 ++++++++++++++++++++++++++++++++++++++
 mle/PLIST    |  3 +++
 mle/distinfo |  6 ++++++
 4 files changed, 70 insertions(+)

diffs:
diff --git a/mle/DESCR b/mle/DESCR
new file mode 100644
index 0000000000..f29c979414
--- /dev/null
+++ b/mle/DESCR
@@ -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
diff --git a/mle/Makefile b/mle/Makefile
new file mode 100644
index 0000000000..101dcb271c
--- /dev/null
+++ b/mle/Makefile
@@ -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@localhost
+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"
diff --git a/mle/PLIST b/mle/PLIST
new file mode 100644
index 0000000000..8d87ec8b51
--- /dev/null
+++ b/mle/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/mle
+man/man1/mle.1
diff --git a/mle/distinfo b/mle/distinfo
new file mode 100644
index 0000000000..0dae426878
--- /dev/null
+++ b/mle/distinfo
@@ -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


Home | Main Index | Thread Index | Old Index