1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00

New port: sysutils/yank

The yank 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
or by splitting the input on a delimiter sequence.

WWW: https://github.com/mptre/yank
This commit is contained in:
Tobias Kortkamp 2018-09-09 08:51:33 +00:00
parent 7cb6acc8c3
commit a8084685a2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=479280
5 changed files with 44 additions and 0 deletions

View File

@ -1468,6 +1468,7 @@
SUBDIR += xsysstats
SUBDIR += xvidcap
SUBDIR += yadm
SUBDIR += yank
SUBDIR += yum
SUBDIR += zap
SUBDIR += zbackup

20
sysutils/yank/Makefile Normal file
View File

@ -0,0 +1,20 @@
# $FreeBSD$
PORTNAME= yank
DISTVERSION= 1.0.0
CATEGORIES= sysutils
MASTER_SITES= https://github.com/mptre/yank/releases/download/v${DISTVERSION}/
MAINTAINER= tobik@FreeBSD.org
COMMENT= Yank terminal output to clipboard
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= xsel-conrad>=0:x11/xsel-conrad
MAKE_ARGS= MANPREFIX=${PREFIX}/man
PLIST_FILES= bin/yank \
man/man1/yank.1.gz
.include <bsd.port.mk>

3
sysutils/yank/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1536480383
SHA256 (yank-1.0.0.tar.gz) = 20ba1b01a7514f2f670702e83846f42429e2e90491dc1f679c8319a45a0382de
SIZE (yank-1.0.0.tar.gz) = 8364

View File

@ -0,0 +1,14 @@
https://github.com/mptre/yank/pull/43
--- Makefile.orig 2018-09-09 07:45:36 UTC
+++ Makefile
@@ -23,6 +23,9 @@ DISTFILES= CHANGELOG.md \
all: ${PROG}
+.c.o:
+ ${CC} ${CPPFLAGS} ${CFLAGS} -c ${<}
+
${PROG}: ${OBJS}
${CC} -o ${PROG} ${OBJS} ${LDFLAGS}

6
sysutils/yank/pkg-descr Normal file
View File

@ -0,0 +1,6 @@
The yank 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
or by splitting the input on a delimiter sequence.
WWW: https://github.com/mptre/yank