ports/81216: [New Port] textproc/bar 'cat' with an ascii progress bar

Erik Greenwald erik at smluc.org
Wed May 18 19:30:09 UTC 2005


>Number:         81216
>Category:       ports
>Synopsis:       [New Port]  textproc/bar  'cat' with an ascii progress bar
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 18 19:30:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Erik Greenwald
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
>Environment:
System: FreeBSD fenris 5.4-RELEASE FreeBSD 5.4-RELEASE #1: Sat May 7 21:46:51 EDT 2005 root at fenris:/usr/obj/usr/src/sys/FENRIS i386

>Description:

http://www.theiling.de/projects/bar.html

pipe tool for showing progress on reading a file...


>How-To-Repeat:
>Fix:

--- textproc.bar.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	textproc/bar
#	textproc/bar/pkg-descr
#	textproc/bar/distinfo
#	textproc/bar/Makefile
#
echo c - textproc/bar
mkdir -p textproc/bar > /dev/null 2>&1
echo x - textproc/bar/pkg-descr
sed 's/^X//' >textproc/bar/pkg-descr << 'END-of-textproc/bar/pkg-descr'
XThis is a small shell script intended to be used in portable Unix install 
Xscripts for showing progress bars.
X
XThe overall goal is to write a minimally complex shell script (thus a program 
Xthat needs no compilation) that is as robust as possible to work on as many 
XBourne shells and operating systems as possible, and that implements 'cat' 
Xwith an ASCII progress bar and some other nifty features.
X
XThis is pure Bourne shell code. (For sh, ash, ksh, zsh, bash, ...)
X
XThe script is mainly indented to be used in portable install scripts, where 
Xyou can use the body of the script.
X
XWWW: http://www.theiling.de/projects/bar.html
END-of-textproc/bar/pkg-descr
echo x - textproc/bar/distinfo
sed 's/^X//' >textproc/bar/distinfo << 'END-of-textproc/bar/distinfo'
XMD5 (bar-1.2-src.tar.bz2) = 2f5d5667b08f2a70ea12f2a58a66cefb
XSIZE (bar-1.2-src.tar.bz2) = 4860
END-of-textproc/bar/distinfo
echo x - textproc/bar/Makefile
sed 's/^X//' >textproc/bar/Makefile << 'END-of-textproc/bar/Makefile'
X# New ports collection makefile for:	bar
X# Date created:			Wed May 18 2005
X# Whom:				Erik Greenwald <erik at smluc.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	bar
XPORTVERSION=	1.2
XCATEGORIES=	textproc
XMASTER_SITES=	http://www.theiling.de/downloads/
XEXTRACT_SUFX=	-src.tar.bz2
X
XMAINTAINER=	erik at smluc.org
XCOMMENT=	Cat with ASCII progress bar
X
XUSE_BZIP2=	yes
X
XPLIST_FILES=	bin/bar
X
Xdo-build:
X
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKSRC}/bar ${LOCALBASE}/bin/bar
X
X.include <bsd.port.mk>
END-of-textproc/bar/Makefile
exit
--- textproc.bar.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list