pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/editors Add the kilo editor to the packages collection.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/135a833aa780
branches:  trunk
changeset: 349588:135a833aa780
user:      agc <agc%pkgsrc.org@localhost>
date:      Mon Jul 11 05:21:59 2016 +0000

description:
Add the kilo editor to the packages collection.

        Kilo is a small text editor in less than 1K lines of code (counted with cloc).

        Usage: kilo <filename>

        Keys:

        CTRL-S: Save
        CTRL-Q: Quit
        CTRL-F: Find string in file (ESC to exit search, arrows to navigate)

        Kilo does not depend on any library (not even curses).  It uses fairly
        standard VT100 (and similar terminals) escape sequences.  The project
        is in alpha stage and was written in just a few hours taking code from
        my other two projects, load81 and linenoise.

        People are encouraged to use it as a starting point to write other
        editors or command line interfaces that are more advanced than the
        usual REPL style CLI.

        Kilo was written by Salvatore Sanfilippo aka antirez and is released
        under the BSD 2 clause license.

diffstat:

 editors/Makefile      |   3 ++-
 editors/kilo/DESCR    |  21 +++++++++++++++++++++
 editors/kilo/Makefile |  18 ++++++++++++++++++
 editors/kilo/PLIST    |   2 ++
 editors/kilo/distinfo |   6 ++++++
 5 files changed, 49 insertions(+), 1 deletions(-)

diffs (80 lines):

diff -r 3d4517cb70bb -r 135a833aa780 editors/Makefile
--- a/editors/Makefile  Mon Jul 11 03:16:47 2016 +0000
+++ b/editors/Makefile  Mon Jul 11 05:21:59 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.175 2016/06/16 02:29:27 kamil Exp $
+# $NetBSD: Makefile,v 1.176 2016/07/11 05:21:59 agc Exp $
 #
 
 COMMENT=       Editors
@@ -67,6 +67,7 @@
 SUBDIR+=       kdissert
 SUBDIR+=       kile
 SUBDIR+=       kile-kde3
+SUBDIR+=       kilo
 SUBDIR+=       leafpad
 SUBDIR+=       leim20
 SUBDIR+=       leim21
diff -r 3d4517cb70bb -r 135a833aa780 editors/kilo/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/kilo/DESCR        Mon Jul 11 05:21:59 2016 +0000
@@ -0,0 +1,21 @@
+Kilo is a small text editor in less than 1K lines of code (counted with cloc).
+
+Usage: kilo <filename>
+
+Keys:
+
+CTRL-S: Save
+CTRL-Q: Quit
+CTRL-F: Find string in file (ESC to exit search, arrows to navigate)
+
+Kilo does not depend on any library (not even curses).  It uses fairly
+standard VT100 (and similar terminals) escape sequences.  The project
+is in alpha stage and was written in just a few hours taking code from
+my other two projects, load81 and linenoise.
+
+People are encouraged to use it as a starting point to write other
+editors or command line interfaces that are more advanced than the
+usual REPL style CLI.
+
+Kilo was written by Salvatore Sanfilippo aka antirez and is released
+under the BSD 2 clause license.
diff -r 3d4517cb70bb -r 135a833aa780 editors/kilo/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/kilo/Makefile     Mon Jul 11 05:21:59 2016 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2016/07/11 05:21:59 agc Exp $
+
+DISTNAME=      kilo-20160710
+CATEGORIES=    editors
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=antirez/}
+GITHUB_TAG=    62b099af00b542bdb08471058d527af258a349cf
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://troydhanson.github.io/uthash/
+COMMENT=       Small text editor in less than 1K LOC
+LICENSE=       2-clause-bsd
+
+AUTO_MKDIRS=   yes
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/kilo ${DESTDIR}${PREFIX}/bin
+
+.include "../../mk/bsd.pkg.mk"
diff -r 3d4517cb70bb -r 135a833aa780 editors/kilo/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/kilo/PLIST        Mon Jul 11 05:21:59 2016 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2016/07/11 05:21:59 agc Exp $
+bin/kilo
diff -r 3d4517cb70bb -r 135a833aa780 editors/kilo/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/kilo/distinfo     Mon Jul 11 05:21:59 2016 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/07/11 05:21:59 agc Exp $
+
+SHA1 (kilo-20160710-62b099af00b542bdb08471058d527af258a349cf.tar.gz) = 3244535773429b1c4a2f56400ea6a3e7b8b4bd7e
+RMD160 (kilo-20160710-62b099af00b542bdb08471058d527af258a349cf.tar.gz) = 4422c9e00d2686e1936624835239d1aa251636fa
+SHA512 (kilo-20160710-62b099af00b542bdb08471058d527af258a349cf.tar.gz) = 
37af5e2bed4abec63ee44413853b25cc35a467cb68b8c30c7e5eea0d8108023a61c1023e2bac9b05f90707007d90a746950baf14d016d3ce260f3e84471b09df
+Size (kilo-20160710-62b099af00b542bdb08471058d527af258a349cf.tar.gz) = 12949 bytes



Home | Main Index | Thread Index | Old Index