pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Import linenoise-1.0 as wip/linenoise.
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Sat Aug 13 22:34:08 2016 +0200
Changeset: 54916c488a7b3862d33c1d7c6e446c95cda2a8ad
Added Files:
linenoise/DESCR
linenoise/Makefile
linenoise/PLIST
linenoise/distinfo
Log Message:
Import linenoise-1.0 as wip/linenoise.
A minimal, zero-config, BSD licensed, readline replacement.
Noteworthy features:
- Single and multi line editing mode with the usual key bindings implemented.
- History handling.
- Completion.
- Hints (suggestions at the right of the prompt as you type).
- About 1,100 lines of BSD license source code.
- Only uses a subset of VT100 escapes (ANSI.SYS compatible).
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=54916c488a7b3862d33c1d7c6e446c95cda2a8ad
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
linenoise/DESCR | 9 +++++++++
linenoise/Makefile | 30 ++++++++++++++++++++++++++++++
linenoise/PLIST | 3 +++
linenoise/distinfo | 6 ++++++
4 files changed, 48 insertions(+)
diffs:
diff --git a/linenoise/DESCR b/linenoise/DESCR
new file mode 100644
index 0000000..911d979
--- /dev/null
+++ b/linenoise/DESCR
@@ -0,0 +1,9 @@
+A minimal, zero-config, BSD licensed, readline replacement.
+
+Noteworthy features:
+ - Single and multi line editing mode with the usual key bindings implemented.
+ - History handling.
+ - Completion.
+ - Hints (suggestions at the right of the prompt as you type).
+ - About 1,100 lines of BSD license source code.
+ - Only uses a subset of VT100 escapes (ANSI.SYS compatible).
diff --git a/linenoise/Makefile b/linenoise/Makefile
new file mode 100644
index 0000000..b7e256a
--- /dev/null
+++ b/linenoise/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD$
+
+DISTNAME= linenoise-1.0
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=antirez/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/antirez/linenoise/
+COMMENT= Small self-contained alternative to readline and libedit
+LICENSE= 2-clause-bsd
+
+USE_LIBTOOL= yes
+
+INSTALLATION_DIRS= include lib
+
+do-build:
+ ${RUN} cd ${WRKSRC} && \
+ ${LIBTOOL} --mode=compile --tag=CC ${CC} ${CFLAGS} \
+ -c linenoise.c
+ ${RUN} cd ${WRKSRC} && \
+ ${LIBTOOL} --mode=link --tag=CC ${CC} -avoid-version ${LDFLAGS} \
+ -o liblinenoise.la linenoise.lo -rpath ${PREFIX}/lib
+
+do-install:
+ ${RUN} cd ${WRKSRC} && \
+ ${LIBTOOL} --mode=install ${INSTALL_LIB} \
+ -c liblinenoise.la ${DESTDIR}${PREFIX}/lib/liblinenoise.la
+ ${INSTALL_DATA} ${WRKSRC}/linenoise.h ${DESTDIR}${PREFIX}/include
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/linenoise/PLIST b/linenoise/PLIST
new file mode 100644
index 0000000..a0c7939
--- /dev/null
+++ b/linenoise/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+include/linenoise.h
+lib/liblinenoise.la
diff --git a/linenoise/distinfo b/linenoise/distinfo
new file mode 100644
index 0000000..ce00a8c
--- /dev/null
+++ b/linenoise/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (linenoise-1.0.tar.gz) = 850cf34d1f7f1b14ae696dd4e9bd968e736e2759
+RMD160 (linenoise-1.0.tar.gz) = 6178d0eda2e803300a4e538b47635abe3bf8f2dc
+SHA512 (linenoise-1.0.tar.gz) = 9e68fade8d64d7ba8d5d681e74d0ca6c4ebd9576249bb0e885b1aa708a9af77a43ea6264307ae46fb74e52219387a2c831b570f9601e331837f35294af9883e3
+Size (linenoise-1.0.tar.gz) = 14222 bytes
Home |
Main Index |
Thread Index |
Old Index