diff options
author | nia <nia@pkgsrc.org> | 2020-12-11 13:38:57 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2020-12-11 13:38:57 +0000 |
commit | 83198e66baf1f351b2228ccea2438d44ea55fc85 (patch) | |
tree | 5d272e601e5395cb2ade0dbcfdedda3a8c54997e /sysutils | |
parent | 0da67e69bf79e2a221d3365fec0b776fb325a1e9 (diff) | |
download | pkgsrc-83198e66baf1f351b2228ccea2438d44ea55fc85.tar.gz |
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.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/Makefile | 3 | ||||
-rw-r--r-- | sysutils/yank/DESCR | 11 | ||||
-rw-r--r-- | sysutils/yank/Makefile | 16 | ||||
-rw-r--r-- | sysutils/yank/PLIST | 3 | ||||
-rw-r--r-- | sysutils/yank/distinfo | 6 |
5 files changed, 38 insertions, 1 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index d64253d85da..ee86e9520fd 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -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 diff --git a/sysutils/yank/DESCR b/sysutils/yank/DESCR new file mode 100644 index 00000000000..ea9b6336c55 --- /dev/null +++ b/sysutils/yank/DESCR @@ -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. diff --git a/sysutils/yank/Makefile b/sysutils/yank/Makefile new file mode 100644 index 00000000000..b93251ed361 --- /dev/null +++ b/sysutils/yank/Makefile @@ -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 +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" diff --git a/sysutils/yank/PLIST b/sysutils/yank/PLIST new file mode 100644 index 00000000000..8f91a45d255 --- /dev/null +++ b/sysutils/yank/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1 2020/12/11 13:38:57 nia Exp $ +bin/yank +man/man1/yank.1 diff --git a/sysutils/yank/distinfo b/sysutils/yank/distinfo new file mode 100644 index 00000000000..ba27997f6eb --- /dev/null +++ b/sysutils/yank/distinfo @@ -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 |