mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
The xpipe command reads input from stdin and splits it by the given number of
bytes, lines, or if matching the given pattern. It then invokes the given utility repeatedly, feeding it the generated data chunks as input. You can think of it as a Unix love-child of the split(1), tee(1), and xargs(1) commands. WWW: https://github.com/jschauma/xpipe PR: 246195 Submitted by: jjuanino@gmail.com Approved by: ehaupt (mentor)
This commit is contained in:
parent
4b2f58718d
commit
93a8503683
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=535986
@ -1461,6 +1461,7 @@
|
||||
SUBDIR += xmbmon
|
||||
SUBDIR += xorriso
|
||||
SUBDIR += xosview
|
||||
SUBDIR += xpipe
|
||||
SUBDIR += xstow
|
||||
SUBDIR += xsysstats
|
||||
SUBDIR += xvidcap
|
||||
|
24
sysutils/xpipe/Makefile
Normal file
24
sysutils/xpipe/Makefile
Normal file
@ -0,0 +1,24 @@
|
||||
# Created by: Jose G. Juanino <jjuanino@gmail.com>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= xpipe
|
||||
DISTVERSION= g20200503
|
||||
CATEGORIES= sysutils
|
||||
|
||||
MAINTAINER= jjuanino@gmail.com
|
||||
COMMENT= Split input and feed it into the given utility
|
||||
|
||||
LICENSE= BSD2CLAUSE
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= jschauma
|
||||
GH_TAGNAME= 60b0aec
|
||||
|
||||
PLIST_FILES= bin/${PORTNAME} \
|
||||
share/man/man1/${PORTNAME}.1.gz
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/share/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
3
sysutils/xpipe/distinfo
Normal file
3
sysutils/xpipe/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1589718950
|
||||
SHA256 (jschauma-xpipe-g20200503-60b0aec_GH0.tar.gz) = 1baea1b7106b5ee66502d166512bfe56d38fa362da7d42f6e8959617ca54c8ec
|
||||
SIZE (jschauma-xpipe-g20200503-60b0aec_GH0.tar.gz) = 12399
|
11
sysutils/xpipe/files/patch-Makefile
Normal file
11
sysutils/xpipe/files/patch-Makefile
Normal file
@ -0,0 +1,11 @@
|
||||
--- Makefile.orig 2020-05-19 16:52:46 UTC
|
||||
+++ Makefile
|
||||
@@ -1,7 +1,7 @@
|
||||
NAME= xpipe
|
||||
OBJS= src/xpipe.o
|
||||
|
||||
-CFLAGS= -g -Wall -Werror -Wextra
|
||||
+CFLAGS+=-Wall -Werror -Wextra
|
||||
LIBS= -lm
|
||||
|
||||
PREFIX?=/usr/local
|
7
sysutils/xpipe/pkg-descr
Normal file
7
sysutils/xpipe/pkg-descr
Normal file
@ -0,0 +1,7 @@
|
||||
The xpipe command reads input from stdin and splits it by the given number of
|
||||
bytes, lines, or if matching the given pattern. It then invokes the given
|
||||
utility repeatedly, feeding it the generated data chunks as input. You can
|
||||
think of it as a Unix love-child of the split(1), tee(1), and xargs(1)
|
||||
commands.
|
||||
|
||||
WWW: https://github.com/jschauma/xpipe
|
Loading…
Reference in New Issue
Block a user