summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsimonb <simonb@pkgsrc.org>2021-02-25 10:11:30 +0000
committersimonb <simonb@pkgsrc.org>2021-02-25 10:11:30 +0000
commitdbe571fd23890132cca587f458b319ebe1d3b754 (patch)
tree7c7792f7fc0d94f66f51402017cb4b22c6a31177
parent25074c9f0418e64f4e6efbccaffcc8036133cf7c (diff)
downloadpkgsrc-dbe571fd23890132cca587f458b319ebe1d3b754.tar.gz
misc: add sleepto
Jared's sleep command with at-style time specification.
-rw-r--r--misc/Makefile3
-rw-r--r--misc/sleepto/DESCR4
-rw-r--r--misc/sleepto/Makefile19
-rw-r--r--misc/sleepto/PLIST2
-rw-r--r--misc/sleepto/distinfo6
5 files changed, 33 insertions, 1 deletions
diff --git a/misc/Makefile b/misc/Makefile
index 469b516c10b..df1e5623ad3 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -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+= sd-mux-ctrl
SUBDIR+= send-pr
SUBDIR+= siag
SUBDIR+= since
+SUBDIR+= sleepto
SUBDIR+= splitvt
SUBDIR+= starplot
SUBDIR+= stellarium
diff --git a/misc/sleepto/DESCR b/misc/sleepto/DESCR
new file mode 100644
index 00000000000..945596fc314
--- /dev/null
+++ b/misc/sleepto/DESCR
@@ -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 --git a/misc/sleepto/Makefile b/misc/sleepto/Makefile
new file mode 100644
index 00000000000..371ed9c4ce0
--- /dev/null
+++ b/misc/sleepto/Makefile
@@ -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
+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 --git a/misc/sleepto/PLIST b/misc/sleepto/PLIST
new file mode 100644
index 00000000000..55525433afc
--- /dev/null
+++ b/misc/sleepto/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2021/02/25 10:11:30 simonb Exp $
+bin/sleepto
diff --git a/misc/sleepto/distinfo b/misc/sleepto/distinfo
new file mode 100644
index 00000000000..f359b9fa53c
--- /dev/null
+++ b/misc/sleepto/distinfo
@@ -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