diff options
author | agc <agc> | 2016-07-11 05:21:59 +0000 |
---|---|---|
committer | agc <agc> | 2016-07-11 05:21:59 +0000 |
commit | 04c238eeab0be097f7bbfddcbd7d2fc04cc3c26c (patch) | |
tree | 27c3e31ad2d47ea031e6f1b7175f50f310efc7cd /editors/kilo | |
parent | 8068f8c3355477d05aa3d6114a5b014878e56305 (diff) | |
download | pkgsrc-04c238eeab0be097f7bbfddcbd7d2fc04cc3c26c.tar.gz |
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 (limited to 'editors/kilo')
-rw-r--r-- | editors/kilo/DESCR | 21 | ||||
-rw-r--r-- | editors/kilo/Makefile | 18 | ||||
-rw-r--r-- | editors/kilo/PLIST | 2 | ||||
-rw-r--r-- | editors/kilo/distinfo | 6 |
4 files changed, 47 insertions, 0 deletions
diff --git a/editors/kilo/DESCR b/editors/kilo/DESCR new file mode 100644 index 00000000000..ed0ac8e169c --- /dev/null +++ b/editors/kilo/DESCR @@ -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 --git a/editors/kilo/Makefile b/editors/kilo/Makefile new file mode 100644 index 00000000000..f4a626ac923 --- /dev/null +++ b/editors/kilo/Makefile @@ -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 +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 --git a/editors/kilo/PLIST b/editors/kilo/PLIST new file mode 100644 index 00000000000..3b5bb541a4b --- /dev/null +++ b/editors/kilo/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1 2016/07/11 05:21:59 agc Exp $ +bin/kilo diff --git a/editors/kilo/distinfo b/editors/kilo/distinfo new file mode 100644 index 00000000000..7aeefdff05c --- /dev/null +++ b/editors/kilo/distinfo @@ -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 |