pkgsrc-WIP-changes archive

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

pick: Import pick-2.0.2 as wip/pick



Module Name:	pkgsrc-wip
Committed By:	Jenz Guenther <dbotw%gmx.net@localhost>
Pushed By:	dbotw
Date:		Sat May 5 20:48:46 2018 +0200
Changeset:	32de9258c270f7c6cd3a62cafd525bd3ffc5b675

Modified Files:
	Makefile
Added Files:
	pick/DESCR
	pick/Makefile
	pick/PLIST
	pick/distinfo
	pick/patches/patch-curses

Log Message:
pick: Import pick-2.0.2 as wip/pick

The pick utility allows users to select from a set of choices using an interface
with fuzzy search functionality. The choices are read from stdin, and the
selected choice written to stdout.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=32de9258c270f7c6cd3a62cafd525bd3ffc5b675

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

diffstat:
 Makefile                  |  1 +
 pick/DESCR                |  3 +++
 pick/Makefile             | 16 ++++++++++++++++
 pick/PLIST                |  3 +++
 pick/distinfo             |  7 +++++++
 pick/patches/patch-curses | 22 ++++++++++++++++++++++
 6 files changed, 52 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 556f818388..c38e52dd91 100644
--- a/Makefile
+++ b/Makefile
@@ -2747,6 +2747,7 @@ SUBDIR+=	php-msgpack
 SUBDIR+=	php-tclink
 SUBDIR+=	php-xdiff
 SUBDIR+=	php-zmq
+SUBDIR+=	pick
 SUBDIR+=	picolisp
 SUBDIR+=	picolisp64
 SUBDIR+=	picosat
diff --git a/pick/DESCR b/pick/DESCR
new file mode 100644
index 0000000000..e429a3f74c
--- /dev/null
+++ b/pick/DESCR
@@ -0,0 +1,3 @@
+The pick utility allows users to select from a set of choices using an interface
+with fuzzy search functionality. The choices are read from stdin, and the
+selected choice written to stdout.
diff --git a/pick/Makefile b/pick/Makefile
new file mode 100644
index 0000000000..b7b7799326
--- /dev/null
+++ b/pick/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD$
+
+DISTNAME=	pick-2.0.2
+CATEGORIES=	sysutils
+MASTER_SITES=	${MASTER_SITE_GITHUB:=mptre/}
+GITHUB_RELEASE=	v2.0.2
+
+MAINTAINER=	dbotw%gmx.net@localhost
+HOMEPAGE=	https://github.com/mptre/pick/
+COMMENT=	A fuzzy search tool for the command-line
+LICENSE=	mit
+
+GNU_CONFIGURE=	yes
+USE_TOOLS+=	autoconf pkgconf	
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/pick/PLIST b/pick/PLIST
new file mode 100644
index 0000000000..988031afa0
--- /dev/null
+++ b/pick/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/pick
+man/man1/pick.1
diff --git a/pick/distinfo b/pick/distinfo
new file mode 100644
index 0000000000..6475cffa22
--- /dev/null
+++ b/pick/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (pick-2.0.2.tar.gz) = 6cc08e999f044defff085efa9182678cf25ff132
+RMD160 (pick-2.0.2.tar.gz) = 0d5b69ca295511ac7e32b3a8fea24c590ed089e3
+SHA512 (pick-2.0.2.tar.gz) = 92d74fa62f6c829117c6c3faf6ec39fc5dd66465516be396d21d7b0a92ee10761a1d3f43aa4a454f8d19790ac02a4a1af145139d488344c97a511805c5d6965b
+Size (pick-2.0.2.tar.gz) = 132174 bytes
+SHA1 (patch-curses) = a201bf7316b20656949a62617c3369a05e5b1778
diff --git a/pick/patches/patch-curses b/pick/patches/patch-curses
new file mode 100644
index 0000000000..907dfabd23
--- /dev/null
+++ b/pick/patches/patch-curses
@@ -0,0 +1,22 @@
+$NetBSD$
+
+--- pick.c.orig	2018-04-10 19:52:06.000000000 +0000
++++ pick.c
+@@ -90,7 +90,7 @@ static void			 toggle_sigwinch(int);
+ static int			 tty_getc(void);
+ static const char		*tty_getcap(char *);
+ static void			 tty_init(int);
+-static const char		*tty_parm1(char *, int);
++static const char		*tty_parm1(const char *, int);
+ static int			 tty_putc(int);
+ static void			 tty_restore(int);
+ static void			 tty_size(void);
+@@ -1063,7 +1063,7 @@ tty_getcap(char *cap)
+ }
+ 
+ const char *
+-tty_parm1(char *cap, int a)
++tty_parm1(const char *cap, int a)
+ {
+ 	return tparm(cap, a, 0, 0, 0, 0, 0, 0, 0, 0);
+ }


Home | Main Index | Thread Index | Old Index