From df7948804e18401baeb9f3f2ca9b7ded3f4f66c7 Mon Sep 17 00:00:00 2001 From: wiz Date: Sun, 17 Dec 2000 23:32:09 +0000 Subject: 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. --- time/logtime/Makefile | 23 +++++++++++++++++++++++ time/logtime/files/md5 | 3 +++ time/logtime/pkg/COMMENT | 1 + time/logtime/pkg/DESCR | 5 +++++ time/logtime/pkg/PLIST | 3 +++ 5 files changed, 35 insertions(+) create mode 100644 time/logtime/Makefile create mode 100644 time/logtime/files/md5 create mode 100644 time/logtime/pkg/COMMENT create mode 100644 time/logtime/pkg/DESCR create mode 100644 time/logtime/pkg/PLIST (limited to 'time/logtime') 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 -- cgit v1.2.3