pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils



Module Name:    pkgsrc
Committed By:   nia
Date:           Fri Dec 11 13:38:57 UTC 2020

Modified Files:
        pkgsrc/sysutils: Makefile
Added Files:
        pkgsrc/sysutils/yank: DESCR Makefile PLIST distinfo

Log Message:
Add sysutils/yank.

The yank(1) utility reads input from stdin and display a selection interface
that allows a field to be selected and copied to the clipboard. Fields are
either recognized by a regular expression using the -g option or by splitting
the input on a delimiter sequence using the -d option.

Using the arrow keys will move the selected field. The interface supports
several Emacs and Vi like key bindings, consult the man page for further
reference. Pressing the return key will invoke the yank command and write
the selected field to its stdin. The yank command defaults to xsel(1) but
could be anything that accepts input on stdin. When invoking yank, everything
supplied after the -- option will be used as the yank command.


To generate a diff of this commit:
cvs rdiff -u -r1.921 -r1.922 pkgsrc/sysutils/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/yank/DESCR \
    pkgsrc/sysutils/yank/Makefile pkgsrc/sysutils/yank/PLIST \
    pkgsrc/sysutils/yank/distinfo

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

Modified files:

Index: pkgsrc/sysutils/Makefile
diff -u pkgsrc/sysutils/Makefile:1.921 pkgsrc/sysutils/Makefile:1.922
--- pkgsrc/sysutils/Makefile:1.921      Thu Dec 10 06:13:14 2020
+++ pkgsrc/sysutils/Makefile    Fri Dec 11 13:38:57 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.921 2020/12/10 06:13:14 nia Exp $
+# $NetBSD: Makefile,v 1.922 2020/12/11 13:38:57 nia Exp $
 #
 
 COMMENT=       System utilities
@@ -846,6 +846,7 @@ SUBDIR+=    xnc
 SUBDIR+=       xosview
 SUBDIR+=       xps
 SUBDIR+=       xuvmstat
+SUBDIR+=       yank
 SUBDIR+=       ytree
 SUBDIR+=       zabbix
 SUBDIR+=       zabbix-frontend

Added files:

Index: pkgsrc/sysutils/yank/DESCR
diff -u /dev/null pkgsrc/sysutils/yank/DESCR:1.1
--- /dev/null   Fri Dec 11 13:38:57 2020
+++ pkgsrc/sysutils/yank/DESCR  Fri Dec 11 13:38:57 2020
@@ -0,0 +1,11 @@
+The yank(1) utility reads input from stdin and display a selection interface
+that allows a field to be selected and copied to the clipboard. Fields are
+either recognized by a regular expression using the -g option or by splitting
+the input on a delimiter sequence using the -d option.
+
+Using the arrow keys will move the selected field. The interface supports
+several Emacs and Vi like key bindings, consult the man page for further
+reference. Pressing the return key will invoke the yank command and write
+the selected field to its stdin. The yank command defaults to xsel(1) but
+could be anything that accepts input on stdin. When invoking yank, everything
+supplied after the -- option will be used as the yank command.
Index: pkgsrc/sysutils/yank/Makefile
diff -u /dev/null pkgsrc/sysutils/yank/Makefile:1.1
--- /dev/null   Fri Dec 11 13:38:57 2020
+++ pkgsrc/sysutils/yank/Makefile       Fri Dec 11 13:38:57 2020
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2020/12/11 13:38:57 nia Exp $
+
+DISTNAME=      yank-1.2.0
+CATEGORIES=    sysutils
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=mptre/}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/mptre/yank
+COMMENT=       Copy terminal output to clipboard
+LICENSE=       mit
+
+MAKE_FLAGS+=   PREFIX=${PREFIX}
+MAKE_FLAGS+=   MANPREFIX=${PREFIX}/${PKGMANDIR}
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/sysutils/yank/PLIST
diff -u /dev/null pkgsrc/sysutils/yank/PLIST:1.1
--- /dev/null   Fri Dec 11 13:38:57 2020
+++ pkgsrc/sysutils/yank/PLIST  Fri Dec 11 13:38:57 2020
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2020/12/11 13:38:57 nia Exp $
+bin/yank
+man/man1/yank.1
Index: pkgsrc/sysutils/yank/distinfo
diff -u /dev/null pkgsrc/sysutils/yank/distinfo:1.1
--- /dev/null   Fri Dec 11 13:38:57 2020
+++ pkgsrc/sysutils/yank/distinfo       Fri Dec 11 13:38:57 2020
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/12/11 13:38:57 nia Exp $
+
+SHA1 (yank-1.2.0.tar.gz) = cc76f407869dac79e2701f67292c80cd3696b59f
+RMD160 (yank-1.2.0.tar.gz) = b114c1b5899f9cca3ab1cf4118daca0cbae2e341
+SHA512 (yank-1.2.0.tar.gz) = 2a8b1e506452a337f1214ce96192dc3f55a8bcfd922151d308e60218fabd75c09407c6e41f42555ca0c885d74db4c5e0340f9f3c73375e0fb3f4c136614bbeb7
+Size (yank-1.2.0.tar.gz) = 8759 bytes



Home | Main Index | Thread Index | Old Index