summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2016-07-11 05:21:59 +0000
committeragc <agc@pkgsrc.org>2016-07-11 05:21:59 +0000
commit55056d7c3dfe3f6da5a9a33a3fc0212cc708c396 (patch)
treeda74919adec602ac817ba04c7dff5584bde0b348 /editors
parentce32fd9c8c97fa99a4874cb76383bc7a50327aab (diff)
downloadpkgsrc-55056d7c3dfe3f6da5a9a33a3fc0212cc708c396.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')
-rw-r--r--editors/Makefile3
-rw-r--r--editors/kilo/DESCR21
-rw-r--r--editors/kilo/Makefile18
-rw-r--r--editors/kilo/PLIST2
-rw-r--r--editors/kilo/distinfo6
5 files changed, 49 insertions, 1 deletions
diff --git a/editors/Makefile b/editors/Makefile
index 9315a620a08..4a9eeb82832 100644
--- a/editors/Makefile
+++ b/editors/Makefile
@@ -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+= kate
SUBDIR+= kdissert
SUBDIR+= kile
SUBDIR+= kile-kde3
+SUBDIR+= kilo
SUBDIR+= leafpad
SUBDIR+= leim20
SUBDIR+= leim21
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