Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Mar 1999 10:21:36 +0100
From:      Gianmarco Giovannelli <gmarco@giovannelli.it>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        tom@onegeek.org
Subject:   ports/10382: New port: misc/delay 
Message-ID:  <4.1.19990305101617.00a68810@194.184.65.4>

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

>Number:         10382
>Category:       ports
>Synopsis:       New port: misc/delay
>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:   Thu Mar  4 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: Wed Mar  3
08:34:
41 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.

With version 1.2 you can also 'delay' until a given time specification.
Here some usage example:

delay 1d 2:03:04.5
delay 1d 2h 3m 4.5s
delay 93785.5
delay until 4 pm
delay until noon tomorrow
delay until midnight 13 september 2000
delay until now + 5 minutes

It allows for short, long, and customized messages for the display of 
the time remaining. 

>How-To-Repeat:

>Fix:

Portlint : 0w/0e

# 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.2a.tar.gz) = 77295ee1b23910d6fbf0f549713bc51b
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
XWith version 1.2 you can also 'delay' until a given time specification.
XHere some usage example:
X
Xdelay 1d 2:03:04.5
Xdelay 1d 2h 3m 4.5s
Xdelay 93785.5
Xdelay until 4 pm
Xdelay until noon tomorrow
Xdelay until midnight 13 september 2000
Xdelay until now + 5 minutes
X
XIt allows for short, long, and customized messages for the display of 
Xthe time remaining. 
X
X- author: Tom Rothamel <tom@onegeek.org>
X- distfile: delay-1.2.tar.gz (63 kb)
X- example of output : delay -v until 4 pm tomorrow
X		      Time Remaining: 1 days, 07:51:39.
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.2a
X# Date created:        03 Mar 1999
X# Whom:                gmarco@scotty.masternet.it
X#
X# $Id$
X#
X
XDISTNAME=  delay-1.2a
XCATEGORIES=    misc
XMASTER_SITES=  http://onegeek.org/~tom/software/delay/dl/
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.19990305101617.00a68810>