pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/linenoise



Module Name:    pkgsrc
Committed By:   kamil
Date:           Sun Sep 18 16:47:55 UTC 2016

Added Files:
        pkgsrc/devel/linenoise: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
Import linenoise-1.0 as devel/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 generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/linenoise/DESCR \
    pkgsrc/devel/linenoise/Makefile pkgsrc/devel/linenoise/PLIST \
    pkgsrc/devel/linenoise/buildlink3.mk pkgsrc/devel/linenoise/distinfo

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

Added files:

Index: pkgsrc/devel/linenoise/DESCR
diff -u /dev/null pkgsrc/devel/linenoise/DESCR:1.1
--- /dev/null   Sun Sep 18 16:47:55 2016
+++ pkgsrc/devel/linenoise/DESCR        Sun Sep 18 16:47:55 2016
@@ -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).
Index: pkgsrc/devel/linenoise/Makefile
diff -u /dev/null pkgsrc/devel/linenoise/Makefile:1.1
--- /dev/null   Sun Sep 18 16:47:55 2016
+++ pkgsrc/devel/linenoise/Makefile     Sun Sep 18 16:47:55 2016
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1 2016/09/18 16:47:55 kamil Exp $
+
+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"
Index: pkgsrc/devel/linenoise/PLIST
diff -u /dev/null pkgsrc/devel/linenoise/PLIST:1.1
--- /dev/null   Sun Sep 18 16:47:55 2016
+++ pkgsrc/devel/linenoise/PLIST        Sun Sep 18 16:47:55 2016
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2016/09/18 16:47:55 kamil Exp $
+include/linenoise.h
+lib/liblinenoise.la
Index: pkgsrc/devel/linenoise/buildlink3.mk
diff -u /dev/null pkgsrc/devel/linenoise/buildlink3.mk:1.1
--- /dev/null   Sun Sep 18 16:47:55 2016
+++ pkgsrc/devel/linenoise/buildlink3.mk        Sun Sep 18 16:47:55 2016
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2016/09/18 16:47:55 kamil Exp $
+
+BUILDLINK_TREE+=       linenoise
+
+.if !defined(LINENOISE_BUILDLINK3_MK)
+LINENOISE_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.linenoise+=      linenoise>=1.0
+BUILDLINK_PKGSRCDIR.linenoise?=        ../../devel/linenoise
+.endif # LINENOISE_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -linenoise
Index: pkgsrc/devel/linenoise/distinfo
diff -u /dev/null pkgsrc/devel/linenoise/distinfo:1.1
--- /dev/null   Sun Sep 18 16:47:55 2016
+++ pkgsrc/devel/linenoise/distinfo     Sun Sep 18 16:47:55 2016
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/09/18 16:47:55 kamil Exp $
+
+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