summaryrefslogtreecommitdiff
path: root/time/logtime
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2000-12-17 23:32:09 +0000
committerwiz <wiz@pkgsrc.org>2000-12-17 23:32:09 +0000
commitdf7948804e18401baeb9f3f2ca9b7ded3f4f66c7 (patch)
tree73288b5bb97270ccddd92731e20bbfff8858d306 /time/logtime
parent389033175de2a6d1922929cf5b7598f2da56932a (diff)
downloadpkgsrc-df7948804e18401baeb9f3f2ca9b7ded3f4f66c7.tar.gz
New category: time. Move many packages here:
misc/cal, misc/cardboard-schedule, misc/ical, misc/plan, misc/py-mxDateTime, misc/remind, sysutils/logtime, and 19 more from x11.
Diffstat (limited to 'time/logtime')
-rw-r--r--time/logtime/Makefile23
-rw-r--r--time/logtime/files/md53
-rw-r--r--time/logtime/pkg/COMMENT1
-rw-r--r--time/logtime/pkg/DESCR5
-rw-r--r--time/logtime/pkg/PLIST3
5 files changed, 35 insertions, 0 deletions
diff --git a/time/logtime/Makefile b/time/logtime/Makefile
new file mode 100644
index 00000000000..d0384b6c0b3
--- /dev/null
+++ b/time/logtime/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/17 23:32:12 wiz Exp $
+#
+
+DISTNAME= logtime-1.0
+CATEGORIES= sysutils time
+MASTER_SITES= ftp://ftp.gw.com/pub/people/kim/
+
+MAINTAINER= kim@tac.nyc.ny.us
+
+DEPENDS+= sh-utils-*:../../sysutils/sh-utils
+
+.include "../../mk/bsd.prefs.mk"
+
+NO_CONFIGURE= yes
+NO_PATCH= yes
+
+MAKE_PARAMS+= PREFIX=${PREFIX}
+MAKE_PARAMS+= GDATE=${LOCALBASE}/bin/gdate
+
+ALL_TARGET= all ${MAKE_PARAMS}
+INSTALL_TARGET= install ${MAKE_PARAMS}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/logtime/files/md5 b/time/logtime/files/md5
new file mode 100644
index 00000000000..f4ba13e8ade
--- /dev/null
+++ b/time/logtime/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/17 23:32:12 wiz Exp $
+
+MD5 (logtime-1.0.tar.gz) = 25b38fa31ad2e7c232f94af564e7a49b
diff --git a/time/logtime/pkg/COMMENT b/time/logtime/pkg/COMMENT
new file mode 100644
index 00000000000..338934ab11c
--- /dev/null
+++ b/time/logtime/pkg/COMMENT
@@ -0,0 +1 @@
+Prints date and time in a standard format
diff --git a/time/logtime/pkg/DESCR b/time/logtime/pkg/DESCR
new file mode 100644
index 00000000000..560550e424e
--- /dev/null
+++ b/time/logtime/pkg/DESCR
@@ -0,0 +1,5 @@
+Logtime prints the date and time in a set format (YYYYMMDD hh:mm:ss).
+
+With the -p option logtime subtracts one day from the date if the time
+is before 8am. This is a special hack to make scripts that run in
+the early morning hours generate log files with the previous days date.
diff --git a/time/logtime/pkg/PLIST b/time/logtime/pkg/PLIST
new file mode 100644
index 00000000000..164ae5d6f51
--- /dev/null
+++ b/time/logtime/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/17 23:32:12 wiz Exp $
+bin/logtime
+man/man1/logtime.1