Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jan 1999 10:32:27 +0100
From:      Gianmarco Giovannelli <gmarco@giovannelli.it>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/9836: New port: misc/delay-1.0
Message-ID:  <4.1.19990131102914.00955e60@194.184.65.4>

next in thread | raw e-mail | index | archive | help

>Number:         9836
>Category:       ports
>Synopsis:       New port:  misc/delay-1.0
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 31 01:30:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Gianmarco Giovannelli
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
< Private >
>Environment:

FreeBSD gmarco.eclipse.org 4.0-CURRENT FreeBSD 4.0-CURRENT #0: Sat Jan 30
16:31:06 CET 1999 gmarco@gmarco.eclipse.org:/usr/src/sys/compile/GMARCO
i386    

>Description:

Delay is a program that counts down the number of seconds specified on its
command line.
In this way, it's sort of like the standard sleep(1) command, except for
the fact that it 
provides feedback of the time remaining.

It allows for short, long, and customized messages for the display of the
time remaining. 
It also attempts to compensate for the time used in printing the message,
so there 
should be no inaccuracy proportional to the amount of time to be delayed, 
above and beyond the time it takes for the program to start up and shut down.

>How-To-Repeat:

>Fix:

# 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:
#
#	delay
#	delay/files
#	delay/files/md5
#	delay/pkg
#	delay/pkg/COMMENT
#	delay/pkg/DESCR
#	delay/pkg/PLIST
#	delay/patches
#	delay/Makefile
#
echo c - delay
mkdir -p delay > /dev/null 2>&1
echo c - delay/files
mkdir -p delay/files > /dev/null 2>&1
echo x - delay/files/md5
sed 's/^X//' >delay/files/md5 << 'END-of-delay/files/md5'
XMD5 (delay-1.0.tar.gz) = 85b8739547ff5c607fdecfd649067c22
END-of-delay/files/md5
echo c - delay/pkg
mkdir -p delay/pkg > /dev/null 2>&1
echo x - delay/pkg/COMMENT
sed 's/^X//' >delay/pkg/COMMENT << 'END-of-delay/pkg/COMMENT'
Xa delay program with feedback to the user
END-of-delay/pkg/COMMENT
echo x - delay/pkg/DESCR
sed 's/^X//' >delay/pkg/DESCR << 'END-of-delay/pkg/DESCR'
XDelay is a program that counts down the number of seconds specified 
Xon its command line.
XIn this way, it's sort of like the standard sleep(1) command, except 
Xfor the fact that it provides feedback of the time remaining.
X
XIt allows for short, long, and customized messages for the display of 
Xthe time remaining. It also attempts to compensate for the time used 
Xin printing the message, so there should be no inaccuracy proportional 
Xto the amount of time to be delayed, above and beyond the time it takes 
Xfor the program to start up and shut down.
X
XI've been using it in shell scripts.
XI've decided to release this source on the off chance that someone else will
Xfind this program useful.
X
X
X- author: Tom Rothamel <tom@onegeek.org>
X- usage: delay [-hv] [-c custom] <seconds to delay>
X- distfile size: 32 kb
X- example of output : delay -v 500000
X                      Time Remaining: 5 days, 18:53:18.
X
X- ported to FreeBSD by Gianmarco (gmarco@giovannelli.it)
END-of-delay/pkg/DESCR
echo x - delay/pkg/PLIST
sed 's/^X//' >delay/pkg/PLIST << 'END-of-delay/pkg/PLIST'
Xbin/delay
END-of-delay/pkg/PLIST
echo c - delay/patches
mkdir -p delay/patches > /dev/null 2>&1
echo x - delay/Makefile
sed 's/^X//' >delay/Makefile << 'END-of-delay/Makefile'
X# New ports collection makefile for:   misc/delay
X# Version required:    delay-1.0
X# Date created:        30 Jan 1999
X# Whom:                gmarco@scotty.masternet.it
X#
X# $Id$
X#
X
XDISTNAME=  delay-1.0
XCATEGORIES=    misc
XMASTER_SITES=  http://onegeek.org/~tom/software/delay/
X
XMAINTAINER=    freebsd@scotty.masternet.it
X
XHAS_CONFIGURE=      yes
X
XMAN1=	delay.1
X
Xdo-install:
X
X	${INSTALL_PROGRAM} ${WRKSRC}/delay ${PREFIX}/bin
X	${INSTALL_DATA} ${WRKSRC}/delay.1 ${PREFIX}/man/man1
X
X.include <bsd.port.mk>
END-of-delay/Makefile
exit



Best Regards,
Gianmarco Giovannelli ,  "Unix expert since yesterday"
http://www.giovannelli.it/~gmarco  
http://www2.masternet.it 



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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.1.19990131102914.00955e60>