pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc misc: add sleepto



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a674e95c2495
branches:  trunk
changeset: 447719:a674e95c2495
user:      simonb <simonb%pkgsrc.org@localhost>
date:      Thu Feb 25 10:11:30 2021 +0000

description:
misc: add sleepto

Jared's sleep command with at-style time specification.

diffstat:

 misc/Makefile         |   3 ++-
 misc/sleepto/DESCR    |   4 ++++
 misc/sleepto/Makefile |  19 +++++++++++++++++++
 misc/sleepto/PLIST    |   2 ++
 misc/sleepto/distinfo |   6 ++++++
 5 files changed, 33 insertions(+), 1 deletions(-)

diffs (64 lines):

diff -r 74f263a9c01b -r a674e95c2495 misc/Makefile
--- a/misc/Makefile     Thu Feb 25 10:02:42 2021 +0000
+++ b/misc/Makefile     Thu Feb 25 10:11:30 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.544 2020/11/19 20:19:37 schmonz Exp $
+# $NetBSD: Makefile,v 1.545 2021/02/25 10:11:30 simonb Exp $
 #
 
 COMMENT=       Miscellaneous utilities
@@ -345,6 +345,7 @@
 SUBDIR+=       send-pr
 SUBDIR+=       siag
 SUBDIR+=       since
+SUBDIR+=       sleepto
 SUBDIR+=       splitvt
 SUBDIR+=       starplot
 SUBDIR+=       stellarium
diff -r 74f263a9c01b -r a674e95c2495 misc/sleepto/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/sleepto/DESCR        Thu Feb 25 10:11:30 2021 +0000
@@ -0,0 +1,4 @@
+sleepto is a sleep command that uses the at(1) command's moderately
+complex time specifications.
+
+Example usage:  sleepto 9am wednesday
diff -r 74f263a9c01b -r a674e95c2495 misc/sleepto/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/sleepto/Makefile     Thu Feb 25 10:11:30 2021 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2021/02/25 10:11:30 simonb Exp $
+
+DISTNAME=      sleepto-1.0
+CATEGORIES=    misc
+MASTER_SITES=  ${MASTER_SITE_LOCAL}
+EXTRACT_SUFX=  .tar.xz
+
+MAINTAINER=    simonb%NetBSD.org@localhost
+HOMEPAGE=      https://ftp.NetBSD.org/pub/pkgsrc/distfiles/LOCAL_PORTS/
+COMMENT=       Sleep command with at-style time specification
+LICENSE=       2-clause-bsd
+
+USE_BSD_MAKEFILE=      yes
+INSTALLATION_DIRS=     bin
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/sleepto ${DESTDIR}${PREFIX}/bin
+
+.include "../../mk/bsd.pkg.mk"
diff -r 74f263a9c01b -r a674e95c2495 misc/sleepto/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/sleepto/PLIST        Thu Feb 25 10:11:30 2021 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2021/02/25 10:11:30 simonb Exp $
+bin/sleepto
diff -r 74f263a9c01b -r a674e95c2495 misc/sleepto/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/sleepto/distinfo     Thu Feb 25 10:11:30 2021 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/02/25 10:11:30 simonb Exp $
+
+SHA1 (sleepto-1.0.tar.xz) = 81646cec067a553887107ca113fb3ccad308dff1
+RMD160 (sleepto-1.0.tar.xz) = 42405c3e8e3aa974a279d179e85296313addbd96
+SHA512 (sleepto-1.0.tar.xz) = 0e924cc9c0c646a6103ec3071f4dcb7fab78aea61fad8f674c9c0064d6a7c0e22edacbb90ac2f1a3858366bc429c68bc6d8eb08bf14dead711e218ce05702f33
+Size (sleepto-1.0.tar.xz) = 7976 bytes



Home | Main Index | Thread Index | Old Index