summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz>2000-12-17 23:32:09 +0000
committerwiz <wiz>2000-12-17 23:32:09 +0000
commitf3dbb331710de97891f6bc15c8ea68d932fbd614 (patch)
tree73288b5bb97270ccddd92731e20bbfff8858d306
parent87e1841f0d76da5d8d052223a20708380cdef9d8 (diff)
downloadpkgsrc-f3dbb331710de97891f6bc15c8ea68d932fbd614.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.
-rw-r--r--time/Makefile31
-rw-r--r--time/asclock-gtk/Makefile40
-rw-r--r--time/asclock-gtk/files/md53
-rw-r--r--time/asclock-gtk/files/patch-sum3
-rw-r--r--time/asclock-gtk/patches/patch-aa24
-rw-r--r--time/asclock-gtk/pkg/COMMENT1
-rw-r--r--time/asclock-gtk/pkg/DESCR5
-rw-r--r--time/asclock-gtk/pkg/PLIST4
-rw-r--r--time/asclock-gtk/pkg/PLIST.themes100
-rw-r--r--time/asclock-xlib/Makefile33
-rw-r--r--time/asclock-xlib/files/md53
-rw-r--r--time/asclock-xlib/files/patch-sum5
-rw-r--r--time/asclock-xlib/patches/patch-aa22
-rw-r--r--time/asclock-xlib/patches/patch-ab15
-rw-r--r--time/asclock-xlib/patches/patch-ac14
-rw-r--r--time/asclock-xlib/pkg/COMMENT1
-rw-r--r--time/asclock-xlib/pkg/DESCR5
-rw-r--r--time/asclock-xlib/pkg/PLIST5
-rw-r--r--time/asclock-xlib/pkg/PLIST.themes89
-rw-r--r--time/asclock/Makefile64
-rw-r--r--time/asclock/files/asclock.sh36
-rw-r--r--time/asclock/files/md53
-rw-r--r--time/asclock/files/patch-sum5
-rw-r--r--time/asclock/patches/patch-aa11
-rw-r--r--time/asclock/patches/patch-ab60
-rw-r--r--time/asclock/patches/patch-ac95
-rw-r--r--time/asclock/pkg/COMMENT1
-rw-r--r--time/asclock/pkg/DESCR4
-rw-r--r--time/asclock/pkg/PLIST4
-rw-r--r--time/cal/Makefile23
-rw-r--r--time/cal/files/md53
-rw-r--r--time/cal/files/patch-sum4
-rw-r--r--time/cal/patches/patch-aa17
-rw-r--r--time/cal/patches/patch-ab37
-rw-r--r--time/cal/pkg/COMMENT1
-rw-r--r--time/cal/pkg/DESCR38
-rw-r--r--time/cal/pkg/PLIST6
-rw-r--r--time/cardboard-schedule/Makefile49
-rwxr-xr-xtime/cardboard-schedule/files/csched.sh2
-rw-r--r--time/cardboard-schedule/files/md53
-rw-r--r--time/cardboard-schedule/pkg/COMMENT1
-rw-r--r--time/cardboard-schedule/pkg/DESCR10
-rw-r--r--time/cardboard-schedule/pkg/MESSAGE6
-rw-r--r--time/cardboard-schedule/pkg/PLIST13
-rw-r--r--time/catclock/Makefile27
-rw-r--r--time/catclock/files/md52
-rw-r--r--time/catclock/files/patch-sum4
-rw-r--r--time/catclock/patches/patch-aa27
-rw-r--r--time/catclock/patches/patch-ab21
-rw-r--r--time/catclock/pkg/COMMENT1
-rw-r--r--time/catclock/pkg/DESCR7
-rw-r--r--time/catclock/pkg/PLIST4
-rw-r--r--time/dclock/Makefile18
-rw-r--r--time/dclock/files/md53
-rw-r--r--time/dclock/files/patch-sum5
-rw-r--r--time/dclock/patches/patch-aa33
-rw-r--r--time/dclock/patches/patch-ab226
-rw-r--r--time/dclock/patches/patch-ac19
-rw-r--r--time/dclock/pkg/COMMENT1
-rw-r--r--time/dclock/pkg/DESCR2
-rw-r--r--time/dclock/pkg/PLIST3
-rw-r--r--time/emiclock/Makefile29
-rw-r--r--time/emiclock/files/md53
-rw-r--r--time/emiclock/files/patch-sum7
-rw-r--r--time/emiclock/patches/patch-aa47
-rw-r--r--time/emiclock/patches/patch-ab303
-rw-r--r--time/emiclock/patches/patch-ac22
-rw-r--r--time/emiclock/patches/patch-ad16
-rw-r--r--time/emiclock/patches/patch-ae16
-rw-r--r--time/emiclock/pkg/COMMENT1
-rw-r--r--time/emiclock/pkg/DESCR1
-rw-r--r--time/emiclock/pkg/PLIST7
-rw-r--r--time/glclock/Makefile29
-rw-r--r--time/glclock/files/md53
-rw-r--r--time/glclock/files/patch-sum3
-rw-r--r--time/glclock/patches/patch-aa26
-rw-r--r--time/glclock/pkg/COMMENT1
-rw-r--r--time/glclock/pkg/DESCR2
-rw-r--r--time/glclock/pkg/PLIST2
-rw-r--r--time/ical/Makefile24
-rw-r--r--time/ical/files/md53
-rw-r--r--time/ical/files/patch-sum4
-rw-r--r--time/ical/patches/patch-aa20
-rw-r--r--time/ical/patches/patch-ab15
-rw-r--r--time/ical/pkg/COMMENT1
-rw-r--r--time/ical/pkg/DESCR17
-rw-r--r--time/ical/pkg/PLIST68
-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
-rw-r--r--time/pkg/COMMENT1
-rw-r--r--time/plan/Makefile25
-rw-r--r--time/plan/files/md53
-rw-r--r--time/plan/files/patch-sum6
-rw-r--r--time/plan/patches/patch-aa130
-rw-r--r--time/plan/patches/patch-ab13
-rw-r--r--time/plan/patches/patch-ac13
-rw-r--r--time/plan/patches/patch-ad13
-rw-r--r--time/plan/pkg/COMMENT1
-rw-r--r--time/plan/pkg/DESCR24
-rw-r--r--time/plan/pkg/MESSAGE2
-rw-r--r--time/plan/pkg/PLIST46
-rw-r--r--time/polclock/Makefile14
-rw-r--r--time/polclock/files/md53
-rw-r--r--time/polclock/pkg/COMMENT1
-rw-r--r--time/polclock/pkg/DESCR3
-rw-r--r--time/polclock/pkg/PLIST3
-rw-r--r--time/py-mxDateTime/Makefile46
-rw-r--r--time/py-mxDateTime/files/md53
-rw-r--r--time/py-mxDateTime/pkg/COMMENT1
-rw-r--r--time/py-mxDateTime/pkg/DESCR10
-rw-r--r--time/py-mxDateTime/pkg/PLIST46
-rw-r--r--time/rclock/Makefile19
-rw-r--r--time/rclock/files/md53
-rw-r--r--time/rclock/files/patch-sum4
-rw-r--r--time/rclock/patches/patch-aa13
-rw-r--r--time/rclock/patches/patch-ab12
-rw-r--r--time/rclock/pkg/COMMENT1
-rw-r--r--time/rclock/pkg/DESCR6
-rw-r--r--time/rclock/pkg/PLIST3
-rw-r--r--time/remind/Makefile44
-rw-r--r--time/remind/files/md53
-rw-r--r--time/remind/files/patch-sum6
-rw-r--r--time/remind/patches/patch-ab34
-rw-r--r--time/remind/patches/patch-ac43
-rw-r--r--time/remind/patches/patch-ad11
-rw-r--r--time/remind/patches/patch-ae40
-rw-r--r--time/remind/pkg/COMMENT1
-rw-r--r--time/remind/pkg/DESCR4
-rw-r--r--time/remind/pkg/PLIST22
-rw-r--r--time/sunclock/Makefile18
-rw-r--r--time/sunclock/files/md53
-rw-r--r--time/sunclock/files/patch-sum6
-rw-r--r--time/sunclock/pkg/COMMENT1
-rw-r--r--time/sunclock/pkg/DESCR10
-rw-r--r--time/sunclock/pkg/PLIST3
-rw-r--r--time/swisswatch/Makefile14
-rw-r--r--time/swisswatch/files/md53
-rw-r--r--time/swisswatch/files/patch-sum3
-rw-r--r--time/swisswatch/patches/patch-aa13
-rw-r--r--time/swisswatch/pkg/COMMENT1
-rw-r--r--time/swisswatch/pkg/DESCR9
-rw-r--r--time/swisswatch/pkg/PLIST5
-rw-r--r--time/titrax/Makefile22
-rw-r--r--time/titrax/files/md53
-rw-r--r--time/titrax/files/patch-sum4
-rw-r--r--time/titrax/patches/patch-aa64
-rw-r--r--time/titrax/patches/patch-ab17
-rw-r--r--time/titrax/pkg/COMMENT1
-rw-r--r--time/titrax/pkg/DESCR5
-rw-r--r--time/titrax/pkg/PLIST9
-rw-r--r--time/wmcalclock/Makefile21
-rw-r--r--time/wmcalclock/files/md53
-rw-r--r--time/wmcalclock/files/patch-sum3
-rw-r--r--time/wmcalclock/patches/patch-aa17
-rw-r--r--time/wmcalclock/pkg/COMMENT1
-rw-r--r--time/wmcalclock/pkg/DESCR2
-rw-r--r--time/wmcalclock/pkg/PLIST3
-rw-r--r--time/wmmoonclock/Makefile16
-rw-r--r--time/wmmoonclock/files/md53
-rw-r--r--time/wmmoonclock/files/patch-sum3
-rw-r--r--time/wmmoonclock/patches/patch-aa25
-rw-r--r--time/wmmoonclock/pkg/COMMENT1
-rw-r--r--time/wmmoonclock/pkg/DESCR1
-rw-r--r--time/wmmoonclock/pkg/PLIST3
-rw-r--r--time/wmtime/Makefile27
-rw-r--r--time/wmtime/files/md53
-rw-r--r--time/wmtime/files/patch-sum3
-rw-r--r--time/wmtime/patches/patch-aa13
-rw-r--r--time/wmtime/pkg/COMMENT1
-rw-r--r--time/wmtime/pkg/DESCR2
-rw-r--r--time/wmtime/pkg/PLIST2
-rw-r--r--time/xbeats/Makefile15
-rw-r--r--time/xbeats/files/md53
-rw-r--r--time/xbeats/files/patch-sum3
-rw-r--r--time/xbeats/patches/patch-aa13
-rw-r--r--time/xbeats/pkg/COMMENT1
-rw-r--r--time/xbeats/pkg/DESCR2
-rw-r--r--time/xbeats/pkg/PLIST2
-rw-r--r--time/xcal/Makefile23
-rw-r--r--time/xcal/files/md53
-rw-r--r--time/xcal/files/patch-sum7
-rw-r--r--time/xcal/patches/patch-aa13
-rw-r--r--time/xcal/patches/patch-ab10
-rw-r--r--time/xcal/patches/patch-ac10
-rw-r--r--time/xcal/patches/patch-ad12
-rw-r--r--time/xcal/patches/patch-ae11
-rw-r--r--time/xcal/pkg/COMMENT1
-rw-r--r--time/xcal/pkg/DESCR13
-rw-r--r--time/xcal/pkg/PLIST13
-rw-r--r--time/xdaliclock/Makefile16
-rw-r--r--time/xdaliclock/files/md53
-rw-r--r--time/xdaliclock/files/patch-sum3
-rw-r--r--time/xdaliclock/patches/patch-aa15
-rw-r--r--time/xdaliclock/pkg/COMMENT1
-rw-r--r--time/xdaliclock/pkg/DESCR8
-rw-r--r--time/xdaliclock/pkg/PLIST3
-rw-r--r--time/xtimer/Makefile14
-rw-r--r--time/xtimer/files/md53
-rw-r--r--time/xtimer/pkg/COMMENT1
-rw-r--r--time/xtimer/pkg/DESCR3
-rw-r--r--time/xtimer/pkg/PLIST3
204 files changed, 3278 insertions, 0 deletions
diff --git a/time/Makefile b/time/Makefile
new file mode 100644
index 00000000000..db0c56399dd
--- /dev/null
+++ b/time/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/17 23:32:09 wiz Exp $
+#
+
+ SUBDIR += asclock
+ SUBDIR += asclock-gtk
+ SUBDIR += asclock-xlib
+ SUBDIR += cal
+ SUBDIR += cardboard-schedule
+ SUBDIR += catclock
+ SUBDIR += dclock
+ SUBDIR += emiclock
+ SUBDIR += glclock
+ SUBDIR += ical
+ SUBDIR += logtime
+ SUBDIR += plan
+ SUBDIR += polclock
+ SUBDIR += py-mxDateTime
+ SUBDIR += rclock
+ SUBDIR += remind
+ SUBDIR += sunclock
+ SUBDIR += swisswatch
+ SUBDIR += titrax
+ SUBDIR += wmcalclock
+ SUBDIR += wmmoonclock
+ SUBDIR += wmtime
+ SUBDIR += xbeats
+ SUBDIR += xcal
+ SUBDIR += xdaliclock
+ SUBDIR += xtimer
+
+.include "../mk/bsd.pkg.subdir.mk"
diff --git a/time/asclock-gtk/Makefile b/time/asclock-gtk/Makefile
new file mode 100644
index 00000000000..bb376c5c725
--- /dev/null
+++ b/time/asclock-gtk/Makefile
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/17 23:32:13 wiz Exp $
+#
+
+DISTNAME= asclock-gtk-2.1.10beta
+PKGNAME= asclock-gtk-2.1.10
+WRKSRC= ${WRKDIR}/asclock-gtk
+CATEGORIES= x11 time
+MASTER_SITES= http://www.asclock.org/tar/
+
+MAINTAINER= jlam@netbsd.org
+HOMEPAGE= http://www.asclock.org/
+
+DEPENDS+= gtk+-1.2.*:../../x11/gtk
+
+USE_X11BASE= yes
+
+PLIST_SRC= ${PKGDIR}/PLIST \
+ ${PKGDIR}/PLIST.themes
+
+ALL_TARGET= asclock
+
+EVAL_PREFIX+= GTKDIR=gtk+
+MAKE_ENV+= CONFIG_PATH="${GTKDIR}/bin/" # for gtk-config
+
+pre-configure:
+ cd ${WRKSRC}; ${LN} -sf themes/classic default_theme
+
+pre-install:
+ ${RM} -f ${WRKSRC}/themes/Freeamp/Makefile*
+ ${RM} -rf ${WRKSRC}/themes/themes
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/asclock ${PREFIX}/bin/asclock-gtk
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/asclock-gtk
+ ${INSTALL_DATA} ${WRKSRC}/README.THEMES ${PREFIX}/share/doc/asclock-gtk
+ ${MKDIR} ${PREFIX}/share/asclock-gtk
+ ${CP} -R ${WRKSRC}/themes/* ${PREFIX}/share/asclock-gtk
+ ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/asclock-gtk
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/asclock-gtk/files/md5 b/time/asclock-gtk/files/md5
new file mode 100644
index 00000000000..634769db28d
--- /dev/null
+++ b/time/asclock-gtk/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/17 23:32:13 wiz Exp $
+
+MD5 (asclock-gtk-2.1.10beta.tar.gz) = afa682d7954cb4d5c443202ffdd04b17
diff --git a/time/asclock-gtk/files/patch-sum b/time/asclock-gtk/files/patch-sum
new file mode 100644
index 00000000000..3f386cf386b
--- /dev/null
+++ b/time/asclock-gtk/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/12/17 23:32:13 wiz Exp $
+
+MD5 (patch-aa) = 8be133f8928190cf0f9c1ec973b17df9
diff --git a/time/asclock-gtk/patches/patch-aa b/time/asclock-gtk/patches/patch-aa
new file mode 100644
index 00000000000..81f5d13b557
--- /dev/null
+++ b/time/asclock-gtk/patches/patch-aa
@@ -0,0 +1,24 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/12/17 23:32:13 wiz Exp $
+
+--- ./Makefile.orig Fri Mar 26 02:08:33 1999
++++ ./Makefile Thu Oct 7 04:41:07 1999
+@@ -1,16 +1,16 @@
+ CP=cp -f
+ MKDIR=mkdir -p
+
+-CFLAGS = -Wall -g
++CFLAGS = -Wall
+
+-GNOME_CC = gcc $(CFLAGS) -DASCLOCK_THEMES_DIR=\""/usr/local/share/asclock"\" \
++GNOME_CC = $(CC) $(CFLAGS) -DASCLOCK_THEMES_DIR=\""${PREFIX}/share/asclock-gtk/"\" \
+ -DASCLOCK_GNOME `gnome-config --cflags gnomeui gnome gtk`
+ GNOME_OBJS = .gnome/draw.o .gnome/asclock.o .gnome/config.o .gnome/rot.o .gnome/parser.o \
+ .gnome/symbols.o .gnome/dialogs.o .gnome/timezone.o .gnome/gnome_config.o
+
+ GNOME_LIBS = -lpanel -lpanel_applet `gnome-config --libs gnomeui gnome gtk gnorba`
+
+-GTK_CC = gcc $(CFLAGS) -DASCLOCK_THEMES_DIR=\""/usr/local/share/asclock"\" \
++GTK_CC = $(CC) $(CFLAGS) -DASCLOCK_THEMES_DIR=\""${PREFIX}/share/asclock-gtk/"\" \
+ -DASCLOCK_GTK `$(CONFIG_PATH)gtk-config --cflags`
+ GTK_OBJS = .gtk/draw.o .gtk/asclock.o .gtk/config.o .gtk/rot.o .gtk/parser.o .gtk/symbols.o
+ GTK_LIBS = `$(CONFIG_PATH)gtk-config --libs`
diff --git a/time/asclock-gtk/pkg/COMMENT b/time/asclock-gtk/pkg/COMMENT
new file mode 100644
index 00000000000..7b2cead1dad
--- /dev/null
+++ b/time/asclock-gtk/pkg/COMMENT
@@ -0,0 +1 @@
+dockable clock and calendar with themes for GTK+
diff --git a/time/asclock-gtk/pkg/DESCR b/time/asclock-gtk/pkg/DESCR
new file mode 100644
index 00000000000..5adfd3c5f12
--- /dev/null
+++ b/time/asclock-gtk/pkg/DESCR
@@ -0,0 +1,5 @@
+ASClock is a dockable clock and calendar application with themes which
+supports multiple languages, military and AM/PM time formats, and
+program execution.
+
+This version of asclock is an GTK+ application.
diff --git a/time/asclock-gtk/pkg/PLIST b/time/asclock-gtk/pkg/PLIST
new file mode 100644
index 00000000000..afae5a1bdc7
--- /dev/null
+++ b/time/asclock-gtk/pkg/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/17 23:32:14 wiz Exp $
+bin/asclock-gtk
+share/doc/asclock-gtk/README.THEMES
+@dirrm share/doc/asclock-gtk
diff --git a/time/asclock-gtk/pkg/PLIST.themes b/time/asclock-gtk/pkg/PLIST.themes
new file mode 100644
index 00000000000..d11d71ec76a
--- /dev/null
+++ b/time/asclock-gtk/pkg/PLIST.themes
@@ -0,0 +1,100 @@
+@comment $NetBSD: PLIST.themes,v 1.1.1.1 2000/12/17 23:32:14 wiz Exp $
+share/asclock-gtk/Freeamp/beats.xpm
+share/asclock-gtk/Freeamp/clock.xpm
+share/asclock-gtk/Freeamp/config
+share/asclock-gtk/Freeamp/date.xpm
+share/asclock-gtk/Freeamp/hour.xpm
+share/asclock-gtk/Freeamp/led.xpm
+share/asclock-gtk/Freeamp/minute.xpm
+share/asclock-gtk/Freeamp/month.xpm
+share/asclock-gtk/Freeamp/old.clock.xpm
+share/asclock-gtk/Freeamp/second.xpm
+share/asclock-gtk/Freeamp/weekday.xpm
+share/asclock-gtk/Newstone/beats.xpm
+share/asclock-gtk/Newstone/clock.xpm
+share/asclock-gtk/Newstone/config
+share/asclock-gtk/Newstone/date.xpm
+share/asclock-gtk/Newstone/hour.xpm
+share/asclock-gtk/Newstone/led.xpm
+share/asclock-gtk/Newstone/minute.xpm
+share/asclock-gtk/Newstone/month.xpm
+share/asclock-gtk/Newstone/second.xpm
+share/asclock-gtk/Newstone/weekday.xpm
+share/asclock-gtk/Orb/beats.xpm
+share/asclock-gtk/Orb/clock.xpm
+share/asclock-gtk/Orb/config
+share/asclock-gtk/Orb/date.xpm
+share/asclock-gtk/Orb/hour.xpm
+share/asclock-gtk/Orb/led.xpm
+share/asclock-gtk/Orb/minute.xpm
+share/asclock-gtk/Orb/month.xpm
+share/asclock-gtk/Orb/second.xpm
+share/asclock-gtk/Orb/weekday.xpm
+share/asclock-gtk/Stone/beats.xpm
+share/asclock-gtk/Stone/clock.xpm
+share/asclock-gtk/Stone/config
+share/asclock-gtk/Stone/date.xpm
+share/asclock-gtk/Stone/hour.xpm
+share/asclock-gtk/Stone/led.xpm
+share/asclock-gtk/Stone/minute.xpm
+share/asclock-gtk/Stone/month.xpm
+share/asclock-gtk/Stone/second.xpm
+share/asclock-gtk/Stone/weekday.xpm
+share/asclock-gtk/analog/beats.xpm
+share/asclock-gtk/analog/clock.xpm
+share/asclock-gtk/analog/config
+share/asclock-gtk/analog/date.xpm
+share/asclock-gtk/analog/hour.xpm
+share/asclock-gtk/analog/led.xpm
+share/asclock-gtk/analog/minute.xpm
+share/asclock-gtk/analog/month.xpm
+share/asclock-gtk/analog/second.xpm
+share/asclock-gtk/analog/weekday.xpm
+share/asclock-gtk/beats/beats.xpm
+share/asclock-gtk/beats/classic
+share/asclock-gtk/beats/clock.xpm
+share/asclock-gtk/beats/config
+share/asclock-gtk/beats/date.xpm
+share/asclock-gtk/beats/hour.xpm
+share/asclock-gtk/beats/led.xpm
+share/asclock-gtk/beats/minute.xpm
+share/asclock-gtk/beats/month.xpm
+share/asclock-gtk/beats/second.xpm
+share/asclock-gtk/beats/weekday.xpm
+share/asclock-gtk/classic/beats.xpm
+share/asclock-gtk/classic/classic
+share/asclock-gtk/classic/clock.xpm
+share/asclock-gtk/classic/config
+share/asclock-gtk/classic/date.xpm
+share/asclock-gtk/classic/hour.xpm
+share/asclock-gtk/classic/led.xpm
+share/asclock-gtk/classic/minute.xpm
+share/asclock-gtk/classic/month.xpm
+share/asclock-gtk/classic/second.xpm
+share/asclock-gtk/classic/weekday.xpm
+share/asclock-gtk/penguin/clock.xpm
+share/asclock-gtk/penguin/config
+share/asclock-gtk/penguin/date.xpm
+share/asclock-gtk/penguin/led.xpm
+share/asclock-gtk/penguin/month.xpm
+share/asclock-gtk/shaped/beats.xpm
+share/asclock-gtk/shaped/classic
+share/asclock-gtk/shaped/clock.xpm
+share/asclock-gtk/shaped/config
+share/asclock-gtk/shaped/date.xpm
+share/asclock-gtk/shaped/hour.xpm
+share/asclock-gtk/shaped/led.xpm
+share/asclock-gtk/shaped/minute.xpm
+share/asclock-gtk/shaped/month.xpm
+share/asclock-gtk/shaped/second.xpm
+share/asclock-gtk/shaped/weekday.xpm
+@dirrm share/asclock-gtk/shaped
+@dirrm share/asclock-gtk/penguin
+@dirrm share/asclock-gtk/classic
+@dirrm share/asclock-gtk/beats
+@dirrm share/asclock-gtk/analog
+@dirrm share/asclock-gtk/Stone
+@dirrm share/asclock-gtk/Orb
+@dirrm share/asclock-gtk/Newstone
+@dirrm share/asclock-gtk/Freeamp
+@dirrm share/asclock-gtk
diff --git a/time/asclock-xlib/Makefile b/time/asclock-xlib/Makefile
new file mode 100644
index 00000000000..f2ec7243c94
--- /dev/null
+++ b/time/asclock-xlib/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/17 23:32:15 wiz Exp $
+#
+
+DISTNAME= asclock-xlib-2.0.11
+PKGNAME= asclock-xlib-2.0b11
+WRKSRC= ${WRKDIR}/asclock-xlib
+CATEGORIES= x11 time
+MASTER_SITES= http://www.asclock.org/tar/
+
+MAINTAINER= jlam@netbsd.org
+HOMEPAGE= http://www.asclock.org/
+
+USE_IMAKE= YES
+USE_XPM= YES
+
+PLIST_SRC= ${PKGDIR}/PLIST \
+ ${PKGDIR}/PLIST.themes
+
+pre-configure:
+ cd ${WRKSRC}; ${LN} -sf themes/classic default_theme
+
+pre-install:
+ ${RM} -f ${WRKSRC}/themes/Freeamp/Makefile*
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/asclock-xlib
+ cd ${WRKSRC}; ${INSTALL_DATA} COPYING README.THEMES \
+ ${PREFIX}/share/doc/asclock-xlib
+ ${MKDIR} ${PREFIX}/share/asclock-xlib
+ ${CP} -R ${WRKSRC}/themes/* ${PREFIX}/share/asclock-xlib
+ ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/asclock-xlib
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/asclock-xlib/files/md5 b/time/asclock-xlib/files/md5
new file mode 100644
index 00000000000..195e10624fc
--- /dev/null
+++ b/time/asclock-xlib/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/17 23:32:15 wiz Exp $
+
+MD5 (asclock-xlib-2.0.11.tar.gz) = f197af0928ddec5d8dcff859a459a697
diff --git a/time/asclock-xlib/files/patch-sum b/time/asclock-xlib/files/patch-sum
new file mode 100644
index 00000000000..592796a52be
--- /dev/null
+++ b/time/asclock-xlib/files/patch-sum
@@ -0,0 +1,5 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/12/17 23:32:15 wiz Exp $
+
+MD5 (patch-aa) = dc41c875745019920b72366846459b87
+MD5 (patch-ab) = fbd1e7028ade24322a52f3d5fba8d299
+MD5 (patch-ac) = 4e897fb0ad2b595d09cd29d3a24dc75d
diff --git a/time/asclock-xlib/patches/patch-aa b/time/asclock-xlib/patches/patch-aa
new file mode 100644
index 00000000000..5425f8257c1
--- /dev/null
+++ b/time/asclock-xlib/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/12/17 23:32:15 wiz Exp $
+
+--- ./Imakefile.orig Sun Mar 14 01:04:31 1999
++++ ./Imakefile Thu Oct 7 03:38:21 1999
+@@ -1,13 +1,14 @@
+
+-XPMLIB = -L/usr/lib/X11 -lXpm
++XPMLIB = -Wl,-R${X11BASE}/lib -L${X11BASE}/lib -lXpm
+ DEPLIBS = $(DEPXLIB)
+
+ LOCAL_LIBRARIES = $(XPMLIB) $(XLIB)
+
+ LINTLIBS = $(LINTXLIB)
+-CC = gcc -g
+
+ SRCS = asclock.c parser.c symbols.c config.c
+ OBJS = asclock.o parser.o symbols.o config.o
+
+-ComplexProgramTarget(asclock)
++CPPFLAGS += -DPREFIX=\"${PREFIX}\"
++
++ComplexProgramTargetNoMan(asclock-xlib)
diff --git a/time/asclock-xlib/patches/patch-ab b/time/asclock-xlib/patches/patch-ab
new file mode 100644
index 00000000000..79ba98775fd
--- /dev/null
+++ b/time/asclock-xlib/patches/patch-ab
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/12/17 23:32:15 wiz Exp $
+
+--- ./README.THEMES.orig Fri Feb 19 01:20:51 1999
++++ ./README.THEMES Thu Oct 7 03:36:59 1999
+@@ -2,10 +2,6 @@
+ -----------------------
+
+
+-SPECIAL NOTE FOR THE IMPATIENT: copy your themes to either
+-/usr/local/share/asclock/ or /usr/share/asclock/
+-
+-
+ a theme consists of 8 xpms and a position file called 'config'.
+
+ all tiles within the same xpm must have the same width or height, except the
diff --git a/time/asclock-xlib/patches/patch-ac b/time/asclock-xlib/patches/patch-ac
new file mode 100644
index 00000000000..a705340ccb6
--- /dev/null
+++ b/time/asclock-xlib/patches/patch-ac
@@ -0,0 +1,14 @@
+$NetBSD: patch-ac,v 1.1.1.1 2000/12/17 23:32:15 wiz Exp $
+
+--- ./config.c.orig Sun Mar 14 18:09:13 1999
++++ ./config.c Thu Oct 7 03:36:59 1999
+@@ -26,8 +26,7 @@
+
+ char *themes_directories[] = {
+ "./themes/",
+- "/usr/local/share/asclock/",
+- "/usr/share/asclock/",
++ PREFIX "/share/asclock-xlib/",
+ "",
+ NULL
+ };
diff --git a/time/asclock-xlib/pkg/COMMENT b/time/asclock-xlib/pkg/COMMENT
new file mode 100644
index 00000000000..b25c1a3f307
--- /dev/null
+++ b/time/asclock-xlib/pkg/COMMENT
@@ -0,0 +1 @@
+dockable clock and calendar with themes for X11
diff --git a/time/asclock-xlib/pkg/DESCR b/time/asclock-xlib/pkg/DESCR
new file mode 100644
index 00000000000..ee814fabab5
--- /dev/null
+++ b/time/asclock-xlib/pkg/DESCR
@@ -0,0 +1,5 @@
+ASClock is a dockable clock and calendar application with themes which
+supports multiple languages, military and AM/PM time formats, and
+program execution.
+
+This version of asclock is an Xlib application.
diff --git a/time/asclock-xlib/pkg/PLIST b/time/asclock-xlib/pkg/PLIST
new file mode 100644
index 00000000000..0b67de473b1
--- /dev/null
+++ b/time/asclock-xlib/pkg/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/17 23:32:15 wiz Exp $
+bin/asclock-xlib
+share/doc/asclock-xlib/COPYING
+share/doc/asclock-xlib/README.THEMES
+@dirrm share/doc/asclock-xlib
diff --git a/time/asclock-xlib/pkg/PLIST.themes b/time/asclock-xlib/pkg/PLIST.themes
new file mode 100644
index 00000000000..71959d51fed
--- /dev/null
+++ b/time/asclock-xlib/pkg/PLIST.themes
@@ -0,0 +1,89 @@
+@comment $NetBSD: PLIST.themes,v 1.1.1.1 2000/12/17 23:32:15 wiz Exp $
+share/asclock-xlib/Freeamp/beats.xpm
+share/asclock-xlib/Freeamp/clock.xpm
+share/asclock-xlib/Freeamp/config
+share/asclock-xlib/Freeamp/date.xpm
+share/asclock-xlib/Freeamp/hour.xpm
+share/asclock-xlib/Freeamp/led.xpm
+share/asclock-xlib/Freeamp/minute.xpm
+share/asclock-xlib/Freeamp/month.xpm
+share/asclock-xlib/Freeamp/old.clock.xpm
+share/asclock-xlib/Freeamp/second.xpm
+share/asclock-xlib/Freeamp/weekday.xpm
+share/asclock-xlib/Newstone/beats.xpm
+share/asclock-xlib/Newstone/clock.xpm
+share/asclock-xlib/Newstone/config
+share/asclock-xlib/Newstone/date.xpm
+share/asclock-xlib/Newstone/hour.xpm
+share/asclock-xlib/Newstone/led.xpm
+share/asclock-xlib/Newstone/minute.xpm
+share/asclock-xlib/Newstone/month.xpm
+share/asclock-xlib/Newstone/second.xpm
+share/asclock-xlib/Newstone/weekday.xpm
+share/asclock-xlib/Orb/beats.xpm
+share/asclock-xlib/Orb/clock.xpm
+share/asclock-xlib/Orb/config
+share/asclock-xlib/Orb/date.xpm
+share/asclock-xlib/Orb/hour.xpm
+share/asclock-xlib/Orb/led.xpm
+share/asclock-xlib/Orb/minute.xpm
+share/asclock-xlib/Orb/month.xpm
+share/asclock-xlib/Orb/second.xpm
+share/asclock-xlib/Orb/weekday.xpm
+share/asclock-xlib/Stone/beats.xpm
+share/asclock-xlib/Stone/clock.xpm
+share/asclock-xlib/Stone/config
+share/asclock-xlib/Stone/date.xpm
+share/asclock-xlib/Stone/hour.xpm
+share/asclock-xlib/Stone/led.xpm
+share/asclock-xlib/Stone/minute.xpm
+share/asclock-xlib/Stone/month.xpm
+share/asclock-xlib/Stone/second.xpm
+share/asclock-xlib/Stone/weekday.xpm
+share/asclock-xlib/beats/beats.xpm
+share/asclock-xlib/beats/classic
+share/asclock-xlib/beats/clock.xpm
+share/asclock-xlib/beats/config
+share/asclock-xlib/beats/date.xpm
+share/asclock-xlib/beats/hour.xpm
+share/asclock-xlib/beats/led.xpm
+share/asclock-xlib/beats/minute.xpm
+share/asclock-xlib/beats/month.xpm
+share/asclock-xlib/beats/second.xpm
+share/asclock-xlib/beats/weekday.xpm
+share/asclock-xlib/classic/beats.xpm
+share/asclock-xlib/classic/classic
+share/asclock-xlib/classic/clock.xpm
+share/asclock-xlib/classic/config
+share/asclock-xlib/classic/date.xpm
+share/asclock-xlib/classic/hour.xpm
+share/asclock-xlib/classic/led.xpm
+share/asclock-xlib/classic/minute.xpm
+share/asclock-xlib/classic/month.xpm
+share/asclock-xlib/classic/second.xpm
+share/asclock-xlib/classic/weekday.xpm
+share/asclock-xlib/penguin/clock.xpm
+share/asclock-xlib/penguin/config
+share/asclock-xlib/penguin/date.xpm
+share/asclock-xlib/penguin/led.xpm
+share/asclock-xlib/penguin/month.xpm
+share/asclock-xlib/shaped/beats.xpm
+share/asclock-xlib/shaped/classic
+share/asclock-xlib/shaped/clock.xpm
+share/asclock-xlib/shaped/config
+share/asclock-xlib/shaped/date.xpm
+share/asclock-xlib/shaped/hour.xpm
+share/asclock-xlib/shaped/led.xpm
+share/asclock-xlib/shaped/minute.xpm
+share/asclock-xlib/shaped/month.xpm
+share/asclock-xlib/shaped/second.xpm
+share/asclock-xlib/shaped/weekday.xpm
+@dirrm share/asclock-xlib/shaped
+@dirrm share/asclock-xlib/penguin
+@dirrm share/asclock-xlib/classic
+@dirrm share/asclock-xlib/beats
+@dirrm share/asclock-xlib/Stone
+@dirrm share/asclock-xlib/Orb
+@dirrm share/asclock-xlib/Newstone
+@dirrm share/asclock-xlib/Freeamp
+@dirrm share/asclock-xlib
diff --git a/time/asclock/Makefile b/time/asclock/Makefile
new file mode 100644
index 00000000000..f0387230e03
--- /dev/null
+++ b/time/asclock/Makefile
@@ -0,0 +1,64 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/17 23:32:12 wiz Exp $
+#
+
+DISTNAME= asclock-classic-1.0
+PKGNAME= asclock-1.0
+CATEGORIES= x11 time
+MASTER_SITES= http://www.asclock.org/tar/
+
+MAINTAINER= jlam@netbsd.org
+HOMEPAGE= http://www.asclock.org/
+
+USE_IMAKE= YES
+USE_XPM= YES
+
+LANGUAGES= en de pt nl no it sv es hu br fr cs ru uk sl id da
+
+WRKSRC= ${WRKDIR}/asclock1.0
+PLIST_SRC= ${WRKDIR}/.PLIST_SRC
+
+# Translate to two-letter abbreviations in /usr/share/misc/language.
+#
+post-extract:
+ ${MV} ${WRKSRC}/english ${WRKSRC}/en
+ ${MV} ${WRKSRC}/german ${WRKSRC}/de
+ ${MV} ${WRKSRC}/portuguese ${WRKSRC}/pt
+ ${MV} ${WRKSRC}/dutch ${WRKSRC}/nl
+ ${MV} ${WRKSRC}/norwegian ${WRKSRC}/no
+ ${MV} ${WRKSRC}/italian ${WRKSRC}/it
+ ${MV} ${WRKSRC}/swedish ${WRKSRC}/sv
+ ${MV} ${WRKSRC}/spanish ${WRKSRC}/es
+ ${MV} ${WRKSRC}/hungarian ${WRKSRC}/hu
+ ${MV} ${WRKSRC}/breton ${WRKSRC}/br
+ ${MV} ${WRKSRC}/french ${WRKSRC}/fr
+ ${MV} ${WRKSRC}/czech ${WRKSRC}/cs
+ ${MV} ${WRKSRC}/russian ${WRKSRC}/ru
+ ${MV} ${WRKSRC}/ukrainian ${WRKSRC}/uk
+ ${MV} ${WRKSRC}/slovene ${WRKSRC}/sl
+ ${MV} ${WRKSRC}/indonesian ${WRKSRC}/id
+ ${MV} ${WRKSRC}/danish ${WRKSRC}/da
+
+pre-configure:
+ ${LN} -sf ./en/month.xpm ${WRKSRC}/month.xpm
+ ${LN} -sf ./en/weekday.xpm ${WRKSRC}/weekday.xpm
+ ${LN} -sf ./xpm/color.xpm ${WRKSRC}/clk.xpm
+
+do-install:
+ ${SED} -e "s,@PREFIX@,${PREFIX},g" \
+ ${FILESDIR}/asclock.sh > ${WRKDIR}/asclock.sh
+ ${INSTALL_SCRIPT} ${WRKDIR}/asclock.sh ${PREFIX}/bin/asclock
+ ${INSTALL_PROGRAM} ${WRKSRC}/asclock ${PREFIX}/libexec/asclock-classic
+ ${INSTALL_DATA} ${WRKSRC}/asclock.0 ${PREFIX}/man/cat1/asclock.0
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/asclock-classic
+ ${CAT} ${PKGDIR}/PLIST > ${PLIST_SRC}
+.for LANGUAGE in ${LANGUAGES}
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/asclock-classic/${LANGUAGE}
+ cd ${WRKSRC}/${LANGUAGE}; ${INSTALL_DATA} month.xpm weekday.xpm \
+ ${PREFIX}/share/asclock-classic/${LANGUAGE}
+ @${ECHO} share/asclock-classic/${LANGUAGE}/month.xpm >> ${PLIST_SRC}
+ @${ECHO} share/asclock-classic/${LANGUAGE}/weekday.xpm >> ${PLIST_SRC}
+ @${ECHO} @dirrm share/asclock-classic/${LANGUAGE} >> ${PLIST_SRC}
+.endfor
+ @${ECHO} @dirrm share/asclock-classic >> ${PLIST_SRC}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/asclock/files/asclock.sh b/time/asclock/files/asclock.sh
new file mode 100644
index 00000000000..1dbc582461f
--- /dev/null
+++ b/time/asclock/files/asclock.sh
@@ -0,0 +1,36 @@
+#!/bin/sh
+#
+# $NetBSD: asclock.sh,v 1.1.1.1 2000/12/17 23:32:12 wiz Exp $
+
+args=''
+while [ $# -gt 0 ]
+do
+ case $1 in
+ -lang)
+ LANG=$2; shift
+ if [ -z "${LANG}" ]
+ then
+ echo "asclock: -lang needs a language option"
+ quit 1
+ fi
+ ;;
+ *)
+ args="${args} $1"
+ ;;
+ esac
+ shift
+done
+
+ASCLOCKDIR=@PREFIX@/share/asclock-classic
+
+# default to American English
+if [ -z "${LANG}" -o ! -d ${ASCLOCKDIR}/${LANG} ]
+then
+ LANG=en
+fi
+
+monthxpm=${ASCLOCKDIR}/${LANG}/month.xpm
+weekdayxpm=${ASCLOCKDIR}/${LANG}/weekday.xpm
+
+args="${args} -monthxpm ${monthxpm} -weekdayxpm ${weekdayxpm}"
+exec @PREFIX@/libexec/asclock-classic ${args}
diff --git a/time/asclock/files/md5 b/time/asclock/files/md5
new file mode 100644
index 00000000000..1ee542a0699
--- /dev/null
+++ b/time/asclock/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/17 23:32:12 wiz Exp $
+
+MD5 (asclock-classic-1.0.tar.gz) = fc7f280e77b2646a02fd0dd42ac31ceb
diff --git a/time/asclock/files/patch-sum b/time/asclock/files/patch-sum
new file mode 100644
index 00000000000..ee50d1d3ec2
--- /dev/null
+++ b/time/asclock/files/patch-sum
@@ -0,0 +1,5 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/12/17 23:32:12 wiz Exp $
+
+MD5 (patch-aa) = ddddd4ce995df7f14094cb6641e62677
+MD5 (patch-ab) = 9ec1fd6bcf07ca38c5bc80ce67231955
+MD5 (patch-ac) = 33ddc79bc6880a2d46513816e7493ab8
diff --git a/time/asclock/patches/patch-aa b/time/asclock/patches/patch-aa
new file mode 100644
index 00000000000..72a66c158af
--- /dev/null
+++ b/time/asclock/patches/patch-aa
@@ -0,0 +1,11 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/12/17 23:32:12 wiz Exp $
+
+--- Imakefile.orig Wed Sep 16 11:56:00 1998
++++ Imakefile Thu Oct 28 13:11:11 1999
+@@ -1,5 +1,5 @@
+
+-XPMLIB = -L/usr/lib/X11 -lXpm
++XPMLIB = -Wl,-R${X11BASE}/lib -L${X11BASE}/lib -lXpm
+ DEPLIBS = $(DEPXLIB)
+
+ LOCAL_LIBRARIES = $(XPMLIB) $(XLIB)
diff --git a/time/asclock/patches/patch-ab b/time/asclock/patches/patch-ab
new file mode 100644
index 00000000000..ade79206969
--- /dev/null
+++ b/time/asclock/patches/patch-ab
@@ -0,0 +1,60 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/12/17 23:32:13 wiz Exp $
+
+--- asclock.c.orig Sat Sep 26 17:05:03 1998
++++ asclock.c Thu Oct 28 13:12:29 1999
+@@ -19,6 +19,7 @@
+ int ONLYSHAPE=0; /* default value is noshape */
+ int ITBLINKS=1; /* default is blinking */
+ int ICONIFIED=0; /* default is not iconified */
++int ITDOCKS=0; /* default is not Docking mode */
+ int YEAR=0; /* default is to show time, not year */
+ /* led positions *************************************************************/
+ int twelve[5] = {5, 14, 24, 28, 37};
+@@ -85,14 +86,15 @@
+ " -24 24 hour format",
+ " -exe <program> program to start on click",
+ " -led <color> color of the led",
+-" -monthxpm <xpm> month xpm",
+ " -clockxpm <xpm> clock xpm",
++" -monthxpm <xpm> month xpm",
+ " -weekdayxpm <xpm> weekday xpm",
++" -year show year instead of time",
+ " -position [+|-]x[+|-]y position of asclock",
+ " -shape without groundplate",
+ " -noblink don't blink",
+ " -iconic start up as icon",
+-" -year show year instead of time",
++" -dock Window Maker docking",
+ NULL
+ };
+
+@@ -173,6 +175,9 @@
+ case 'n':
+ ITBLINKS = 0;
+ continue;
++ case 'd':
++ ITDOCKS = 1;
++ continue;
+ case 'y':
+ YEAR = 1;
+ continue;
+@@ -256,13 +261,17 @@
+ XShapeCombineMask(dpy, iconwin, ShapeBounding, 0, 0, pixmask, ShapeSet);
+ }
+
+- mywmhints.initial_state = (ICONIFIED ? IconicState : NormalState);
++ mywmhints.initial_state = ITDOCKS ? WithdrawnState :
++ (ICONIFIED ? IconicState : NormalState);
+ mywmhints.icon_window = iconwin;
+ mywmhints.icon_x = mysizehints.x;
+ mywmhints.icon_y = mysizehints.y;
+- mywmhints.flags = StateHint | IconWindowHint | IconPositionHint;
++ mywmhints.window_group = win;
++ mywmhints.flags = StateHint | IconWindowHint | IconPositionHint
++ | WindowGroupHint;
+ XSetWMHints(dpy, win, &mywmhints);
+
++ XSetCommand(dpy, win, argv, argc);
+ XMapWindow(dpy,win);
+
+ InsertTime();
diff --git a/time/asclock/patches/patch-ac b/time/asclock/patches/patch-ac
new file mode 100644
index 00000000000..e91ee511507
--- /dev/null
+++ b/time/asclock/patches/patch-ac
@@ -0,0 +1,95 @@
+$NetBSD: patch-ac,v 1.1.1.1 2000/12/17 23:32:13 wiz Exp $
+
+--- asclock.man.orig Wed Sep 16 11:56:00 1998
++++ asclock.man Thu Oct 28 13:14:36 1999
+@@ -1,14 +1,18 @@
+-.TH asclock 0.99 "23 July 1996" asclock
++.TH asclock 1.0 "11 April 1998" asclock
+ .UC
+ .SH NAME
+ \fBasclock\fP \- the AfterStep clock
+ .SH SYNOPSIS
+ .B asclock
+-[ -help] [-12 | -24] [-shape]
+- [-position \fI[+|-]x[+|-]y\fP]
++[ -help] [-12 | -24] [-shape]
+ [-exe \fIprogram\fP]
+ [-led \fIcolor\fP]
+- [-noblink] [-iconic]
++ [-clockxpm \fIxpm\fP]
++ [-monthxpm \fIxpm\fP]
++ [-weekdayxpm \fIxpm\fP]
++ [-year]
++ [-position \fI[+|-]x[+|-]y\fP]
++ [-noblink] [-iconic] [-dock]
+ .SH DESCRIPTION
+ The \fBasclock\fP is a clock written to emulate the date/time application on
+ the NEXTSTEP(tm) operating system. \fBasclock\fP supports multiple languages,
+@@ -23,12 +27,17 @@
+ where options include:
+ -12 12 hour format
+ -24 24 hour format
++ -shape without groundplate
+ -exe <program> program to start on click
+ -led <color> color of the led
++ -clockxpm <xpm> clock xpm
++ -monthxpm <xpm> month xpm
++ -weekdayxpm <xpm> weekday xpm
++ -year show year instead of time
+ -position [+|-]x[+|-]y position of asclock
+- -shape without groundplate
+ -noblink don't blink
+ -iconic start up as icon
++ -dock Window Maker docking
+ .fi
+ .RE
+ .IP "-12 or -24"
+@@ -50,6 +59,22 @@
+ .I showrgb
+ .P (part of X11).
+ .RE
++.IP "-monthxpm <xpm>"
++.RS
++specifies the XPM file for the month pages.
++.RE
++.IP "-clockxpm <xpm>"
++.RS
++specifies the XPM file for the clock and calendar display.
++.RE
++.IP "-weekdayxpm <xpm>"
++.RS
++specifies the XPM file for the weekday pages.
++.RE
++.IP "-year"
++.RS
++shows the current the year in the display instead of the current time.
++.RE
+ .IP "-position [+|-]x[+|-]y "
+ .RS
+ specifies the starting position of \fBasclock\fP. The [+|-] works like the standard X-Windows x/y geometry option.
+@@ -66,6 +91,10 @@
+ .RS
+ This gives weird output with AfterStep, so don't bother. It's for mwm and other wm's with no hint functionality.
+ .RE
++.IP "-dock"
++.RS
++starts \fBasclock\fP in docking mode. This option is necessary to dock \fBasclock\fP in the Window Maker dock. \fBasclock\fP ignores the -iconic option when started in docking mode.
++.RE
+ .SH INVOCATION
+ \fBasclock\fP can be called from one of many ways. The most common invocation
+ is the command line:
+@@ -86,6 +115,14 @@
+ will cause \fBasclock\fP to use the shape extensions so that it will be a
+ button on the \fBWharf (1)\fP button bar under the \fBafterstep (1)\fP
+ window manager.
++
++If you run Window Maker then you should use the "-dock" option:
++.nf
++
++ [user@host] ~% asclock -shape -12 -dock &
++
++.fi
++and then drag the icon to the dock.
+ .SH BUGS
+ we don't have bugs :)
+ .SH COPYRIGHTS
diff --git a/time/asclock/pkg/COMMENT b/time/asclock/pkg/COMMENT
new file mode 100644
index 00000000000..32be2f50fbb
--- /dev/null
+++ b/time/asclock/pkg/COMMENT
@@ -0,0 +1 @@
+NeXTstep-like clock and calendar
diff --git a/time/asclock/pkg/DESCR b/time/asclock/pkg/DESCR
new file mode 100644
index 00000000000..be0fa06cbda
--- /dev/null
+++ b/time/asclock/pkg/DESCR
@@ -0,0 +1,4 @@
+The asclock is a clock written to emulate the date/time application on
+the NEXTSTEP(tm) operating system. asclock supports multiple
+languages, military and AM/PM time formats, program execution, and the
+shape extension to X-Windows.
diff --git a/time/asclock/pkg/PLIST b/time/asclock/pkg/PLIST
new file mode 100644
index 00000000000..7c0f53399f3
--- /dev/null
+++ b/time/asclock/pkg/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/17 23:32:13 wiz Exp $
+bin/asclock
+libexec/asclock-classic
+man/cat1/asclock.0
diff --git a/time/cal/Makefile b/time/cal/Makefile
new file mode 100644
index 00000000000..68653f82b4f
--- /dev/null
+++ b/time/cal/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/17 23:32:09 wiz Exp $
+# FreeBSD Id: Makefile,v 1.5 1997/05/12 06:33:23 max Exp
+#
+
+DISTNAME= cal-3.5
+CATEGORIES= time
+MASTER_SITES= ${MASTER_SITE_SUNSITE:=utils/shell/}
+
+MAINTAINER= packages@netbsd.org
+
+WRKSRC= ${WRKDIR}/cal-3.5/source
+MAKEFILE= makefile.unx
+ALL_TARGET= cal
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/cal ${PREFIX}/bin/cal
+ ${INSTALL_MAN} ${WRKSRC}/cal.1 ${PREFIX}/man/man1/cal.1
+ @${MKDIR} ${PREFIX}/etc/cal
+ @${CHMOD} 0755 ${PREFIX}/etc/cal
+ if [ ! -f ${PREFIX}/etc/cal/calcol ]; then ${INSTALL_DATA} ${WRKDIR}/cal-3.5/cal.col ${PREFIX}/etc/cal/calcol; fi
+ if [ ! -f ${PREFIX}/etc/cal/caldat ]; then ${INSTALL_DATA} ${WRKDIR}/cal-3.5/cal.dat ${PREFIX}/etc/cal/caldat; fi
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/cal/files/md5 b/time/cal/files/md5
new file mode 100644
index 00000000000..d7b48652b2e
--- /dev/null
+++ b/time/cal/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/17 23:32:09 wiz Exp $
+
+MD5 (cal-3.5.tar.gz) = e947731574da1731bccbe35ad2769a99
diff --git a/time/cal/files/patch-sum b/time/cal/files/patch-sum
new file mode 100644
index 00000000000..986155d9a07
--- /dev/null
+++ b/time/cal/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/12/17 23:32:09 wiz Exp $
+
+MD5 (patch-aa) = 53f6dac90c7025c8e9bf3eccfb163d91
+MD5 (patch-ab) = c844d192312abfd2f8ef91e9d3ba5129
diff --git a/time/cal/patches/patch-aa b/time/cal/patches/patch-aa
new file mode 100644
index 00000000000..b60ee237228
--- /dev/null
+++ b/time/cal/patches/patch-aa
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/12/17 23:32:09 wiz Exp $
+
+*** makefile.unx.orig Tue Mar 5 06:36:27 1996
+--- makefile.unx Mon May 12 15:23:42 1997
+***************
+*** 10,15 ****
+--- 10,19 ----
+ CC=gcc
+ CFLAGS=-O -Wall -DUNIX -DUSE_REMINDER
+
++ .ifdef PREFIX
++ CFLAGS+=-DPREFIX="\"${PREFIX}\""
++ .endif
++
+ BINDIR=/usr/bin
+ MANDIR=/usr/man
+
diff --git a/time/cal/patches/patch-ab b/time/cal/patches/patch-ab
new file mode 100644
index 00000000000..538f453a3b7
--- /dev/null
+++ b/time/cal/patches/patch-ab
@@ -0,0 +1,37 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/12/17 23:32:10 wiz Exp $
+
+--- cal.c.orig Thu Jul 11 21:36:33 1996
++++ cal.c Thu Oct 23 14:37:49 1997
+@@ -122,6 +122,7 @@
+ #include <ctype.h>
+ #include <string.h>
+ #include <sys/types.h>
++#include <sys/param.h> /*NetBSD*/
+
+ #ifndef max
+ #define max(a,b) (((a)>(b))?(a):(b))
+@@ -130,6 +131,10 @@
+ /* Note: Other unix systems may require this next re-define to work. */
+ /* I believe that SCO is one such system. Please send in any fixes */
+ /* needed to get your system running. */
++#if (defined(BSD) && BSD >= 199306)
++#define stricmp(a,b) strcasecmp(a,b) /* case-insensitive string comparison */
++#endif
++
+ #ifdef __linux__ /* Make linux compatible with stricmp() */
+ #define stricmp(a,b) strcasecmp(a,b) /* case-insensitive string comparison */
+ #endif
+@@ -1401,8 +1406,12 @@
+ strcpy(str, ".");
+ strcpy(str, file);
+ if ((fp = fopen(str, mode)) == NULL) {
+- /* If still not found then look in a lib directory */
++ /* If still not found then look in config directory */
++#ifdef PREFIX
++ strcpy(str, PREFIX "/etc/cal/");
++#else
+ strcpy(str, "/usr/lib/");
++#endif
+ strcat(str,file);
+ fp = fopen(str, mode);
+ }
diff --git a/time/cal/pkg/COMMENT b/time/cal/pkg/COMMENT
new file mode 100644
index 00000000000..a09124a2daa
--- /dev/null
+++ b/time/cal/pkg/COMMENT
@@ -0,0 +1 @@
+Enhanced color version of standard calendar utility
diff --git a/time/cal/pkg/DESCR b/time/cal/pkg/DESCR
new file mode 100644
index 00000000000..7df81b92dff
--- /dev/null
+++ b/time/cal/pkg/DESCR
@@ -0,0 +1,38 @@
+CAL is a nicely-enhanced version of the unix `cal' command.
+Features:
+
+ * Hilights today's date when displaying a monthly calendar.
+
+ * Displays an optional user-definable list of `special day'
+ descriptions (like appointments) to the right of the monthly
+ calendar display. Cal can be set optionally to ignore appointments
+ older than the current day. Next month's appointments are shown if
+ there is room to do so. Multiple appointment data files may also
+ be specified on the commandline.
+
+ * You can specify your own appointment and color definition files on the
+ commandline, or use the defaults.
+
+ * Date descriptions can display "years since" a given year, useful for
+ birthdays and anniversaries.
+
+ * Completely configurable colors -- eight separate color attributes.
+
+ * No ANSI driver needed for colors, and the output may be redirected
+ anywhere, just like the unix version. However, ANSI color control may
+ be enabled (e.g. for unix) with a #define in the source code.
+
+ * Commandline-compatible with unix `cal' command, but with several
+ enhanced switch settings.
+
+Requests, bug reports, suggestions, donations, proposals for
+contract work, and so forth may be sent to:
+
+ Attn: Alex Matulich
+ Unicorn Research Corporation
+ 4621 N. Landmark Drive
+ Orlando, FL 32817-1235
+ USA
+ 407-657-4974 FAX 407-657-6149
+
+or send e-mail to matulich_a@seaa.navsea.navy.mil.
diff --git a/time/cal/pkg/PLIST b/time/cal/pkg/PLIST
new file mode 100644
index 00000000000..bed1f2d57bf
--- /dev/null
+++ b/time/cal/pkg/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/17 23:32:10 wiz Exp $
+bin/cal
+etc/cal/calcol
+etc/cal/caldat
+@dirrm etc/cal
+man/man1/cal.1.gz
diff --git a/time/cardboard-schedule/Makefile b/time/cardboard-schedule/Makefile
new file mode 100644
index 00000000000..0b3af09fd45
--- /dev/null
+++ b/time/cardboard-schedule/Makefile
@@ -0,0 +1,49 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/17 23:32:25 wiz Exp $
+#
+
+DISTNAME= cs113ins
+PKGNAME= cardboard-schedule-1.13
+CATEGORIES= time x11
+MASTER_SITES= http://cardboard.nu/downloads/
+EXTRACT_SUFX= .exe
+
+MAINTAINER= jwise@netbsd.org
+HOMEPAGE= http://cardboard.nu/download.shtml
+
+USE_JAVA= yes
+USE_X11BASE= yes
+DEPENDS+= unzip-*:../../archivers/unzip
+DEPENDS+= swing-*:../../x11/swing
+
+RESTRICTED= "License prohibits redistribution on CDROM"
+NO_SRC_ON_CDROM= ${RESTRICTED}
+NO_BIN_ON_CDROM= ${RESTRICTED}
+
+EXTRACT_CMD= (cd ${WRKDIR} && unzip -x ${DOWNLOADED_DISTFILE}) || ${TRUE}
+MESSAGE_FILE= ${WRKDIR}/MESSAGE
+
+CSFILES= cs/images/Logo2.gif \
+ cs/images/Logo.gif \
+ stage/cs.jar \
+ stage/readme.txt \
+ stage/jhbasic.jar \
+ stage/license.txt \
+ stage/CsHelp.jar
+
+post-extract:
+ (cd ${WRKDIR} && unzip -x InstallerData/Installer.zip) || ${TRUE}
+
+post-build:
+ ${SED} -e s,@PREFIX@,${PREFIX},g < ${FILESDIR}/csched.sh > ${WRKDIR}/csched.tmp
+ ${SED} -e s,@LOCALBASE@,${LOCALBASE},g < ${WRKDIR}/csched.tmp > ${WRKDIR}/csched.tmp2
+ ${SED} -e s,@JAVA_HOME@,${JAVA_HOME},g < ${WRKDIR}/csched.tmp2 > ${WRKDIR}/csched
+ ${SED} -e s,@PREFIX@,${PREFIX},g < ${PKGDIR}/MESSAGE > ${WRKDIR}/MESSAGE
+
+do-install:
+ ${MKDIR} ${PREFIX}/lib/cardboard-schedule
+ @(cd ${WRKDIR}/C:/projects && ${GTAR} cf - ${CSFILES} | (cd ${PREFIX}/lib/cardboard-schedule && ${GTAR} xvf -))
+ ${INSTALL_SCRIPT} ${WRKDIR}/csched ${PREFIX}/bin
+
+do-build:
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/cardboard-schedule/files/csched.sh b/time/cardboard-schedule/files/csched.sh
new file mode 100755
index 00000000000..2ee3d3575e5
--- /dev/null
+++ b/time/cardboard-schedule/files/csched.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+@JAVA_HOME@/bin/jre -cp @PREFIX@/lib/cardboard-schedule/stage/cs.jar:@PREFIX@/lib/cardboard-schedule/stage/CsHelp.jar:@PREFIX@/lib/cardboard-schedule/stage/jhbasic.jar:@LOCALBASE@/lib/java/swingall.jar:${CLASSPATH} avg.cs.gui.CsMainApp
diff --git a/time/cardboard-schedule/files/md5 b/time/cardboard-schedule/files/md5
new file mode 100644
index 00000000000..9a680db0cd3
--- /dev/null
+++ b/time/cardboard-schedule/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/17 23:32:25 wiz Exp $
+
+MD5 (cs113ins.exe) = b547a38dfa243dc70e5b5425ba08c824
diff --git a/time/cardboard-schedule/pkg/COMMENT b/time/cardboard-schedule/pkg/COMMENT
new file mode 100644
index 00000000000..f346820cd85
--- /dev/null
+++ b/time/cardboard-schedule/pkg/COMMENT
@@ -0,0 +1 @@
+project and resource management software implemented in Java/Swing
diff --git a/time/cardboard-schedule/pkg/DESCR b/time/cardboard-schedule/pkg/DESCR
new file mode 100644
index 00000000000..54041a527b2
--- /dev/null
+++ b/time/cardboard-schedule/pkg/DESCR
@@ -0,0 +1,10 @@
+Cardboard Schedule is a project management package implemented in
+Java using the Swing UI toolkit. It allows for tracking of tasks
+and resources related to a number of projects.
+
+Although originally distributed for Windows, Cardboard Schedule is
+implemented in Java and runs fine under Unix.
+
+This package installs a 30-day demo version of Cardboard Schedule.
+You can contact Cardboard Nu at their website. http://cardboard.nu
+to purchase a full license.
diff --git a/time/cardboard-schedule/pkg/MESSAGE b/time/cardboard-schedule/pkg/MESSAGE
new file mode 100644
index 00000000000..60096561d40
--- /dev/null
+++ b/time/cardboard-schedule/pkg/MESSAGE
@@ -0,0 +1,6 @@
+------------------------------------------------------------
+ A demo version of Cardboard Schedule has been installed.
+
+ Please read @PREFIX@/lib/cardboard-schedule/license.txt
+ before using Cardboard Schedule.
+------------------------------------------------------------
diff --git a/time/cardboard-schedule/pkg/PLIST b/time/cardboard-schedule/pkg/PLIST
new file mode 100644
index 00000000000..43aada53450
--- /dev/null
+++ b/time/cardboard-schedule/pkg/PLIST
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/17 23:32:25 wiz Exp $
+bin/csched
+lib/cardboard-schedule/cs/images/Logo2.gif
+lib/cardboard-schedule/cs/images/Logo.gif
+lib/cardboard-schedule/stage/cs.jar
+lib/cardboard-schedule/stage/readme.txt
+lib/cardboard-schedule/stage/jhbasic.jar
+lib/cardboard-schedule/stage/license.txt
+lib/cardboard-schedule/stage/CsHelp.jar
+@dirrm lib/cardboard-schedule/stage
+@dirrm lib/cardboard-schedule/cs/images
+@dirrm lib/cardboard-schedule/cs
+@dirrm lib/cardboard-schedule
diff --git a/time/catclock/Makefile b/time/catclock/Makefile
new file mode 100644
index 00000000000..cdf44a882b1
--- /dev/null
+++ b/time/catclock/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/17 23:32:15 wiz Exp $
+#
+
+DISTNAME= catclock
+PKGNAME= catclock-0.0
+CATEGORIES= x11 time
+MASTER_SITES= http://www2.cenaath.cena.dgac.fr/ftp/decwindows/ \
+ ftp://ftp2.cnam.fr/decwindows/ \
+ ftp://ftp.wku.edu/vms/decwindows/ \
+ ftp://sunsite.doc.ic.ac.uk/computing/graphics/systems/X11/contrib/vms/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= packages@netbsd.org
+
+BUILD_DEPENDS= unzip:../../archivers/unzip
+
+USE_IMAKE= yes
+USE_MOTIF= yes
+
+EXTRACT_CMD= unzip ${DOWNLOADED_DISTFILE}
+
+post-extract:
+ ${RM} ${WRKSRC}/makefile ${WRKSRC}/pwd.h
+ ${MV} ${WRKSRC}/xclock.man ${WRKSRC}/catclock.man
+ ${SED} 's/^XClock/Catclock/g' <${WRKSRC}/xclock.ad >${WRKSRC}/Catclock.ad
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/catclock/files/md5 b/time/catclock/files/md5
new file mode 100644
index 00000000000..dfedaa2b45b
--- /dev/null
+++ b/time/catclock/files/md5
@@ -0,0 +1,2 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/17 23:32:15 wiz Exp $
+MD5 (catclock.zip) = bf62338a5f7d94d4a7180bad0f7a30ae
diff --git a/time/catclock/files/patch-sum b/time/catclock/files/patch-sum
new file mode 100644
index 00000000000..5c5b65b3ed2
--- /dev/null
+++ b/time/catclock/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/12/17 23:32:15 wiz Exp $
+
+MD5 (patch-aa) = 4eedcfc4298db5172ba5a328302741db
+MD5 (patch-ab) = d2a2ed75e356abd10db198dac2692835
diff --git a/time/catclock/patches/patch-aa b/time/catclock/patches/patch-aa
new file mode 100644
index 00000000000..9f286fcdcf5
--- /dev/null
+++ b/time/catclock/patches/patch-aa
@@ -0,0 +1,27 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/12/17 23:32:16 wiz Exp $
+--- imakefile.orig Sun Dec 20 21:24:08 1992
++++ imakefile Sat Sep 4 19:55:15 1999
+@@ -2,9 +2,9 @@
+ SRCS = xclock.c alarm.c
+ OBJS = xclock.o alarm.o
+
+- MOTIF = /usr/lib/DXM
+-MOTIF_LIBS = $(MOTIF)/lib/Xm/libXm.a $(MOTIF)/lib/Xt/libXt.a
+-MOTIF_INCS = -I$(MOTIF)/lib -I$(MOTIF)/lib/Xt
++ MOTIF = ${X11BASE}
++MOTIF_LIBS = -lXm -lXt -lSM -lICE
++MOTIF_INCS = -I$(MOTIF)/include
+ INCLUDES = -I. $(MOTIF_INCS) -I$(TOP)
+ DEFINES = -DHAS_GNU_EMACS
+ CFLAGS = $(DEFINES) $(INCLUDES)
+@@ -13,7 +13,7 @@
+ SYS_LIBRARIES = -lX11 -lm
+
+
+-all:: xclock
+-
+-ComplexProgramTarget(xclock)
++all:: catclock
+
++ComplexProgramTarget(catclock)
++InstallAppDefaults(Catclock)
diff --git a/time/catclock/patches/patch-ab b/time/catclock/patches/patch-ab
new file mode 100644
index 00000000000..a39e8692fa4
--- /dev/null
+++ b/time/catclock/patches/patch-ab
@@ -0,0 +1,21 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/12/17 23:32:16 wiz Exp $
+--- xclock.c.orig Sat Sep 4 19:09:20 1999
++++ xclock.c Sat Sep 4 19:09:40 1999
+@@ -351,7 +351,7 @@
+
+ { "mode", "Mode", XtRString, sizeof(char *),
+ XtOffset(ApplicationDataPtr, modeString),
+- XtRImmediate, (XtPointer)"analog"},
++ XtRImmediate, (XtPointer)"cat"},
+
+ { "help", "Help", XtRBoolean, sizeof(Boolean),
+ XtOffset(ApplicationDataPtr, help),
+@@ -403,7 +403,7 @@
+ /*
+ * Open up the system
+ */
+- topLevel = XtAppInitialize(&appContext, "XClock",
++ topLevel = XtAppInitialize(&appContext, "Catclock",
+ (XrmOptionDescList)(&options[0]),
+ XtNumber(options),
+ (unsigned int *)&argc, argv, NULL,
diff --git a/time/catclock/pkg/COMMENT b/time/catclock/pkg/COMMENT
new file mode 100644
index 00000000000..75b544b9f34
--- /dev/null
+++ b/time/catclock/pkg/COMMENT
@@ -0,0 +1 @@
+Variant of the MIT xclock with a "cat" mode
diff --git a/time/catclock/pkg/DESCR b/time/catclock/pkg/DESCR
new file mode 100644
index 00000000000..8b2bc512644
--- /dev/null
+++ b/time/catclock/pkg/DESCR
@@ -0,0 +1,7 @@
+This version of xclock is a Motif-based variant of the MIT xclock
+program, with an alarm feature, and a new "cat" mode, in addition to
+the analog and digital modes. The cat image was based on the famous
+"Kit-Cat" (R) plastic wall clock, and was designed by Deanna Hohn of
+DEC Advanced Technology Development. The Motif interface, eyes,
+tails, and the general state of the program now are a product of
+Philip Schneider of DEC.
diff --git a/time/catclock/pkg/PLIST b/time/catclock/pkg/PLIST
new file mode 100644
index 00000000000..deccba26f91
--- /dev/null
+++ b/time/catclock/pkg/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/17 23:32:16 wiz Exp $
+bin/catclock
+lib/X11/app-defaults/Catclock
+man/cat1/catclock.0
diff --git a/time/dclock/Makefile b/time/dclock/Makefile
new file mode 100644
index 00000000000..facf2efd7e1
--- /dev/null
+++ b/time/dclock/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/17 23:32:16 wiz Exp $
+#
+
+DISTNAME= dclock
+PKGNAME= dclock-4
+CATEGORIES= x11 time
+MASTER_SITES= ${MASTER_SITE_XCONTRIB:S/contrib/R5contrib/}
+EXTRACT_SUFX= .shar.Z
+
+MAINTAINER= packages@netbsd.org
+
+USE_X11BASE= yes
+EXTRACT_CMD= ${GZCAT} ${DOWNLOADED_DISTFILE} | ${SH} -
+WRKSRC= ${WRKDIR}
+
+MAKE_ENV+= CC="${CC}"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/dclock/files/md5 b/time/dclock/files/md5
new file mode 100644
index 00000000000..6bab0198855
--- /dev/null
+++ b/time/dclock/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/17 23:32:16 wiz Exp $
+
+MD5 (dclock.shar.Z) = c02279a04e7ca617b327bc4963920593
diff --git a/time/dclock/files/patch-sum b/time/dclock/files/patch-sum
new file mode 100644
index 00000000000..ee77efd9177
--- /dev/null
+++ b/time/dclock/files/patch-sum
@@ -0,0 +1,5 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/12/17 23:32:16 wiz Exp $
+
+MD5 (patch-aa) = b0a7daf0ae06bbf8f85f07b36f5aea35
+MD5 (patch-ab) = 0600cf1bb1fe710c2fb22b85fd566e13
+MD5 (patch-ac) = e334cb6a3f14ac3d893c258063dce668
diff --git a/time/dclock/patches/patch-aa b/time/dclock/patches/patch-aa
new file mode 100644
index 00000000000..20975a64931
--- /dev/null
+++ b/time/dclock/patches/patch-aa
@@ -0,0 +1,33 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/12/17 23:32:16 wiz Exp $
+
+--- Makefile.orig Wed Oct 20 11:40:45 1999
++++ Makefile Wed Oct 20 11:43:33 1999
+@@ -3,12 +3,25 @@
+ OBJS= Dclock.o dclock.o
+ HFILES= Dclock.h DclockP.h patchlevel.h
+
+-CFLAGS= -O
+-LDFLAGS=
++CFLAGS= -O -I$(X11BASE)/include
++LDFLAGS= -L$(X11BASE)/lib -Wl,-R$(X11BASE)/lib
+ LIBS= -lXt -lX11
+
++# Make this link properly on Solaris
++OPSYS!= uname -s
++
++.if ${OPSYS} == "SunOS"
++LIBS+= -lSM -lICE -lsocket -lnsl
++.endif
++
++all: dclock
++
+ dclock: ${OBJS}
+- cc ${LDFLAGS} ${OBJS} ${LIBS} -o dclock
++ ${CC} ${LDFLAGS} ${OBJS} ${LIBS} -o dclock
++
++install: dclock
++ ${BSD_INSTALL_PROGRAM} dclock $(X11BASE)/bin
++ ${BSD_INSTALL_MAN} dclock.man $(X11BASE)/man/man1/dclock.1
+
+ clean: ; rm -f ${OBJS} core dclock
+
diff --git a/time/dclock/patches/patch-ab b/time/dclock/patches/patch-ab
new file mode 100644
index 00000000000..4dee1d05e0a
--- /dev/null
+++ b/time/dclock/patches/patch-ab
@@ -0,0 +1,226 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/12/17 23:32:17 wiz Exp $
+
+Patch from Robert Elz to make the clock behave as a clock,
+rather than a sundial.
+itojun's y2k patch
+
+--- Dclock.c 2000/01/01 04:40:38 1.1
++++ Dclock.c 2000/01/01 04:40:53
+@@ -21,8 +21,6 @@
+ #define CLOCK_WIDTH 256
+ #define CLOCK_HEIGHT 80
+ #define DATE_FMT "%W, %M %d"
+-#define when break;case
+-#define otherwise break;default
+
+
+ static Boolean SetValues(), show_time();
+@@ -367,8 +365,8 @@
+
+ if (w->dclock.interval_id != (XtIntervalId)NULL)
+ XtRemoveTimeOut(w->dclock.interval_id);
+- XtReleaseGC (w, w->dclock.foreGC);
+- XtReleaseGC (w, w->dclock.backGC);
++ XtReleaseGC ((Widget) w, w->dclock.foreGC);
++ XtReleaseGC ((Widget) w, w->dclock.backGC);
+ for (n = 0; n < 10; n++) {
+ XFreePixmap(XtDisplay(w), w->dclock.digits[n]);
+ XFreePixmap(XtDisplay(w), w->dclock.tiny_digits[n]);
+@@ -388,7 +386,7 @@
+ Pixmap pix;
+ GC gc = w->dclock.foreGC;
+
+- if (!XtIsRealized(w))
++ if (!XtIsRealized((Widget) w))
+ return;
+
+ winwidth = w->core.width;
+@@ -450,7 +448,7 @@
+ make_number(w, w->dclock.tiny_digits[i], gc, i, tiny_segment_pts);
+ }
+ else
+- w->dclock.tiny_digits[i] = NULL;
++ (Widget) w->dclock.tiny_digits[i] = (Pixmap) NULL;
+ }
+ /* The colon[0] area is blank */
+ if (w->dclock.colon[0])
+@@ -629,7 +627,7 @@
+ Boolean save_fade = w->dclock.fade;
+ long t;
+
+- if (!XtIsRealized(w))
++ if (!XtIsRealized((Widget) w))
+ return;
+
+ if (w->dclock.interval_id != (XtIntervalId)NULL) {
+@@ -802,7 +800,7 @@
+ turn_off[i] = oldmask & ~newmask;
+ }
+ else
+- tmp_pix[i] = NULL;
++ tmp_pix[i] = (Pixmap) NULL;
+
+ for (j = 1; j != FADE_ITER; ++j)
+ {
+@@ -875,27 +873,36 @@
+ if (*p != '%')
+ *datep++ = *p;
+ else switch (*++p) {
+- when 'M':
++ case 'M':
+ datep += strlen(strcpy(datep, Months[now->tm_mon]));
+- when 'm':
++ break;
++ case 'm':
+ datep += strlen(strcpy(datep, months[now->tm_mon]));
+- when 'W':
++ break;
++ case 'W':
+ datep += strlen(strcpy(datep, Days[now->tm_wday]));
+- when 'w':
++ break;
++ case 'w':
+ datep += strlen(strcpy(datep, days[now->tm_wday]));
+- when 'd':
++ break;
++ case 'd':
+ if (now->tm_mday >= 10)
+ *datep++ = (now->tm_mday / 10 + '0');
+ *datep++ = now->tm_mday % 10 + '0';
+- when 'Y':
+- *datep++ = '1', *datep++ = '9';
+- /* fall thru */
++ break;
++ case 'Y':
++ *datep++ = (now->tm_year + 1900) / 1000 + '0';
++ *datep++ = (now->tm_year + 1900) % 1000 / 100 + '0';
++ /* FALLTHROUGH */
+ case 'y':
+- *datep++ = now->tm_year / 10 + '0';
+- *datep++ = now->tm_year % 10 + '0';
+- when '%':
++ *datep++ = now->tm_year % 100 / 10 + '0';
++ *datep++ = now->tm_year % 10 + '0';
++ break;
++ case '%':
+ *datep++ = *p;
+- otherwise: ; /* nothing */
++ break;
++ default:
++ break; /* nothing */
+ }
+ }
+ *datep = 0;
+@@ -906,7 +913,7 @@
+
+ /* remove what was there in case the whole thing isn't overwritten */
+ XFillRectangle(XtDisplay(w), XtWindow(w), w->dclock.backGC,
+- 0, winheight - (w->dclock.font->ascent + w->dclock.font->descent),
++ 0, winheight - (w->dclock.font->ascent + BORDER),
+ winwidth, w->dclock.font->ascent + w->dclock.font->descent);
+
+ XDrawString(XtDisplay(w), XtWindow(w), w->dclock.foreGC,
+@@ -924,7 +931,8 @@
+ {
+ Boolean alarm_went_off = show_time(w);
+ w->dclock.interval_id =
+- XtAddTimeOut((unsigned long)((alarm_went_off || w->dclock.seconds)? 1000 : 60000),
++ XtAddTimeOut((unsigned long)((alarm_went_off || w->dclock.seconds) ?
++ 1000 : 60000 - ((time(0L) % 60) * 1000)),
+ timeout, (XtPointer)w);
+ }
+
+@@ -960,8 +968,8 @@
+ || new->dclock.tails != current->dclock.tails
+ || new->dclock.fade != current->dclock.fade
+ || new->dclock.miltime != current->dclock.miltime) {
+- XtReleaseGC (current, current->dclock.foreGC);
+- XtReleaseGC (current, current->dclock.backGC);
++ XtReleaseGC ((Widget) current, current->dclock.foreGC);
++ XtReleaseGC ((Widget) current, current->dclock.backGC);
+ GetGC(new);
+ Resize(new); /* pixmaps need to be redrawn */
+ do_redraw = True;
+@@ -1024,7 +1032,7 @@
+ Arg arg;
+
+ XtSetArg(arg, XtNreverseVideo, !w->dclock.reverse);
+- XtSetValues(w, &arg, 1);
++ XtSetValues((Widget) w, &arg, 1);
+ }
+
+ static void
+@@ -1038,7 +1046,7 @@
+ return;
+ }
+ XtSetArg(arg, XtNmilitaryTime, !w->dclock.miltime);
+- XtSetValues(w, &arg, 1);
++ XtSetValues((Widget) w, &arg, 1);
+ }
+
+ static void
+@@ -1052,7 +1060,7 @@
+ return;
+ }
+ XtSetArg(arg, XtNseconds, !w->dclock.seconds);
+- XtSetValues(w, &arg, 1);
++ XtSetValues((Widget) w, &arg, 1);
+ }
+
+ static void
+@@ -1062,7 +1070,7 @@
+ Arg arg;
+
+ XtSetArg(arg, XtNfade, !w->dclock.fade);
+- XtSetValues(w, &arg, 1);
++ XtSetValues((Widget) w, &arg, 1);
+ if (w->dclock.fade && w->dclock.scroll)
+ toggle_scroll(w);
+ }
+@@ -1074,7 +1082,7 @@
+ Arg arg;
+
+ XtSetArg(arg, XtNtails, !w->dclock.tails);
+- XtSetValues(w, &arg, 1);
++ XtSetValues((Widget) w, &arg, 1);
+ }
+
+ static void
+@@ -1084,7 +1092,7 @@
+ Arg arg;
+
+ XtSetArg(arg, XtNalarm, !w->dclock.alarm);
+- XtSetValues(w, &arg, 1);
++ XtSetValues((Widget) w, &arg, 1);
+ }
+
+ static void
+@@ -1124,20 +1132,24 @@
+ int digit = w->dclock.alarm_time[i>1?i+1:i] - '0';
+ int mod;
+ switch (i) {
+- when 0:
++ case 0:
+ if (Alarm.hrs > 13 && digit == 1)
+ digit++;
+ mod = 3;
+ before.tm_hour = -1;
+- when 1 :
++ break;
++ case 1 :
+ mod = (Alarm.hrs < 20)? 10 : 4;
+ before.tm_hour = -1;
+- when 2:
++ break;
++ case 2:
+ mod = 6;
+ before.tm_min = -1;
+- when 3 :
++ break;
++ case 3 :
+ mod = 10;
+ before.tm_min = -1;
++ break;
+ }
+ if (event->button == 1)
+ digit = (digit + 1) % mod;
diff --git a/time/dclock/patches/patch-ac b/time/dclock/patches/patch-ac
new file mode 100644
index 00000000000..cb107c7c4b7
--- /dev/null
+++ b/time/dclock/patches/patch-ac
@@ -0,0 +1,19 @@
+$NetBSD: patch-ac,v 1.1.1.1 2000/12/17 23:32:17 wiz Exp $
+
+As pointed out by Robert Elz, the resource name is wrong, and despite
+the concerns expressed by Robert that "military time" is an
+incorrectly-used term, it's outwith the scope of pkgsrc to modify
+arguments to the program such as -m to comply. Modify the
+documentation to show the correct resource name.
+
+--- dclock.man 1999/10/20 10:52:06 1.1
++++ dclock.man 1999/10/20 10:52:33
+@@ -168,7 +168,7 @@
+ .B font (\fPclass\fB Font)
+ Specifies the font to be used for the date.
+ .TP 8
+-.B miltime (\fPclass\fB Boolean)
++.B militaryTime (\fPclass\fB Boolean)
+ Specifies whether the military (24hr) time format should be used.
+ .TP 8
+ .B reverseVideo (\fPclass\fB ReverseVideo)
diff --git a/time/dclock/pkg/COMMENT b/time/dclock/pkg/COMMENT
new file mode 100644
index 00000000000..8b64b1bf5ee
--- /dev/null
+++ b/time/dclock/pkg/COMMENT
@@ -0,0 +1 @@
+Digital clock for X
diff --git a/time/dclock/pkg/DESCR b/time/dclock/pkg/DESCR
new file mode 100644
index 00000000000..483090076b4
--- /dev/null
+++ b/time/dclock/pkg/DESCR
@@ -0,0 +1,2 @@
+Dclock is a digital clock for X. It has support for one alarm. Other than
+that, it's a pretty bare-bones clock.
diff --git a/time/dclock/pkg/PLIST b/time/dclock/pkg/PLIST
new file mode 100644
index 00000000000..24ea25fb7e0
--- /dev/null
+++ b/time/dclock/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/17 23:32:17 wiz Exp $
+bin/dclock
+man/man1/dclock.1.gz
diff --git a/time/emiclock/Makefile b/time/emiclock/Makefile
new file mode 100644
index 00000000000..69fc1b2875f
--- /dev/null
+++ b/time/emiclock/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/17 23:32:17 wiz Exp $
+#
+
+DISTNAME= emiclock-2.0.2
+CATEGORIES= x11 time
+MASTER_SITES= ftp://ftp.noge.com/pub/EmiClock/X11/
+
+MAINTAINER= minoura@netbsd.org
+
+USE_X11BASE= yes
+USE_IMAKE= yes
+USE_XAW= yes
+
+.include "../../mk/bsd.prefs.mk"
+
+.if defined(XAW_TYPE) && (${XAW_TYPE} == "3d" || ${XAW_TYPE} == "xpm")
+post-patch:
+ ${ECHO} "#define USE_XAW3D" > ${WRKSRC}/xawconfig.h
+.else
+post-patch:
+ ${ECHO} "#undef USE_XAW3D" > ${WRKSRC}/xawconfig.h
+.endif
+
+post-install:
+ ${MKDIR} ${PREFIX}/lib/X11/ja_JP.eucJP/app-defaults
+ ${INSTALL_DATA} ${WRKSRC}/resources/R6/EUC/EmiClock.ad \
+ ${PREFIX}/lib/X11/ja_JP.eucJP/app-defaults/EmiClock
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/emiclock/files/md5 b/time/emiclock/files/md5
new file mode 100644
index 00000000000..b9d27641c8b
--- /dev/null
+++ b/time/emiclock/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/17 23:32:17 wiz Exp $
+
+MD5 (emiclock-2.0.2.tar.gz) = 8815b24b928afe4601b8d6ff4c8fc9af
diff --git a/time/emiclock/files/patch-sum b/time/emiclock/files/patch-sum
new file mode 100644
index 00000000000..56334f43eaa
--- /dev/null
+++ b/time/emiclock/files/patch-sum
@@ -0,0 +1,7 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/12/17 23:32:17 wiz Exp $
+
+MD5 (patch-aa) = 302715f78ebff837c6bd218d53844ef2
+MD5 (patch-ab) = eedb71b88afd0febd167b163605af3c3
+MD5 (patch-ac) = dbccf2f3a23b57cd96b05fd2773a0d5d
+MD5 (patch-ad) = 1c05c23f1ef6c4dcd4bb63669c51712d
+MD5 (patch-ae) = c8ca5c29838bb408cb36235e67091262
diff --git a/time/emiclock/patches/patch-aa b/time/emiclock/patches/patch-aa
new file mode 100644
index 00000000000..af715b8beba
--- /dev/null
+++ b/time/emiclock/patches/patch-aa
@@ -0,0 +1,47 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/12/17 23:32:17 wiz Exp $
+
+--- include/sound.h.orig Sat Jan 11 12:12:55 1997
++++ include/sound.h Sun May 23 10:48:03 1999
+@@ -237,6 +237,42 @@
+
+ #endif /* FreeBSD */
+
++/*
++ * NetBSD
++ */
++
++#if defined(__NetBSD__) && defined(USE_SOUND)
++
++/* NetBSD with MB6258V */
++
++#include <errno.h>
++#include <unistd.h>
++#include <sys/ioctl.h>
++#include <sys/types.h>
++#include <sys/file.h>
++#include <sys/stat.h>
++#include <sys/audioio.h>
++#include <machine/bswap.h>
++
++#define AUDIO_DEVICE "/dev/audio"
++#define AUDIO_CTLDEVICE "/dev/audioctl"
++#define AUDIOMAGICNUMBER (0x2e736e64) /* ".snd" */
++#ifndef AUDIO_ENCODING_LINEAR
++#define AUDIO_ENCODING_LINEAR (3) /* Linear PCM encoding */
++#endif
++
++#undef O_RDWR
++#define O_RDWR O_WRONLY /* audio $B%G%P%$%9$OF1;~%*!<%W%s$G$-$J$$!)(B */
++
++struct SoundCacheBufferTag {
++ char *soundCacheBuffer;
++ int soundLength;
++ audio_info_t soundBParam;
++};
++
++#define SoundCacheBuffer struct SoundCacheBufferTag
++
++#endif /* NetBSD */
+
+ #else /* USE_NETAUDIO */
+
diff --git a/time/emiclock/patches/patch-ab b/time/emiclock/patches/patch-ab
new file mode 100644
index 00000000000..1e06020a546
--- /dev/null
+++ b/time/emiclock/patches/patch-ab
@@ -0,0 +1,303 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/12/17 23:32:18 wiz Exp $
+
+--- sys/NetBSD/audio.c.orig Sun May 23 10:29:13 1999
++++ sys/NetBSD/audio.c Sun May 23 10:55:39 1999
+@@ -0,0 +1,298 @@
++/*
++ * NetBSD $B%5%&%s%I=hM}(B
++ */
++
++/*
++ * Copyright (c) 1994 Kazuhiko Ishii.
++ * Copyright (c) 1995 Masanobu Saitoh.
++ *
++ * $BK\%=%U%H%&%'%"$N%=!<%9$d%P%$%J%j$r:FG[I[$9$k>l9g$O!"<!$N>r7o$r=e<i$7$F(B
++ * $B2<$5$$!#(B
++ *
++ * 1. $BK\%=%U%H%&%'%"$rF~<j$7$?J}$K$O!"(BX11$BHG(B Emi Clock $B$N;HMQ8"$H!"Bh;0<T(B
++ * $B$X$N:FG[I[8"$,G'$a$i$l$^$9!#$?$@$7!":FG[I[$K4X$7$F$O!"F~<j;~$N%*%j(B
++ * $B%8%J%k$N$^$^2~JQ$;$:$K9T$&$3$H$,>r7o$G$9!#(B
++ * 2. $BK\%=%U%H%&%'%"$N0lIt$^$?$OA4It$rCx:n8"<T$KL5CG$G2~JQ$7$FG[I[$9$k$3(B
++ * $B$H$O$G$-$^$;$s!#(B
++ * 3. $BK\%=%U%H%&%'%"$N0lIt$^$?$OA4It$rCx:n8"<T$KL5CG$GFs<!MxMQ$9$k$3$H$O(B
++ * $B$G$-$^$;$s!#(B
++ * 4. $BK\%=%U%H%&%'%"$r%7%9%F%`$K%P%s%I%k$7$?$j!"%7%9%F%`$NDI2C%Q%C%1!<%8(B
++ * $B$H$7$FBh;0<T$K:FG[I[$7$?$j$9$k>l9g$O!";vA0$KCx:n8"<T$K5v2D$,I,MW$G(B
++ * $B$9!#(B
++ * 5. $BK\%=%U%H%&%'%"$r>&MQ$K;HMQ$9$k>l9g(B($B6bA,E*Mx1W$rF@$k>l9g(B)$B$O!";vA0$K(B
++ * $BCx:n8"<T$K5v2D$,I,MW$G$9!#$3$N>l9g!"4pK\E*$KM-=~$H$J$j$^$9!#(B
++ * 6. $BK\%=%U%H%&%'%"$rMxMQ$9$k$3$H$K$h$C$FH/@8$7$?$$$+$J$kB;32$b!"Cx:n8"(B
++ * $B<T$OIi$o$J$$$b$N$H$7$^$9!#$3$l$K9g0U$G$-$J$$>l9g$O!";HMQ8"$,$J$$$b(B
++ * $B$N$H$7$^$9!#(B
++ * 7. $B!H(BEmi Clock$B!I$N>&I8$*$h$SK\%=%U%H%&%'%"$N2hA|$d%G%6%$%s$K4X$9$kCx:n(B
++ * $B8"$O!"(BMotosoft $B$3$H!HK\(B $B=SLi!I;a$,M-$7$^$9!#(B
++ * 8. $B!H(BEmi Clock$B!I$N>&I8$*$h$S2hA|$d%G%6%$%s$O!"(BX11$BHG(B Emi Clock $B3+H/$N$?(B
++ * $B$a!"(BMotosoft $B$h$j!H8E>l(B $B@59T!I$X8D?ME*$K%i%$%;%s%96!M?$5$l$F$^$9!#(B
++ * $BBh;0<T$XFs<!%i%$%;%s%96!M?$9$k$3$H$OG'$a$i$l$F$*$j$^$;$s!#(B
++ * 9. Motosoft $B$H8E>l$KL5CG$G!"K\%=%U%H%&%'%"$N2hA|%G!<%?$rFs<!MxMQ$9$k$3(B
++ * $B$H$r6X;_$7$^$9!#(B
++ * 10. $B$3$3$K5-=R$7$?0J30$N8"Mx$K$D$$$F$O!"F|K\9q$NCx:n8"K!$K$h$k$b$N$H$7(B
++ * $B$^$9!#(B
++ */
++
++
++/* $BDj?t(B */
++#define HAS_SOUND_CODE /* $B%5%&%s%I4X78$N%3!<%I$OM-8z!*(B */
++
++/* RCS ID */
++rcsId(audioId, "$Id: patch-ab,v 1.1.1.1 2000/12/17 23:32:18 wiz Exp $")
++
++static int S_AuFileHeader();
++static void S_PlayInterval();
++
++static int AudioDevice;
++static audio_info_t AudioSaveConfig;
++static int SoundLeft;
++static int SoundPlayed;
++static int SoundTimeBytes;
++static char *SoundBufPtr;
++static char *SoundTmpBuffer = NULL;
++static struct timeval SoundStart;
++
++/*
++ * $B%5%&%s%I4D6-$N=i4|2=(B
++ */
++static void
++S_SoundEnvInit()
++{
++ /* $B2?$b$7$J$$(B */
++}
++
++
++/*
++ * $B%5%&%s%I%G%P%$%9$NB8:_H=Dj(B
++ */
++static Boolean
++S_IsSoundAvailable()
++{
++ struct stat st;
++
++ /* $B%*!<%G%#%*#I!?#F$N%A%'%C%/(B */
++ if (stat(AUDIO_DEVICE, &st) < 0)
++ return False;
++ if (!S_ISCHR(st.st_mode))
++ return False;
++
++ return True;
++}
++
++
++/*
++ * $B%5%&%s%I:F@8(B
++ */
++static int
++S_PlaySound(filename)
++char *filename;
++{
++ SoundCacheBuffer localCache;
++ int ret;
++
++ if ((ret = S_CacheSound(filename, &localCache)) != SOUND_NO_ERROR)
++ return ret;
++ SoundTmpBuffer = localCache.soundCacheBuffer;
++ if ((ret = S_PlayCacheSound(&localCache)) != SOUND_NO_ERROR) {
++ S_FreeCacheSound(&localCache);
++ return ret;
++ }
++ return SOUND_NO_ERROR;
++}
++
++
++/*
++ * $B%5%&%s%I$N%-%c%C%7%e2=2DG=!?IT2DG=H=Dj(B
++ */
++static Boolean
++S_IsSoundCacheAvailable()
++{
++ return True;
++}
++
++
++/*
++ * $B%5%&%s%I$N%-%c%C%7%e2=(B
++ */
++static int
++S_CacheSound(filename, cacheBufferPtr)
++char *filename;
++SoundCacheBuffer *cacheBufferPtr;
++{
++ int soundFile;
++
++ if ((soundFile = open(filename, O_RDONLY)) < 0)
++ return SOUND_OPEN_ERROR;
++ AUDIO_INITINFO(&(cacheBufferPtr->soundBParam));
++ if ((cacheBufferPtr->soundLength = S_AuFileHeader(soundFile,
++ &(cacheBufferPtr->soundBParam))) < 0) {
++ close(soundFile);
++ return SOUND_FILE_INVALID;
++ }
++ cacheBufferPtr->soundCacheBuffer =
++ (char *)XtMalloc(cacheBufferPtr->soundLength);
++ read(soundFile, cacheBufferPtr->soundCacheBuffer,
++ cacheBufferPtr->soundLength);
++ close(soundFile);
++ return SOUND_NO_ERROR;
++}
++
++
++/*
++ * $B%-%c%C%7%e2=$5$l$?%5%&%s%I$N:F@8(B
++ */
++static int
++S_PlayCacheSound(cacheBufferPtr)
++SoundCacheBuffer *cacheBufferPtr;
++{
++ int tmpfd;
++ if ((tmpfd = open(AUDIO_DEVICE, O_WRONLY)) < 0) {
++ if (errno == EBUSY)
++ return SOUND_DEVICE_BUSY;
++ return SOUND_DEVICE_ERROR;
++ }
++ AudioDevice = tmpfd;
++ ioctl(AudioDevice, AUDIO_GETINFO, &AudioSaveConfig);
++ /* $B%*!<%G%#%*%U%!%$%k$K9g$o$;$F%G%P%$%9$r%;%C%H$9$k(B
++ $B%G%P%$%9L$%5%]!<%H$N7A<0$N%*!<%G%#%*%U%!%$%k$O%(%i!<(B */
++ if (ioctl(AudioDevice, AUDIO_SETINFO,
++ &(cacheBufferPtr->soundBParam)) < 0) {
++ close(AudioDevice);
++ return SOUND_DEVICE_ERROR;
++ }
++ /* $B%*!<%G%#%*%G%P%$%9$r%N%s%V%m%C%-%s%0%b!<%I$K@_Dj(B */
++ fcntl(AudioDevice, F_SETFL, fcntl(AudioDevice, F_GETFL, 0) | O_NDELAY);
++ SoundBufPtr = cacheBufferPtr->soundCacheBuffer;
++ SoundLeft = cacheBufferPtr->soundLength;
++ SoundPlayed = 0;
++ SoundTimeBytes = (cacheBufferPtr->soundBParam.play.precision / 8) *
++ cacheBufferPtr->soundBParam.play.channels *
++ cacheBufferPtr->soundBParam.play.sample_rate;
++ signal(SIGALRM, S_PlayInterval);
++ gettimeofday(&SoundStart, NULL);
++ S_PlayInterval();
++ return SOUND_NO_ERROR;
++}
++
++
++/*
++ * $B%-%c%C%7%e2=$5$l$?%5%&%s%I$N3+J|(B
++ */
++static void
++S_FreeCacheSound(cacheBufferPtr)
++SoundCacheBuffer *cacheBufferPtr;
++{
++ XtFree(cacheBufferPtr->soundCacheBuffer);
++}
++
++
++/*
++ * $B%5%&%s%I4D6-$N8e;OKv(B
++ */
++static void
++S_SoundEnvDispose()
++{
++ /* $B2?$b$7$J$$(B */
++}
++
++/*
++ * SIGALRM$B$G8F$P$l$k4X?t(B
++ */
++static void
++S_PlayInterval()
++{
++ int nbytes, timer;
++ struct itimerval t;
++ struct timeval now;
++
++ if (SoundLeft > 0) {
++ if ((nbytes = write(AudioDevice, SoundBufPtr, SoundLeft)) > 0) {
++ SoundPlayed += nbytes;
++ SoundLeft -= nbytes;
++ SoundBufPtr += nbytes;
++ timer = ((double)SoundPlayed / (double)SoundTimeBytes)
++ * 1000000;
++ gettimeofday(&now, NULL);
++ timer -= (now.tv_sec - SoundStart.tv_sec) * 1000000
++ + now.tv_usec - SoundStart.tv_usec;
++ if (timer <= 0)
++ timer = 1;
++ } else {
++ timer = 1;
++ if (nbytes < 0 && errno != EBUSY)
++ SoundLeft = 0;
++ }
++ t.it_interval.tv_sec = 0;
++ t.it_interval.tv_usec = 0;
++ t.it_value.tv_sec = timer / 1000000;
++ t.it_value.tv_usec = timer % 1000000;
++ setitimer(ITIMER_REAL, &t, NULL);
++ } else {
++ if (close(AudioDevice) == -1)
++ perror("nazo\n");
++ if (SoundTmpBuffer != NULL) {
++ XtFree(SoundTmpBuffer);
++ SoundTmpBuffer = NULL;
++ }
++ signal(SIGALRM, SIG_IGN);
++ }
++}
++
++#if BYTE_ORDER == LITTLE_ENDIAN
++# define BSWAP32(x) x = bswap32(x)
++#endif
++#if BYTE_ORDER == BIG_ENDIAN
++# define BSWAP32(x)
++#endif
++#if BYTE_ORDER == PDP_ENDIAN
++# error lose.
++#endif
++
++/*
++ * .au$B%U%!%$%k$N%X%C%@>pJs$rJV$94X?t(B
++ * $B%U%!%$%k0LCV$O%G!<%?It$N@hF,$K%;%C%H$5$l$k!#(B
++ */
++static int
++S_AuFileHeader(file, audio)
++int file;
++audio_info_t *audio;
++{
++ static int formattable[] = {
++ 0, 0, /* Not defined */
++ AUDIO_ENCODING_ULAW, 8, /* 8-bit ISDN u-law */
++ AUDIO_ENCODING_LINEAR, 8, /* 8-bit linear PCM */
++ AUDIO_ENCODING_LINEAR, 16, /* 16-bit linear PCM */
++ AUDIO_ENCODING_LINEAR, 24, /* 24-bit linear PCM */
++ AUDIO_ENCODING_LINEAR, 32 /* 32-bit linear PCM */
++ };
++
++ long magic, pos, size, format, rate, chan;
++ struct stat st;
++
++ read(file, &magic, sizeof(long));
++ BSWAP32(magic);
++ if (magic != AUDIOMAGICNUMBER)
++ return -1;
++ read(file, &pos, sizeof(long));
++ BSWAP32(pos);
++ read(file, &size, sizeof(long));
++ BSWAP32(size);
++ read(file, &format, sizeof(long));
++ BSWAP32(format);
++ read(file, &rate, sizeof(long));
++ BSWAP32(rate);
++ read(file, &chan, sizeof(long));
++ BSWAP32(chan);
++ if (format < 1 || format > 5)
++ return -1;
++ format = format * 2;
++ audio->play.encoding = formattable[format];
++ audio->play.precision = formattable[format + 1];
++ audio->play.sample_rate = rate;
++ audio->play.channels = chan;
++ lseek(file, pos, SEEK_SET);
++ fstat(file, &st);
++ return st.st_size - pos;
++}
diff --git a/time/emiclock/patches/patch-ac b/time/emiclock/patches/patch-ac
new file mode 100644
index 00000000000..98eea0c4ec5
--- /dev/null
+++ b/time/emiclock/patches/patch-ac
@@ -0,0 +1,22 @@
+$NetBSD: patch-ac,v 1.1.1.1 2000/12/17 23:32:18 wiz Exp $
+
+--- config.h.orig Sat Jan 11 11:35:43 1997
++++ config.h Sun May 23 10:17:24 1999
+@@ -43,7 +43,7 @@
+ * $B#G#U#I$N@_Dj(B
+ */
+
+-#undef USE_XAW3D /* Xaw3d $B$r;H$&!)(B */
++#include "xawconfig.h"
+ #undef USE_XAWI18N /* X11R5 $B$N(B Xaw I18N $B$r;H$&!)(B */
+
+
+@@ -51,7 +51,7 @@
+ * $B%5%&%s%I4X78$N@_Dj(B
+ */
+
+-#undef USE_SOUND /* $B%5%&%s%I$r;H$&!)(B */
++#define USE_SOUND /* $B%5%&%s%I$r;H$&!)(B */
+
+ /* #define EmiClockLib /usr/local/lib/X11/EmiClock */
+ /* $(LIBDIR)/EmiClock $B0J30$N>l=j$K%5%&%s%I%U%!%$%k$r%$%s%9%H!<%k(B */
diff --git a/time/emiclock/patches/patch-ad b/time/emiclock/patches/patch-ad
new file mode 100644
index 00000000000..c35034d96d6
--- /dev/null
+++ b/time/emiclock/patches/patch-ad
@@ -0,0 +1,16 @@
+$NetBSD: patch-ad,v 1.1.1.1 2000/12/17 23:32:18 wiz Exp $
+
+--- Imakefile.orig Sat Jan 11 11:35:42 1997
++++ Imakefile Sun May 23 10:21:04 1999
+@@ -108,6 +108,11 @@
+ #define StartupSound myu.au
+ #endif /* i386BsdArchitecture && (i386FreeBsd || FreeBSDArchitecture) */
+
++/* NetBSD */
++#if defined(NetBSDArchitecture)
++#define StartupSound myu.au
++#endif /* NetBSDArchitecture */
++
+ #else /* USE_NETAUDIO */
+
+ /* netaudio (NCDaudio) */
diff --git a/time/emiclock/patches/patch-ae b/time/emiclock/patches/patch-ae
new file mode 100644
index 00000000000..14fb9a075ac
--- /dev/null
+++ b/time/emiclock/patches/patch-ae
@@ -0,0 +1,16 @@
+$NetBSD: patch-ae,v 1.1.1.1 2000/12/17 23:32:18 wiz Exp $
+
+--- sound.c.orig Sat Jan 11 11:35:52 1997
++++ sound.c Sun May 23 10:24:16 1999
+@@ -108,6 +108,11 @@
+ #include "sys/FreeBSD/audio.c"
+ #endif /* FreeBSD */
+
++/* NetBSD */
++#ifdef __NetBSD__
++#include "sys/NetBSD/audio.c"
++#endif /* NetBSD */
++
+ #else /* USE_NETAUDIO */
+
+ /* netaudio (NCDaudio) */
diff --git a/time/emiclock/pkg/COMMENT b/time/emiclock/pkg/COMMENT
new file mode 100644
index 00000000000..1c501469b0f
--- /dev/null
+++ b/time/emiclock/pkg/COMMENT
@@ -0,0 +1 @@
+Analog clock with image in the middle
diff --git a/time/emiclock/pkg/DESCR b/time/emiclock/pkg/DESCR
new file mode 100644
index 00000000000..ab3b4da9a20
--- /dev/null
+++ b/time/emiclock/pkg/DESCR
@@ -0,0 +1 @@
+Shaped, analog clock with alarm functionality
diff --git a/time/emiclock/pkg/PLIST b/time/emiclock/pkg/PLIST
new file mode 100644
index 00000000000..8d7606147df
--- /dev/null
+++ b/time/emiclock/pkg/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/17 23:32:18 wiz Exp $
+bin/emiclock
+lib/X11/EmiClock/myu.au
+lib/X11/app-defaults/EmiClock
+lib/X11/ja_JP.eucJP/app-defaults/EmiClock
+man/cat1/emiclock.0
+@dirrm lib/X11/EmiClock
diff --git a/time/glclock/Makefile b/time/glclock/Makefile
new file mode 100644
index 00000000000..375e188ac27
--- /dev/null
+++ b/time/glclock/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/17 23:32:18 wiz Exp $
+#
+
+DISTNAME= glclock-4.6
+CATEGORIES= x11 graphics time
+MASTER_SITES= http://www.daionet.gr.jp/~masa/archives/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.daionet.gr.jp/~masa/glclock
+
+USE_X11BASE= yes
+USE_MESA= yes
+MAKEFILE= makefile
+ALL_TARGET= glclock
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == NetBSD && ${MACHINE_ARCH} == sparc
+CFLAGS=
+.endif
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/glclock ${PREFIX}/bin
+#notyet: lookup of .ppm files
+# for i in benchclock crystalclock marbleclock metalclock \
+# mwclock woodclock;do \
+# ${INSTALL_SCRIPT} ${WRKSRC}/$$i ${PREFIX}/bin; done
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/glclock/files/md5 b/time/glclock/files/md5
new file mode 100644
index 00000000000..78a32ddca1c
--- /dev/null
+++ b/time/glclock/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/17 23:32:18 wiz Exp $
+
+MD5 (glclock-4.6.tar.gz) = e32f47a2ef7454f19b3b534ab73de9b5
diff --git a/time/glclock/files/patch-sum b/time/glclock/files/patch-sum
new file mode 100644
index 00000000000..9e9f438ad30
--- /dev/null
+++ b/time/glclock/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/12/17 23:32:18 wiz Exp $
+
+MD5 (patch-aa) = 4f26efbe595cb15222e366c5354d4bc0
diff --git a/time/glclock/patches/patch-aa b/time/glclock/patches/patch-aa
new file mode 100644
index 00000000000..0f81a195d70
--- /dev/null
+++ b/time/glclock/patches/patch-aa
@@ -0,0 +1,26 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/12/17 23:32:19 wiz Exp $
+
+--- makefile.orig Thu Feb 4 07:13:25 1999
++++ makefile Tue May 30 09:10:18 2000
+@@ -5,17 +5,16 @@
+
+ CC = g++
+ LN = g++
+- OPT = -O2
++ OPT =
+
+- INCLUDE_PATH = -I/usr/local/X11R6/include
+- LIB_PATH = -L/usr/local/X11R6/lib
++ INCLUDE_PATH = -I${X11BASE}/include
++ LIB_PATH = -L${X11BASE}/lib -Wl,-R${X11BASE}/lib
+
+- LIBS = -lglut -lGLU -lGL -lXext -lXmu -lX11 -lm
++ LIBS = -lglut -lGLU -lGL -lXext -lXmu -lXt -lSM -lICE -lXi -lX11 -lm
+
+ # for Mesa
+ # LIBS = -lglut -lMesatk -lMesaGLU -lMesaGL -lXi -lXext -lXmu -lX11 -lm
+
+- CFLAGS = -c
+ LFLAGS =
+
+ COMPILE = $(CC) $(CFLAGS) $(OPT) $(INCLUDE_PATH)
diff --git a/time/glclock/pkg/COMMENT b/time/glclock/pkg/COMMENT
new file mode 100644
index 00000000000..2a8cb15536f
--- /dev/null
+++ b/time/glclock/pkg/COMMENT
@@ -0,0 +1 @@
+OpenGL-based pocket watch
diff --git a/time/glclock/pkg/DESCR b/time/glclock/pkg/DESCR
new file mode 100644
index 00000000000..83d2203b3ee
--- /dev/null
+++ b/time/glclock/pkg/DESCR
@@ -0,0 +1,2 @@
+OpenGL pocket watch by Masaki Kawase.
+The look is a matter of taste, but it's a good graphics benchmark in any case.
diff --git a/time/glclock/pkg/PLIST b/time/glclock/pkg/PLIST
new file mode 100644
index 00000000000..27dbfb327dd
--- /dev/null
+++ b/time/glclock/pkg/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/17 23:32:19 wiz Exp $
+bin/glclock
diff --git a/time/ical/Makefile b/time/ical/Makefile
new file mode 100644
index 00000000000..18a95582878
--- /dev/null
+++ b/time/ical/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/17 23:32:10 wiz Exp $
+# $FreeBSD Id: Makefile,v 1.15 1998/02/07 22:59:16 hoek Exp
+#
+
+DISTNAME= ical-2.2
+CATEGORIES= time
+MASTER_SITES= http://www.research.digital.com/SRC/personal/Sanjay_Ghemawat/ical/icalbins/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.research.digital.com/SRC/personal/Sanjay_Ghemawat/ical/
+
+DEPENDS+= tk>=8.3.2:../../x11/tk
+
+USE_X11= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --prefix=${PREFIX} \
+ --with-tclconfig=${PREFIX}/lib \
+ --with-tclsh=${PREFIX}/bin/tclsh \
+ --with-tkconfig=${PREFIX}/lib
+
+post-install:
+ @strip ${PREFIX}/bin/${DISTNAME}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/ical/files/md5 b/time/ical/files/md5
new file mode 100644
index 00000000000..6b812ab47ae
--- /dev/null
+++ b/time/ical/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/17 23:32:10 wiz Exp $
+
+MD5 (ical-2.2.tar.gz) = 6bb0d0ce76bb31570c2c99d8da70a58b
diff --git a/time/ical/files/patch-sum b/time/ical/files/patch-sum
new file mode 100644
index 00000000000..76b5804aa9b
--- /dev/null
+++ b/time/ical/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/12/17 23:32:10 wiz Exp $
+
+MD5 (patch-aa) = 7c1c8de456880b4183516cf9b293f2bb
+MD5 (patch-ab) = 306ab644d25e41826457c481f4b6d1d8
diff --git a/time/ical/patches/patch-aa b/time/ical/patches/patch-aa
new file mode 100644
index 00000000000..1a03b0be527
--- /dev/null
+++ b/time/ical/patches/patch-aa
@@ -0,0 +1,20 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/12/17 23:32:10 wiz Exp $
+--- Makefile.in.orig Sat Sep 12 17:57:48 1998
++++ Makefile.in Sat Sep 12 17:59:28 1998
+@@ -76,13 +76,13 @@
+ all: $(CONFIGURED) ical
+
+ ical: $(LIB3) $(LIB2) $(LIB1) $(OBJS) main.o
+- $(CXXLINKER) -o $@ $(OBJS) main.o $(LIBS)
++ $(CXXLINKER) -o $@ $(OBJS) main.o -Wl,-R${LOCALBASE}/lib -Wl,-R${X11BASE}/lib $(LIBS)
+
+ ical-bundle: $(LIB3) $(LIB2) $(LIB1) $(OBJS) mbundle.o
+- $(CXXLINKER) -o $@ $(OBJS) mbundle.o $(BLIBS)
++ $(CXXLINKER) -o $@ $(OBJS) mbundle.o -Wl,-R${LOCALBASE}/lib -Wl,-R${X11BASE}/lib $(BLIBS)
+
+ ical-tiny: $(LIB3) $(LIB2) $(LIB1) $(OBJS) mbundle.o
+- $(CXXLINKER) -o $@ $(OBJS) mbundle.o $(TINY_BLIBS)
++ $(CXXLINKER) -o $@ $(OBJS) mbundle.o -Wl,-R${LOCALBASE}/lib -Wl,-R${X11BASE}/lib $(TINY_BLIBS)
+
+ $(LIB1): FRC
+ @echo making in calendar
diff --git a/time/ical/patches/patch-ab b/time/ical/patches/patch-ab
new file mode 100644
index 00000000000..946a7b7c33a
--- /dev/null
+++ b/time/ical/patches/patch-ab
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/12/17 23:32:10 wiz Exp $
+
+--- configure.orig Wed Oct 22 01:52:57 1997
++++ configure Tue Apr 6 01:03:05 1999
+@@ -1089,8 +1089,8 @@
+
+ #### Check that the library files exist
+ echo $ac_n "checking for installed Tcl/Tk library files""... $ac_c" 1>&6
+-lib1="${TCL_EXEC_PREFIX}/lib/${TCL_LIB_FILE}"
+-lib2="${TK_EXEC_PREFIX}/lib/${TK_LIB_FILE}"
++eval lib1="${TCL_EXEC_PREFIX}/lib/${TCL_LIB_FILE}"
++eval lib2="${TK_EXEC_PREFIX}/lib/${TK_LIB_FILE}"
+ for f in "$lib1" "$lib2"; do
+ if test ! -f "$f"; then
+ echo "$ac_t""$f not found" 1>&6
diff --git a/time/ical/pkg/COMMENT b/time/ical/pkg/COMMENT
new file mode 100644
index 00000000000..f3c7146981d
--- /dev/null
+++ b/time/ical/pkg/COMMENT
@@ -0,0 +1 @@
+Calendar application
diff --git a/time/ical/pkg/DESCR b/time/ical/pkg/DESCR
new file mode 100644
index 00000000000..411843ccb6e
--- /dev/null
+++ b/time/ical/pkg/DESCR
@@ -0,0 +1,17 @@
+Copyright (c) 1993-1997 by Sanjay Ghemawat
+
+ * Ical is an X based calendar program
+ * Calendar items can be created edited and deleted easily.
+ * Items can be made to repeat in various ways.
+ * Ical will post reminders for upcoming appointments.
+ * Ical can print and list item occurrences.
+ * An ical calendar can include other calendars.
+ * Ical calendars can be shared by different users.
+
+Copyrights
+==========
+
+Most of the files are covered by the copyright in the file COPYRIGHT.
+
+The configure script is covered by the GNU Public License (see
+COPYRIGHT.GNU).
diff --git a/time/ical/pkg/PLIST b/time/ical/pkg/PLIST
new file mode 100644
index 00000000000..a3763adfc54
--- /dev/null
+++ b/time/ical/pkg/PLIST
@@ -0,0 +1,68 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/17 23:32:10 wiz Exp $
+bin/ical
+bin/${PKGNAME}
+lib/ical/v2.2/actions.tcl
+lib/ical/v2.2/alarm.tcl
+lib/ical/v2.2/apptlist.tcl
+lib/ical/v2.2/canvsup.tcl
+lib/ical/v2.2/contrib/README
+lib/ical/v2.2/contrib/ical.xbm
+lib/ical/v2.2/contrib/ical.xpm
+lib/ical/v2.2/contrib/ical2calendar
+lib/ical/v2.2/contrib/ical2html
+lib/ical/v2.2/contrib/ical2zsh
+lib/ical/v2.2/contrib/icaladd
+lib/ical/v2.2/contrib/icaladdlines
+lib/ical/v2.2/contrib/icalexpire
+lib/ical/v2.2/contrib/icalweekly
+lib/ical/v2.2/contrib/iconwindow.tcl
+lib/ical/v2.2/contrib/timeofday.tcl
+lib/ical/v2.2/contrib/weeknumber.tcl
+lib/ical/v2.2/dateeditor.tcl
+lib/ical/v2.2/dayview.tcl
+lib/ical/v2.2/dg_alarms.tcl
+lib/ical/v2.2/dg_item.tcl
+lib/ical/v2.2/dg_key.tcl
+lib/ical/v2.2/dg_monthr.tcl
+lib/ical/v2.2/dg_print.tcl
+lib/ical/v2.2/dg_range.tcl
+lib/ical/v2.2/dg_wdays.tcl
+lib/ical/v2.2/help.tcl
+lib/ical/v2.2/ical_text.tcl
+lib/ical/v2.2/ical_x.tcl
+lib/ical/v2.2/io.tcl
+lib/ical/v2.2/itemlist.tcl
+lib/ical/v2.2/itemwindow.tcl
+lib/ical/v2.2/link.tcl
+lib/ical/v2.2/listing.tcl
+lib/ical/v2.2/notelist.tcl
+lib/ical/v2.2/parse.tcl
+lib/ical/v2.2/pref.tcl
+lib/ical/v2.2/print.tcl
+lib/ical/v2.2/support.tcl
+lib/ical/v2.2/tclIndex
+lib/ical/v2.2/tcllib/canvas.tcl
+lib/ical/v2.2/tcllib/class.tcl
+lib/ical/v2.2/tcllib/dg_bug.tcl
+lib/ical/v2.2/tcllib/dg_error.tcl
+lib/ical/v2.2/tcllib/dg_file.tcl
+lib/ical/v2.2/tcllib/dg_num.tcl
+lib/ical/v2.2/tcllib/dg_string.tcl
+lib/ical/v2.2/tcllib/dg_yn.tcl
+lib/ical/v2.2/tcllib/dg_ync.tcl
+lib/ical/v2.2/tcllib/filesel.tcl
+lib/ical/v2.2/tcllib/hooks.tcl
+lib/ical/v2.2/tcllib/key.tcl
+lib/ical/v2.2/tcllib/label.tcl
+lib/ical/v2.2/tcllib/menus.tcl
+lib/ical/v2.2/tcllib/ruler.tcl
+lib/ical/v2.2/tcllib/support.tcl
+lib/ical/v2.2/tcllib/tclIndex
+lib/ical/v2.2/tcllib/textwin.tcl
+lib/ical/v2.2/timerange.tcl
+lib/ical/v2.2/trigger.tcl
+man/man1/ical.1.gz
+@dirrm lib/ical/v2.2/contrib
+@dirrm lib/ical/v2.2/tcllib
+@dirrm lib/ical/v2.2
+@dirrm lib/ical
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
diff --git a/time/pkg/COMMENT b/time/pkg/COMMENT
new file mode 100644
index 00000000000..9e0b20fa623
--- /dev/null
+++ b/time/pkg/COMMENT
@@ -0,0 +1 @@
+clocks, calendars, daily planners and other time related applications
diff --git a/time/plan/Makefile b/time/plan/Makefile
new file mode 100644
index 00000000000..b952b12ca64
--- /dev/null
+++ b/time/plan/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/17 23:32:22 wiz Exp $
+#
+
+DISTNAME= plan-1.8.4
+WRKSRC= ${WRKDIR}/${DISTNAME}/src
+CATEGORIES= x11 time
+MASTER_SITES= ftp://ftp.fu-berlin.de/unix/graphics/plan/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.in-berlin.de/User/bitrot/plan.html
+
+USE_MOTIF= YES
+
+ALL_TARGET= netbsd
+
+pre-install:
+ ${MKDIR} ${X11PREFIX}/libexec/plan ${X11PREFIX}/share/plan \
+ ${X11PREFIX}/share/plan/holiday
+ ${RM} -f ${WRKDIR}/${DISTNAME}/holiday/holiday_*.orig
+ ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/holiday/holiday_* ${X11PREFIX}/share/plan/holiday
+ for f in HISTORY README; do \
+ ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/$$f ${X11PREFIX}/share/plan; \
+ done
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/plan/files/md5 b/time/plan/files/md5
new file mode 100644
index 00000000000..4b33ae303f1
--- /dev/null
+++ b/time/plan/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/17 23:32:22 wiz Exp $
+
+MD5 (plan-1.8.4.tar.gz) = 85f793084fbb88c4bb128c1d835c6b30
diff --git a/time/plan/files/patch-sum b/time/plan/files/patch-sum
new file mode 100644
index 00000000000..afec9ae685d
--- /dev/null
+++ b/time/plan/files/patch-sum
@@ -0,0 +1,6 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/12/17 23:32:22 wiz Exp $
+
+MD5 (patch-aa) = 2e992555e855075ead0ea321b48653eb
+MD5 (patch-ab) = f640fe7c551a99ad468275a57d01edf2
+MD5 (patch-ac) = d94f971a26acbc734e6ef8ec09971567
+MD5 (patch-ad) = b85f28f4008b9146e47eaf3b7f0443b2
diff --git a/time/plan/patches/patch-aa b/time/plan/patches/patch-aa
new file mode 100644
index 00000000000..10c69ea5753
--- /dev/null
+++ b/time/plan/patches/patch-aa
@@ -0,0 +1,130 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/12/17 23:32:23 wiz Exp $
+
+--- Makefile.orig Mon Jul 17 22:07:03 2000
++++ Makefile
+@@ -8,19 +8,19 @@
+ # after "=", this is parsed and rewritten by the configure script.
+ #
+ # # user-callable executable (plan)
+-DIR=/usr/local/bin
++DIR=${PREFIX}/bin
+ # # auxiliary programs (pland, notifier, PS)
+-LIB=/usr/local/lib
++LIB=${PREFIX}/libexec/plan
+ # # help file (plan.help)
+-SBIN=/usr/local/lib
++SBIN=${LIB}
+ # # system programs (netplan)
+-HELP=/usr/local/lib
++HELP=${PREFIX}/share/plan
+ # # netplan expects netplan.dir/ here
+-NETPLANDIR=/usr/local/lib
++NETPLANDIR=${LIB}
+ # # unformatted nroff manpage (plan.[14])
+-MAN=/usr/local/man
++MAN=${PREFIX}/man/man
+ # # formatted manpage (plan.[14])
+-CATMAN=/usr/catman/local/cat
++CATMAN=${PREFIX}/man/cat
+ # # subdirectory in home dir, or empty
+ PLANRULE=
+ # # lockfile for plan, %d is uid
+@@ -34,12 +34,12 @@
+ # # standard Unix compiler generator
+ YACC=yacc
+ # # numerical user ID of <nobody> account
+-NOB_UID=60001
++NOB_UID=32767
+ # # default numerical group ID of <nobody>
+-NOB_GID=60001
++NOB_GID=39
+ # # used by plan to pre-process holiday files,
+ # # plan will check if this file really exists
+-CPP_PATH='/lib/cpp -P -I$(HELP)'
++CPP_PATH='/usr/bin/cpp -P -I$(HELP)'
+ # # by default, fork on startup? TRUE or FALSE
+ DOFORK=TRUE
+ # # switching to ISO8859-1
+@@ -55,7 +55,7 @@
+ # # do NOT define -O2 on DEC OSF/1 machines!
+ DEBUG=-O2
+ # # what to do without make arguments
+-DEFTARGET=help
++DEFTARGET=netbsd
+ #------------------------- end of configuration section ----------------------
+
+ OPT=$(DEBUG) $(PLANRULE) -DPLANLOCK=\"$(PLANLOCK)\" -DPLANDLOCK=\"$(PLANDLOCK)\"
+@@ -140,8 +140,7 @@
+ USL_C = -DNOKILL0 -I/usr/X/include
+ BSDI_C = -DBSD -DRABBITS -I/usr/X11/include -DFLOCK -DNOREGEX -Dbsdi
+ BSDIG_C = -DBSD -DRABBITS -I/usr/X11/include -DFLOCK -DNOREGEX -Dbsdi -ansi
+-NBSD_C = -ansi -I/usr/X11R6/include -DBSD -DRABBITS -DNOLOCK -DNOREGEX\
+- -DNO_MOTIF
++NBSD_C = ${CFLAGS} -ansi -I${PREFIX}/include -I${X11BASE}/include -DBSD -DRABBITS -DNOLOCK -DNOREGEX
+ FBSD_C = -ansi -I/usr/X11R6/include -DBSD -DNOLOCK -DNOREGEX -DRABBITS\
+ -DSTDLIBMALLOC
+ LINUX_C = -I/usr/X11R6/include -D_POSIX_SOURCE -DNOLOCK -DLINUX
+@@ -224,8 +223,8 @@
+ BSDI_L2 = -lc
+ BSDIG_L1= -L/usr/X11/lib -lXm -lXt -lX11
+ BSDIG_L2= -L/usr/X11/lib -lc
+-NBSD_L1 = -L/usr/X11R6/lib -lXm -lXt -lX11
+-NBSD_L2 = -L/usr/X11R6/lib -lc
++NBSD_L1 = -Wl,-rpath ${PREFIX}/lib -L${PREFIX}/lib -Wl,-rpath ${X11BASE}/lib -L${X11BASE}/lib -lXm -lXt -lX11
++NBSD_L2 = -Wl,-rpath ${PREFIX}/lib -L${PREFIX}/lib -Wl,-rpath ${X11BASE}/lib -L${X11BASE}/lib -lc
+ FBSD_L1 = -L/usr/X11R6/lib -lXm -lXt -lX11 -lXext -lSM -lICE -lXpm
+ FBSD_L2 = -L/usr/X11R6/lib -lc
+ LINUX_L1= -L/usr/X11R6/lib -L/usr/lib/X11R6/lib -lSM -lXm -lXt -lX11 -lXpm -lc -lXext -lSM -lICE -lX11
+@@ -420,7 +419,7 @@
+ env CF="$(BSDIG_C)" L1F="$(BSDIG_L1)" L2F="$(BSDIG_L2)" MYCC=gcc make all
+
+ netbsd:
+- env CF="$(NBSD_C)" L1F="$(NBSD_L1)" L2F="$(NBSD_L2)" MYCC=gcc $(MAKE) all
++ env CF="$(NBSD_C)" L1F="$(NBSD_L1)" L2F="$(NBSD_L2)" MYCC=${CC} $(MAKE) all
+
+ freebsd:
+ env CF="$(FBSD_C)" L1F="$(FBSD_L1)" L2F="$(FBSD_L2)" MYCC=${CC} make all
+@@ -569,34 +568,15 @@
+
+ #---------------------------------------------------------------
+ install:
+- -rm -f $(DESTDIR)$(DIR)/pland $(DESTDIR)$(DIR)/notifier $(DESTDIR)$(LIB)/netplan
+- mkdir -p $(DESTDIR)$(DIR)
+- cp plan $(DESTDIR)$(DIR)
+- mkdir -p $(DESTDIR)$(LIB)
+- cp pland notifier ../misc/plan_cal.ps ../language/* $(DESTDIR)$(LIB)
+- mkdir -p $(DESTDIR)$(SBIN)
+- cp netplan $(DESTDIR)$(SBIN)
+- -(test x'$(JAPAN)' != x && cp ../misc/plan_calSJ.ps $(DESTDIR)$(LIB)) || exit 0
+- mkdir -p $(DESTDIR)$(HELP)
+- cp ../language/plan.help $(DESTDIR)$(HELP)
+- -strip $(DESTDIR)$(DIR)/plan $(DESTDIR)$(LIB)/pland $(DESTDIR)$(LIB)/notifier $(DESTDIR)$(SBIN)/netplan
+- -chmod 755 $(DESTDIR)$(DIR)/plan $(DESTDIR)$(LIB)/pland $(DESTDIR)$(LIB)/notifier $(DESTDIR)$(LIB)/netplan
+- -chmod 644 $(DESTDIR)$(HELP)/plan.help $(DESTDIR)$(LIB)/plan_cal.ps $(DESTDIR)$(LIB)/plan.lang.*
+- -(test x'$(JAPAN)' != x && chmod 644 $(DESTDIR)$(LIB)/plan_calSJ.ps) || exit 0
+- mkdir -p $(DESTDIR)$(NETPLANDIR)/netplan.dir
+- -chmod 700 $(DESTDIR)$(NETPLANDIR)/netplan.dir || exit 0
+- -(test x'$(CATMAN)' != xNONE' -a -x "`which nroff`" && nroff -man ../misc/plan.1 >../misc/plan.1cat) || exit 0
+- -(test x'$(CATMAN)' != xNONE' -a -x "`which nroff`" && nroff -man ../misc/plan.4 >../misc/plan.4cat) || exit 0
+- -(test x'$(CATMAN)' != xNONE' -a -x "`which nroff`" && nroff -man ../misc/netplan.1 >../misc/netplan.1cat) || exit 0
+- -(test x'$(MAN)' != xNONE' -a -d $(DESTDIR)$(MAN)1 && cp ../misc/plan.1 $(DESTDIR)$(MAN)1/plan) || exit 0
+- -(test x'$(MAN)' != xNONE' -a -d $(DESTDIR)$(MAN)4 && cp ../misc/plan.4 $(DESTDIR)$(MAN)4/plan) || exit 0
+- -(test x'$(MAN)' != xNONE' -a -d $(DESTDIR)$(MAN)1 && cp ../misc/netplan.1 $(DESTDIR)$(MAN)1/netplan) || exit 0
+- -(test x'$(CATMAN)' != xNONE' -a -d $(DESTDIR)$(CATMAN)1 && cp ../misc/plan.1cat $(DESTDIR)$(CATMAN)1/plan) || exit 0
+- -(test x'$(CATMAN)' != xNONE' -a -d $(DESTDIR)$(CATMAN)4 && cp ../misc/plan.4cat $(DESTDIR)$(CATMAN)4/plan) || exit 0
+- -(test x'$(CATMAN)' != xNONE' -a -d $(DESTDIR)$(CATMAN)1 && cp ../misc/netplan.1cat $(DESTDIR)$(CATMAN)1/netplan) || exit 0
+- -(test -f ${HOME}/.holiday || cp ../holiday/holiday_$(HOLIDAY) ${HOME}/.holiday) || exit 0
+- -(test `uname` = IRIX -o `uname` = IRIX64 && mkdir $$HOME/.icons) || exit 0
+- -(test `uname` = IRIX -o `uname` = IRIX64 && cp ../misc/Plan.icon $$HOME/.icons/Plan.icon) || exit 0
++ ${BSD_INSTALL_PROGRAM} plan $(DIR)
++ ${BSD_INSTALL_PROGRAM} pland notifier netplan ${LIB}
++ ${BSD_INSTALL_DATA} ../misc/plan_cal.ps ${LIB}
++ ${BSD_INSTALL_DATA} ../language/plan.* $(HELP)
++ -mkdir -p $(NETPLANDIR)/netplan.dir
++ -chmod 700 $(NETPLANDIR)/netplan.dir
++ -(test -d $(MAN)1 && ${BSD_INSTALL_MAN} ../misc/plan.1 $(MAN)1/plan.1) || exit 0
++ -(test -d $(MAN)4 && ${BSD_INSTALL_MAN} ../misc/plan.4 $(MAN)4/plan.4) || exit 0
++ -(test -d $(MAN)1 && ${BSD_INSTALL_MAN} ../misc/netplan.1 $(MAN)1/netplan.1) || exit 0
+ @echo ""
+ @echo "use ../holiday/* as templates for your ~/.holiday file"
+
diff --git a/time/plan/patches/patch-ab b/time/plan/patches/patch-ab
new file mode 100644
index 00000000000..0fdeea69bec
--- /dev/null
+++ b/time/plan/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/12/17 23:32:23 wiz Exp $
+
+--- time.c.orig Mon Oct 11 21:11:36 1999
++++ time.c
+@@ -244,7 +244,7 @@
+ zone += 24;
+ zone *= 3600;
+ #else
+-#if defined(bsdi) || defined(SUN) || defined(SVR4) || defined(convex)
++#if defined(bsdi) || defined(SUN) || defined(SVR4) || defined(convex) || defined(__NetBSD__)
+ time_t now;
+ struct tm *tm;
+ tzset();
diff --git a/time/plan/patches/patch-ac b/time/plan/patches/patch-ac
new file mode 100644
index 00000000000..f9e39c05aa5
--- /dev/null
+++ b/time/plan/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2000/12/17 23:32:23 wiz Exp $
+
+--- ../holiday/holiday_austria.orig Tue Aug 22 10:59:07 2000
++++ ../holiday/holiday_austria
+@@ -14,7 +14,7 @@
+ small "Gründonnerstag" on easter minus 3 days
+ small "Karfreitag" on easter minus 2 days
+ small "Karsamstag" on easter minus 1 days
+-small "Ostern" weekend on easter length 2 days=20
++small "Ostern" weekend on easter length 2 days
+ small "Pfingsten" weekend on easter plus 49 days length 2 days
+ small "Christi Himmelfahrt" weekend on easter plus 39 days
+ small "Fronleichnam" weekend on easter plus 60 days
diff --git a/time/plan/patches/patch-ad b/time/plan/patches/patch-ad
new file mode 100644
index 00000000000..76571f2181d
--- /dev/null
+++ b/time/plan/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1.1.1 2000/12/17 23:32:23 wiz Exp $
+
+--- linuxjunk.h.orig Sat Nov 7 19:04:41 1998
++++ linuxjunk.h
+@@ -16,6 +16,8 @@
+ * kill a good project with poor planning.
+ */
+
++#include <sys/stat.h>
++
+ #ifdef S_ISDIR
+ #define IS_DIR(m) S_ISDIR(m)
+ #else
diff --git a/time/plan/pkg/COMMENT b/time/plan/pkg/COMMENT
new file mode 100644
index 00000000000..9b4f5e3a95b
--- /dev/null
+++ b/time/plan/pkg/COMMENT
@@ -0,0 +1 @@
+Schedule planner based on X/Motif
diff --git a/time/plan/pkg/DESCR b/time/plan/pkg/DESCR
new file mode 100644
index 00000000000..b4fca4e34c2
--- /dev/null
+++ b/time/plan/pkg/DESCR
@@ -0,0 +1,24 @@
+Plan is a schedule planner based on X/Motif. It displays a month calendar
+similar to xcal, but every day box is large enough to show appointments in
+small print. By pressing on a day box, the appointments for that day can be
+listed and edited. Appointments are entered with the following information:
+
+- the date, time, and length (time and days) of the appointment,
+- an optional text message and an optional script to be executed,
+- early-warn and late-warn triggers that precede the alarm time
+- repetitions: [n-th] weekdays, days-of-the-month, every n days, yearly
+- optional fast command-line appointment entry
+- flexible ways to specify holidays and vacations
+- extensive context help
+- multiuser capability using an IP server program (with access lists),
+- grouping of appointments into files, per-user, private, and others
+
+The action being taken when a warn or alarm time is reached is programmable;
+by default a window pops up. In addition, a program can be executed, or mail
+can be sent. Other methods of listing appointments (today, this week, next
+week, or a keyword search for regular expressions) are also available. Plan
+can be configured to display times in 12-hour or 24-hour formats, mmddyy and
+ddmmyy date formats, and can show either Monday or Sunday in the leftmost
+column. Four view modes are supported: month, year, week, day, and a 365-day
+overview. The day, week, and overview plot appointments as colored and
+labeled bars on a time chart.
diff --git a/time/plan/pkg/MESSAGE b/time/plan/pkg/MESSAGE
new file mode 100644
index 00000000000..e97cd2b781e
--- /dev/null
+++ b/time/plan/pkg/MESSAGE
@@ -0,0 +1,2 @@
+You can use one of the ${X11BASE}/share/plan/holiday/holiday_* files
+as example for your ~/.holiday. See `man plan` for details.
diff --git a/time/plan/pkg/PLIST b/time/plan/pkg/PLIST
new file mode 100644
index 00000000000..c189d7df3d2
--- /dev/null
+++ b/time/plan/pkg/PLIST
@@ -0,0 +1,46 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/17 23:32:24 wiz Exp $
+bin/plan
+libexec/plan/pland
+libexec/plan/notifier
+libexec/plan/netplan
+libexec/plan/plan_cal.ps
+@exec mkdir -p %D/libexec/plan/netplan.dir && chmod 700 %D/libexec/plan/netplan.dir && chown 32767:39 %D/libexec/plan/netplan.dir
+@unexec rmdir %D/libexec/plan/netplan.dir 2>/dev/null || echo "==> %D/libexec/plan/netplan.dir not empty. You should remove it manually if it's no longer needed."
+@unexec rmdir %D/libexec/plan 2>/dev/null || true
+man/man1/plan.1
+man/man1/netplan.1
+man/man4/plan.4
+share/plan/HISTORY
+share/plan/README
+share/plan/holiday/holiday_australia
+share/plan/holiday/holiday_austria
+share/plan/holiday/holiday_bavarian
+share/plan/holiday/holiday_belgium
+share/plan/holiday/holiday_canada
+share/plan/holiday/holiday_denmark
+share/plan/holiday/holiday_dutch
+share/plan/holiday/holiday_finnish
+share/plan/holiday/holiday_french
+share/plan/holiday/holiday_frswiss
+share/plan/holiday/holiday_german
+share/plan/holiday/holiday_greek
+share/plan/holiday/holiday_hungary
+share/plan/holiday/holiday_italy
+share/plan/holiday/holiday_japan
+share/plan/holiday/holiday_norway
+share/plan/holiday/holiday_quebec
+share/plan/holiday/holiday_spain
+share/plan/holiday/holiday_swedish
+share/plan/holiday/holiday_uk
+share/plan/holiday/holiday_us
+share/plan/holiday/holiday_combi
+share/plan/holiday/holiday_czech
+share/plan/holiday/holiday_portugal
+share/plan/plan.help
+share/plan/plan.lang.dutch
+share/plan/plan.lang.english
+share/plan/plan.lang.french
+share/plan/plan.lang.german
+share/plan/plan.lang.spanish
+@dirrm share/plan/holiday
+@dirrm share/plan
diff --git a/time/polclock/Makefile b/time/polclock/Makefile
new file mode 100644
index 00000000000..f267ef51e93
--- /dev/null
+++ b/time/polclock/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/17 23:32:19 wiz Exp $
+#
+
+DISTNAME= polclock-1.11
+CATEGORIES= x11 time
+MASTER_SITES= http://www.daionet.gr.jp/~masa/archives/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.daionet.gr.jp/~masa/glclock
+
+USE_X11BASE= yes
+USE_IMAKE= yes
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/polclock/files/md5 b/time/polclock/files/md5
new file mode 100644
index 00000000000..fd32385ee16
--- /dev/null
+++ b/time/polclock/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/17 23:32:19 wiz Exp $
+
+MD5 (polclock-1.11.tar.gz) = f2ed128dea5978a3eed2dbdf4de8637e
diff --git a/time/polclock/pkg/COMMENT b/time/polclock/pkg/COMMENT
new file mode 100644
index 00000000000..0147b8da507
--- /dev/null
+++ b/time/polclock/pkg/COMMENT
@@ -0,0 +1 @@
+Digital clock with some nice graphics effects
diff --git a/time/polclock/pkg/DESCR b/time/polclock/pkg/DESCR
new file mode 100644
index 00000000000..eb661c03f6d
--- /dev/null
+++ b/time/polclock/pkg/DESCR
@@ -0,0 +1,3 @@
+A digital clock with some nice graphics effects.
+Created by Masaki Kawase.
+Best viewed on a truecolor display.
diff --git a/time/polclock/pkg/PLIST b/time/polclock/pkg/PLIST
new file mode 100644
index 00000000000..581dbd5b5f8
--- /dev/null
+++ b/time/polclock/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/17 23:32:19 wiz Exp $
+bin/polclock
+man/cat1/polclock.0
diff --git a/time/py-mxDateTime/Makefile b/time/py-mxDateTime/Makefile
new file mode 100644
index 00000000000..08a8b1553f6
--- /dev/null
+++ b/time/py-mxDateTime/Makefile
@@ -0,0 +1,46 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/17 23:32:11 wiz Exp $
+#
+
+DISTNAME= mxDateTime-1.3.0
+PKGNAME= py-mxDateTime-1.3.0
+WRKSRC= ${WRKDIR}/DateTime
+CATEGORIES= time
+MASTER_SITES= http://starship.python.net/~lemburg/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://starship.python.net/~lemburg/mxDateTime.html
+
+BUILD_DEPENDS= unzip:../../archivers/unzip
+DEPENDS+= python-2.0*:../../lang/python
+
+EXTRACT_CMD= unzip -Laqo ${DOWNLOADED_DISTFILE}
+
+RESTRICTED= No commercial distribution
+NO_SRC_ON_CDROM= ${RESTRICTED}
+NO_BIN_ON_CDROM= ${RESTRICTED}
+
+do-configure:
+ ( cd ${WRKSRC}/mxDateTime ; \
+ make -f Makefile.pre.in boot )
+
+do-build:
+ ( cd ${WRKSRC}/mxDateTime; make )
+ ( cd ${WRKSRC}; python ${PREFIX}/lib/python2.0/compileall.py . )
+ ( cd ${WRKSRC}; python -O ${PREFIX}/lib/python2.0/compileall.py . )
+
+do-install:
+ @${INSTALL_SCRIPT_DIR} ${PREFIX}/lib/python2.0/site-packages
+ @${INSTALL_SCRIPT_DIR} ${PREFIX}/lib/python2.0/site-packages/DateTime
+ @${INSTALL_DATA} ${WRKSRC}/*.py* \
+ ${PREFIX}/lib/python2.0/site-packages/DateTime
+ @${INSTALL_SCRIPT_DIR} \
+ ${PREFIX}/lib/python2.0/site-packages/DateTime/mxDateTime
+ @${INSTALL_DATA} ${WRKSRC}/mxDateTime/*.so \
+ ${WRKSRC}/mxDateTime/__init__.py* \
+ ${PREFIX}/lib/python2.0/site-packages/DateTime/mxDateTime
+ @${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/py-mxDateTime
+ @${INSTALL_SCRIPT} ${WRKSRC}/Doc/*.html \
+ ${PREFIX}/share/doc/html/py-mxDateTime/
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/py-mxDateTime/files/md5 b/time/py-mxDateTime/files/md5
new file mode 100644
index 00000000000..fb6eee640bb
--- /dev/null
+++ b/time/py-mxDateTime/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/17 23:32:11 wiz Exp $
+
+MD5 (mxDateTime-1.3.0.zip) = 2cdf8741c7be9d11bebcb62291c59de9
diff --git a/time/py-mxDateTime/pkg/COMMENT b/time/py-mxDateTime/pkg/COMMENT
new file mode 100644
index 00000000000..ce4ff504f3c
--- /dev/null
+++ b/time/py-mxDateTime/pkg/COMMENT
@@ -0,0 +1 @@
+Python extension that provides new types and conversions for dates
diff --git a/time/py-mxDateTime/pkg/DESCR b/time/py-mxDateTime/pkg/DESCR
new file mode 100644
index 00000000000..89d7cc7796a
--- /dev/null
+++ b/time/py-mxDateTime/pkg/DESCR
@@ -0,0 +1,10 @@
+A C extension package for python that provides new datatypes for
+handling dates and times together with a rich set of conversion and
+parsing routines.
+
+These types were created to provide a consistent way of transferring
+date and time data between Python and databases. Apart from handling
+date before the Unix epoch (1.1.1970) they also correctly work with
+dates beyond the Unix time limit (currently with Unix time value being
+encoded using 32bit integers, the limit is reached in 2038) and thus
+is Year 2000 and Year 2038 safe.
diff --git a/time/py-mxDateTime/pkg/PLIST b/time/py-mxDateTime/pkg/PLIST
new file mode 100644
index 00000000000..bbce1458b61
--- /dev/null
+++ b/time/py-mxDateTime/pkg/PLIST
@@ -0,0 +1,46 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/17 23:32:11 wiz Exp $
+lib/python2.0/site-packages/DateTime/mxDateTime/mxDateTime.so
+lib/python2.0/site-packages/DateTime/mxDateTime/__init__.py
+lib/python2.0/site-packages/DateTime/mxDateTime/__init__.pyc
+lib/python2.0/site-packages/DateTime/mxDateTime/__init__.pyo
+lib/python2.0/site-packages/DateTime/ARPA.py
+lib/python2.0/site-packages/DateTime/ARPA.pyc
+lib/python2.0/site-packages/DateTime/ARPA.pyo
+lib/python2.0/site-packages/DateTime/DateTime.py
+lib/python2.0/site-packages/DateTime/DateTime.pyc
+lib/python2.0/site-packages/DateTime/DateTime.pyo
+lib/python2.0/site-packages/DateTime/Feasts.py
+lib/python2.0/site-packages/DateTime/Feasts.pyc
+lib/python2.0/site-packages/DateTime/Feasts.pyo
+lib/python2.0/site-packages/DateTime/ISO.py
+lib/python2.0/site-packages/DateTime/ISO.pyc
+lib/python2.0/site-packages/DateTime/ISO.pyo
+lib/python2.0/site-packages/DateTime/LazyModule.py
+lib/python2.0/site-packages/DateTime/LazyModule.pyc
+lib/python2.0/site-packages/DateTime/LazyModule.pyo
+lib/python2.0/site-packages/DateTime/Locale.py
+lib/python2.0/site-packages/DateTime/Locale.pyc
+lib/python2.0/site-packages/DateTime/Locale.pyo
+lib/python2.0/site-packages/DateTime/NIST.py
+lib/python2.0/site-packages/DateTime/NIST.pyc
+lib/python2.0/site-packages/DateTime/NIST.pyo
+lib/python2.0/site-packages/DateTime/ODMG.py
+lib/python2.0/site-packages/DateTime/ODMG.pyc
+lib/python2.0/site-packages/DateTime/ODMG.pyo
+lib/python2.0/site-packages/DateTime/Parser.py
+lib/python2.0/site-packages/DateTime/Parser.pyc
+lib/python2.0/site-packages/DateTime/Parser.pyo
+lib/python2.0/site-packages/DateTime/Timezone.py
+lib/python2.0/site-packages/DateTime/Timezone.pyc
+lib/python2.0/site-packages/DateTime/Timezone.pyo
+lib/python2.0/site-packages/DateTime/__init__.py
+lib/python2.0/site-packages/DateTime/__init__.pyc
+lib/python2.0/site-packages/DateTime/__init__.pyo
+lib/python2.0/site-packages/DateTime/timegm.py
+lib/python2.0/site-packages/DateTime/timegm.pyc
+lib/python2.0/site-packages/DateTime/timegm.pyo
+share/doc/html/py-mxDateTime/mxDateTime.html
+share/doc/html/py-mxDateTime/mxDateTime-History.html
+@dirrm lib/python2.0/site-packages/DateTime/mxDateTime
+@dirrm lib/python2.0/site-packages/DateTime
+@dirrm share/doc/html/py-mxDateTime
diff --git a/time/rclock/Makefile b/time/rclock/Makefile
new file mode 100644
index 00000000000..087c399a178
--- /dev/null
+++ b/time/rclock/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/17 23:32:19 wiz Exp $
+# FreeBSD Id: Makefile,v 1.1.1.1 1997/03/03 16:27:10 obrien Exp
+#
+
+DISTNAME= rxvt-2.6.0
+PKGNAME= rclock-2.6.0
+CATEGORIES= x11 time
+MASTER_SITES= ${MASTER_SITE_SUNSITE:=utils/file/managers/mc/rxvt/} \
+ ftp://ftp.nuclecu.unam.mx/linux/local/rxvt/ \
+ ftp://tsx-11.mit.edu/pub/linux/sources/usr.bin.X11/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= packages@netbsd.org
+
+USE_X11BASE= yes
+GNU_CONFIGURE= yes
+ALL_TARGET= clock
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/rclock/files/md5 b/time/rclock/files/md5
new file mode 100644
index 00000000000..a958cfeef82
--- /dev/null
+++ b/time/rclock/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/17 23:32:19 wiz Exp $
+
+MD5 (rxvt-2.6.0.tar.bz2) = 8f6d86c2b76d7f2945d121191ef25158
diff --git a/time/rclock/files/patch-sum b/time/rclock/files/patch-sum
new file mode 100644
index 00000000000..fbf3df3e6c3
--- /dev/null
+++ b/time/rclock/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/12/17 23:32:19 wiz Exp $
+
+MD5 (patch-aa) = 35fc3ea7b5e51c80aec44a4c1b440d1c
+MD5 (patch-ab) = da8edc58f4aa1b48dbce230434f9a757
diff --git a/time/rclock/patches/patch-aa b/time/rclock/patches/patch-aa
new file mode 100644
index 00000000000..a0402710038
--- /dev/null
+++ b/time/rclock/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/12/17 23:32:19 wiz Exp $
+
+--- Makefile.in.orig Mon Mar 29 07:31:37 1999
++++ Makefile.in Tue Dec 7 22:53:50 1999
+@@ -9,7 +9,7 @@
+ first_rule: all
+ dummy:
+
+-subdirs = src doc rclock src/graphics
++subdirs = rclock # src doc rclock src/graphics
+
+ DIST = INSTALL README.configure configure Makefile Makefile.in ChangeLog
+
diff --git a/time/rclock/patches/patch-ab b/time/rclock/patches/patch-ab
new file mode 100644
index 00000000000..af2f9b88de5
--- /dev/null
+++ b/time/rclock/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/12/17 23:32:19 wiz Exp $
+--- rclock/feature.h.orig Mon Jun 14 03:32:41 1999
++++ rclock/feature.h Mon Jun 14 03:33:08 1999
+@@ -53,7 +53,7 @@
+ #define MAIL
+ /* #define MAIL_BELL */
+ /* #define MAIL_SPAWN "xmh\ -font\ 7x14\&" */
+-/* #define MAIL_SPOOL "/var/spool/mail/" */
++#define MAIL_SPOOL "/var/mail/"
+
+ /*----------------------------------------------------------------------*
+ * #define CLOCKUPDATE 30
diff --git a/time/rclock/pkg/COMMENT b/time/rclock/pkg/COMMENT
new file mode 100644
index 00000000000..69a36fe7299
--- /dev/null
+++ b/time/rclock/pkg/COMMENT
@@ -0,0 +1 @@
+Analog clock for X w/appointment reminder and mail notification
diff --git a/time/rclock/pkg/DESCR b/time/rclock/pkg/DESCR
new file mode 100644
index 00000000000..49a0b009f93
--- /dev/null
+++ b/time/rclock/pkg/DESCR
@@ -0,0 +1,6 @@
+Rclock is an analog clock for X intended as an xclock(1) replacement that
+conserves memory and has extra features: rclock enters reverse video if
+there is mail waiting; an appointment reminder is also builtin.
+
+The ~/.rclock file lists the messages to display and/or the programs
+to run at specified times and dates.
diff --git a/time/rclock/pkg/PLIST b/time/rclock/pkg/PLIST
new file mode 100644
index 00000000000..fb23131a09b
--- /dev/null
+++ b/time/rclock/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/17 23:32:19 wiz Exp $
+bin/rclock
+man/man1/rclock.1.gz
diff --git a/time/remind/Makefile b/time/remind/Makefile
new file mode 100644
index 00000000000..b9d76f093de
--- /dev/null
+++ b/time/remind/Makefile
@@ -0,0 +1,44 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/17 23:32:11 wiz Exp $
+#
+
+DISTNAME= remind-03.00.21
+PKGNAME= ${DISTNAME:C/0([0-9])/\1/g}
+CATEGORIES= time
+MASTER_SITES= http://www.roaringpenguin.com/
+
+MAINTAINER= kim@tac.nyc.ny.us
+HOMEPAGE= http://www.roaringpenguin.com/remind.html
+
+GNU_CONFIGURE= yes
+
+# We don't want to require tcl just for one script.
+post-build:
+ @${SED} -e 's,@TCLSH@,tclsh8.0,' \
+ < ${WRKSRC}/scripts/cm2rem.tcl \
+ > ${WRKSRC}/scripts/cm2rem
+ @${MV} ${WRKSRC}/man/cm2rem.1 ${WRKSRC}/man/cm2rem.1.bak
+ @${SED} -e 's,@TCLSH@,tclsh8.0,' \
+ < ${WRKSRC}/man/cm2rem.1.bak \
+ > ${WRKSRC}/man/cm2rem.1
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/remind
+ (cd ${WRKSRC}; \
+ ${INSTALL_DATA} -p examples/defs.rem \
+ ${PREFIX}/share/examples/remind; \
+ ${INSTALL_DATA} -p examples/remind.vim \
+ ${PREFIX}/share/examples/remind; \
+ ${INSTALL_DATA} -p scripts/remind-all.csh \
+ ${PREFIX}/share/examples/remind; \
+ ${INSTALL_DATA} -p scripts/remind-all.sh \
+ ${PREFIX}/share/examples/remind)
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/remind
+ (cd ${WRKSRC}; \
+ ${INSTALL_DATA} -p docs/README.UNIX \
+ ${PREFIX}/share/doc/remind; \
+ ${INSTALL_DATA} -p docs/WHATSNEW.30 \
+ ${PREFIX}/share/doc/remind; \
+ ${INSTALL_DATA} -p COPYRIGHT \
+ ${PREFIX}/share/doc/remind)
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/remind/files/md5 b/time/remind/files/md5
new file mode 100644
index 00000000000..7daa94ba414
--- /dev/null
+++ b/time/remind/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/17 23:32:11 wiz Exp $
+
+MD5 (remind-03.00.21.tar.gz) = f70e2bca2b73dad27c52148017a8615b
diff --git a/time/remind/files/patch-sum b/time/remind/files/patch-sum
new file mode 100644
index 00000000000..616165fc3ad
--- /dev/null
+++ b/time/remind/files/patch-sum
@@ -0,0 +1,6 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/12/17 23:32:11 wiz Exp $
+
+MD5 (patch-ab) = d8077f40b413b94299bc6fcc1e52d8d8
+MD5 (patch-ac) = 5e27d2f4831041bea2886f8dfac8a60a
+MD5 (patch-ad) = 86304a2116ce8a8d3903151638566b6c
+MD5 (patch-ae) = c07a1cace7f1cf070bb6064823c0fe7b
diff --git a/time/remind/patches/patch-ab b/time/remind/patches/patch-ab
new file mode 100644
index 00000000000..3a34488c175
--- /dev/null
+++ b/time/remind/patches/patch-ab
@@ -0,0 +1,34 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/12/17 23:32:11 wiz Exp $
+
+--- src/Makefile.in.orig Wed Mar 15 11:03:39 2000
++++ src/Makefile.in Fri Mar 17 15:13:31 2000
+@@ -15,11 +15,12 @@
+
+ INSTALL=@INSTALL@
+ INSTALL_PROGRAM=@INSTALL_PROGRAM@
++INSTALL_SCRIPT=@INSTALL@ -m 0555
+ INSTALL_DATA=@INSTALL_DATA@
+
+ PROGS= remind rem2ps
+ SCRIPTS= $(srcdir)/../scripts/kall $(srcdir)/../scripts/rem \
+- $(srcdir)/../scripts/tkremind $(srcdir)/../scripts/cm2rem.tcl
++ $(srcdir)/../scripts/tkremind $(srcdir)/../scripts/cm2rem
+
+ MANS= $(srcdir)/../man/kall.1 $(srcdir)/../man/rem.1 \
+ $(srcdir)/../man/rem2ps.1 $(srcdir)/../man/remind.1 \
+@@ -49,11 +50,12 @@
+ @CC@ @LDFLAGS@ -o remind $(REMINDOBJS) @LIBS@
+
+ install: all
+- for prog in $(PROGS) $(SCRIPTS) ; do \
++ for prog in $(PROGS) ; do \
+ $(INSTALL_PROGRAM) $$prog $(bindir) ; \
+ done
+- -strip $(bindir)/remind
+- -strip $(bindir)/rem2ps
++ for prog in $(SCRIPTS) ; do \
++ $(INSTALL_SCRIPT) $$prog $(bindir) ; \
++ done
+ for man in $(MANS) ; do \
+ $(INSTALL_DATA) $$man $(mandir)/man1 ; \
+ done
diff --git a/time/remind/patches/patch-ac b/time/remind/patches/patch-ac
new file mode 100644
index 00000000000..e8885d990e7
--- /dev/null
+++ b/time/remind/patches/patch-ac
@@ -0,0 +1,43 @@
+$NetBSD: patch-ac,v 1.1.1.1 2000/12/17 23:32:11 wiz Exp $
+
+--- src/files.c.orig Mon Apr 5 13:34:48 1999
++++ src/files.c Wed Mar 1 19:48:52 2000
+@@ -19,6 +19,7 @@
+
+ #include <string.h>
+ #include <ctype.h>
++#include <glob.h>
+ #include <sys/stat.h>
+
+ #ifdef TM_IN_SYS_TIME
+@@ -421,16 +422,26 @@
+ {
+ DynamicBuffer buf;
+ int r, e;
++ glob_t g;
+
+ DBufInit(&buf);
++ memset(&g, 0, sizeof(g));
++
+ if ( (r=ParseToken(p, &buf)) ) return r;
+ e = VerifyEoln(p);
+ if (e) Eprint("%s", ErrMsg[e]);
+- if ( (r=IncludeFile(DBufValue(&buf))) ) {
+- DBufFree(&buf);
+- return r;
+- }
++
++ glob(DBufValue(&buf), GLOB_NOCHECK|GLOB_BRACE|GLOB_TILDE, NULL, &g);
+ DBufFree(&buf);
++
++ do {
++ if ( (r=IncludeFile(*g.gl_pathv)) ) {
++ globfree(&g);
++ return r;
++ }
++ } while (*++g.gl_pathv != NULL);
++
++ globfree(&g);
+ NumIfs = 0;
+ IfFlags = 0;
+ return OK;
diff --git a/time/remind/patches/patch-ad b/time/remind/patches/patch-ad
new file mode 100644
index 00000000000..77f7301901d
--- /dev/null
+++ b/time/remind/patches/patch-ad
@@ -0,0 +1,11 @@
+$NetBSD: patch-ad,v 1.1.1.1 2000/12/17 23:32:11 wiz Exp $
+
+--- scripts/cm2rem.tcl.orig Thu Feb 17 22:45:38 2000
++++ scripts/cm2rem.tcl Sun Apr 30 23:32:07 2000
+@@ -17,5 +17,5 @@
+
+ # the next line restarts using tclsh \
+-exec tclsh "$0" "$@"
++exec @TCLSH@ "$0" "$@"
+
+ set i 0
diff --git a/time/remind/patches/patch-ae b/time/remind/patches/patch-ae
new file mode 100644
index 00000000000..722dc193154
--- /dev/null
+++ b/time/remind/patches/patch-ae
@@ -0,0 +1,40 @@
+$NetBSD: patch-ae,v 1.1.1.1 2000/12/17 23:32:12 wiz Exp $
+
+--- man/cm2rem.1.orig Wed Mar 15 10:51:36 2000
++++ man/cm2rem.1 Fri Mar 17 15:18:27 2000
+@@ -2,27 +2,27 @@
+ .TH CM2REM 1 "18 October 1999"
+ .UC4
+ .SH NAME
+-cm2rem.tcl \- Convert Sun's "cm" input file to Remind format
++cm2rem \- Convert Sun's "cm" input file to Remind format
+ .SH SYNOPSIS
+-.B cm2rem.tcl < cm_file > remind_file
++.B cm2rem < cm_file > remind_file
+ .SH DESCRIPTION
+-\fBcm2rem.tcl\fR reads the Sun calendar manager data file and converts
+-it into a \fBRemind\fR script. Note that \fBcm2rem.tcl\fR can convert
++\fBcm2rem\fR reads the Sun calendar manager data file and converts
++it into a \fBRemind\fR script. Note that \fBcm2rem\fR can convert
+ \fIonly\fR version 3 calendar manager files. If you are using version 4
+ files, there should be a system utility to convert them to version 3 files.
+ .SH AUTHOR
+-\fBcm2rem.tcl\fR is supported by Roaring Penguin Software
++\fBcm2rem\fR is supported by Roaring Penguin Software
+ Inc. (http://www.roaringpenguin.com)
+ .PP
+-\fBcm2rem.tcl\fR was written by David F. Skoll <dfs@roaringpenguin.com>.
++\fBcm2rem\fR was written by David F. Skoll <dfs@roaringpenguin.com>.
+ .SH BUGS
+ Not all of the Sun calendar manager options are respected. In particular,
+ nothing is done for e-mail actions. Also, the resulting Remind script
+ is not editable with \fBTkRemind\fR; you can only edit it with a text
+ editor.
+ .PP
+-\fBcm2rem.tcl\fR requires Tcl/Tk version 8.0 or higher. The
+-\fBtclsh\fR interpreter must be on your \fBpath\fR.
++\fBcm2rem\fR requires Tcl/Tk version 8.0 or higher. The
++\fB@TCLSH@\fR interpreter must be on your \fBpath\fR.
+
+ .SH SEE ALSO
+ \fBremind(1)\fR, \fBtkremind(1)\fR
diff --git a/time/remind/pkg/COMMENT b/time/remind/pkg/COMMENT
new file mode 100644
index 00000000000..de4a63ebe27
--- /dev/null
+++ b/time/remind/pkg/COMMENT
@@ -0,0 +1 @@
+Calendar/alarm program with interpreted input language
diff --git a/time/remind/pkg/DESCR b/time/remind/pkg/DESCR
new file mode 100644
index 00000000000..3ac31fcd393
--- /dev/null
+++ b/time/remind/pkg/DESCR
@@ -0,0 +1,4 @@
+REMIND is a calendar/alarm program that lets you specify reminders
+and alarms with a versatile interpreted input language. REMIND
+also produces PostScript calendars, and can handle both the
+common and Hebrew calendars.
diff --git a/time/remind/pkg/PLIST b/time/remind/pkg/PLIST
new file mode 100644
index 00000000000..05fb7f414b7
--- /dev/null
+++ b/time/remind/pkg/PLIST
@@ -0,0 +1,22 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/17 23:32:12 wiz Exp $
+bin/cm2rem
+bin/kall
+bin/rem
+bin/rem2ps
+bin/remind
+bin/tkremind
+man/man1/cm2rem.1
+man/man1/kall.1
+man/man1/rem.1
+man/man1/rem2ps.1
+man/man1/remind.1
+man/man1/tkremind.1
+share/doc/remind/COPYRIGHT
+share/doc/remind/README.UNIX
+share/doc/remind/WHATSNEW.30
+share/examples/remind/defs.rem
+share/examples/remind/remind-all.csh
+share/examples/remind/remind-all.sh
+share/examples/remind/remind.vim
+@dirrm share/examples/remind
+@dirrm share/doc/remind
diff --git a/time/sunclock/Makefile b/time/sunclock/Makefile
new file mode 100644
index 00000000000..58e4e5a6457
--- /dev/null
+++ b/time/sunclock/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/17 23:32:19 wiz Exp $
+#
+
+DISTNAME= sunclock-1.4
+CATEGORIES= x11 time
+MASTER_SITES= ${MASTER_SITE_XCONTRIB:=applications/}
+
+MAINTAINER= perry@netbsd.org
+
+USE_IMAKE= yes
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+MAKE_ENV+= CPPFLAGS=-DUSE_PUTENV
+.endif
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/sunclock/files/md5 b/time/sunclock/files/md5
new file mode 100644
index 00000000000..ff9752c5e3e
--- /dev/null
+++ b/time/sunclock/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/17 23:32:19 wiz Exp $
+
+MD5 (sunclock-1.4.tar.gz) = 56e232a2d12fb5a38b09e8199e30dcd6
diff --git a/time/sunclock/files/patch-sum b/time/sunclock/files/patch-sum
new file mode 100644
index 00000000000..1092159b63c
--- /dev/null
+++ b/time/sunclock/files/patch-sum
@@ -0,0 +1,6 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/12/17 23:32:19 wiz Exp $
+
+This placeholder file is generated by the ``makepatchsum'' target
+whenever the patches directory is empty or missing. Its purpose
+is to ensure that the presence of any obsolete patches will cause
+the proper error to be emitted at build time.
diff --git a/time/sunclock/pkg/COMMENT b/time/sunclock/pkg/COMMENT
new file mode 100644
index 00000000000..0e69356fc7f
--- /dev/null
+++ b/time/sunclock/pkg/COMMENT
@@ -0,0 +1 @@
+Show which portion of the Earth's surface is illuminated by the Sun
diff --git a/time/sunclock/pkg/DESCR b/time/sunclock/pkg/DESCR
new file mode 100644
index 00000000000..0f5a754efa9
--- /dev/null
+++ b/time/sunclock/pkg/DESCR
@@ -0,0 +1,10 @@
+X11 version by John Mackin, <john@cs.su.oz.AU>, based on a Suntools program
+by John Walker, <kelvin@acad.uu.NET>.
+
+This program is a clock that shows which portion of the Earth's surface is
+illuminated by the Sun. It is designed to be usually iconic, but can be
+opened for a larger display with the time updated every second and both the
+local timezone and UTC displayed. The Suntools version had a menu that
+allowed you to speed up time, show different dates, etc., but I have
+never implemented any of that in the X version; there is some support
+for it in the code, however.
diff --git a/time/sunclock/pkg/PLIST b/time/sunclock/pkg/PLIST
new file mode 100644
index 00000000000..33ff1d95275
--- /dev/null
+++ b/time/sunclock/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/17 23:32:19 wiz Exp $
+bin/sunclock
+man/cat1/sunclock.0
diff --git a/time/swisswatch/Makefile b/time/swisswatch/Makefile
new file mode 100644
index 00000000000..d0c37acaf46
--- /dev/null
+++ b/time/swisswatch/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/17 23:32:19 wiz Exp $
+# FreeBSD Id: Makefile,v 1.3 1996/11/18 11:43:40 asami Exp
+#
+
+DISTNAME= swisswatch-0.06
+CATEGORIES= x11 time
+MASTER_SITES= ftp://ftp.iij.ad.jp/pub/X/R5contrib/
+EXTRACT_SUFX= .tar.Z
+
+MAINTAINER= sanpei@yy.cs.keio.ac.jp
+
+USE_IMAKE= yes
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/swisswatch/files/md5 b/time/swisswatch/files/md5
new file mode 100644
index 00000000000..f490e675b91
--- /dev/null
+++ b/time/swisswatch/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/17 23:32:19 wiz Exp $
+
+MD5 (swisswatch-0.06.tar.Z) = 003c4829d7fc9d93ff1d1fdf3c148395
diff --git a/time/swisswatch/files/patch-sum b/time/swisswatch/files/patch-sum
new file mode 100644
index 00000000000..7107d88f267
--- /dev/null
+++ b/time/swisswatch/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/12/17 23:32:19 wiz Exp $
+
+MD5 (patch-aa) = 3dd07019a223cc5c1111b3639f608b4e
diff --git a/time/swisswatch/patches/patch-aa b/time/swisswatch/patches/patch-aa
new file mode 100644
index 00000000000..4c7edb3d3ad
--- /dev/null
+++ b/time/swisswatch/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/12/17 23:32:19 wiz Exp $
+
+--- Imakefile.org Sat Dec 16 19:10:12 1995
++++ Imakefile Sat Dec 16 18:59:27 1995
+@@ -1,7 +1,7 @@
+ #ifdef ContribRules
+ ContribRules
+ #endif
+-DEFINES = ExtensionDefines
++DEFINES = ExtensionDefines -DSHAPE
+ SRCS = swisswatch.c SwissWatch.c Hand.c Mark.c HandOrMark.c TableConvert.c
+ OBJS = swisswatch.o SwissWatch.o Hand.o Mark.o HandOrMark.o TableConvert.o
+ DEPLIBS = $(DEPXTOOLLIB) $(DEPXMULIB) $(DEPEXTENSIONLIB) $(DEPXLIB)
diff --git a/time/swisswatch/pkg/COMMENT b/time/swisswatch/pkg/COMMENT
new file mode 100644
index 00000000000..e5f22efbb7d
--- /dev/null
+++ b/time/swisswatch/pkg/COMMENT
@@ -0,0 +1 @@
+Swiss railway clock emulation, and a fancy default appearance
diff --git a/time/swisswatch/pkg/DESCR b/time/swisswatch/pkg/DESCR
new file mode 100644
index 00000000000..6ba04a0bc9a
--- /dev/null
+++ b/time/swisswatch/pkg/DESCR
@@ -0,0 +1,9 @@
+Swisswatch is a fancy Swiss railway clock emulator.
+
+This program support color display, you must add belong lines to ~/.Xdefaults.
+
+#if COLOR
+swisswatch*customization: -color
+#endif
+
+and exec `xrdb $HOME/.Xdefaults'.
diff --git a/time/swisswatch/pkg/PLIST b/time/swisswatch/pkg/PLIST
new file mode 100644
index 00000000000..c5402dcf5af
--- /dev/null
+++ b/time/swisswatch/pkg/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/17 23:32:20 wiz Exp $
+bin/swisswatch
+lib/X11/app-defaults/SwissWatch
+lib/X11/app-defaults/SwissWatch-color
+man/cat1/swisswatch.0.gz
diff --git a/time/titrax/Makefile b/time/titrax/Makefile
new file mode 100644
index 00000000000..5a2fc738ffc
--- /dev/null
+++ b/time/titrax/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/17 23:32:20 wiz Exp $
+#
+
+DISTNAME= titrax-1.98
+CATEGORIES= x11 time
+MASTER_SITES= ${MASTER_SITE_XCONTRIB:=office/}
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.alvestrand.no/domen/titrax/TimeTracker.html
+
+USE_IMAKE= yes
+USE_PERL5= yes
+
+post-patch:
+ ${MV} ${WRKSRC}/Imakefile ${WRKSRC}/Imakefile.bak
+ ${SED} -e 's|@LOCALBASE@|${LOCALBASE}|g' -e 's|@X11BASE@|${X11PREFIX}|g' \
+ < ${WRKSRC}/Imakefile.bak > ${WRKSRC}/Imakefile
+
+pre-install:
+ ${MKDIR} ${X11PREFIX}/libexec/titrax
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/titrax/files/md5 b/time/titrax/files/md5
new file mode 100644
index 00000000000..b46e3f15e74
--- /dev/null
+++ b/time/titrax/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/17 23:32:20 wiz Exp $
+
+MD5 (titrax-1.98.tar.gz) = 6c6e98ef8b9585f42d70f9838755eaf7
diff --git a/time/titrax/files/patch-sum b/time/titrax/files/patch-sum
new file mode 100644
index 00000000000..274e6881213
--- /dev/null
+++ b/time/titrax/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/12/17 23:32:20 wiz Exp $
+
+MD5 (patch-aa) = fe066ac06f51f05000be82f1a558287b
+MD5 (patch-ab) = 65712894ecb4c1829952a23172962803
diff --git a/time/titrax/patches/patch-aa b/time/titrax/patches/patch-aa
new file mode 100644
index 00000000000..efa4c3e11e1
--- /dev/null
+++ b/time/titrax/patches/patch-aa
@@ -0,0 +1,64 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/12/17 23:32:20 wiz Exp $
+
+--- Imakefile.orig Tue Oct 17 14:44:48 1995
++++ Imakefile Tue Dec 8 12:16:34 1998
+@@ -1,10 +1,10 @@
+ # Installation options
+ #=====================
+ # The place where you install local programs (not X)
+-NONXBINDIR = /local/bin
++NONXBINDIR = @LOCALBASE@/bin
+ #
+ # PERLLIBDIR should be the output from perl -e 'print "@INC[0]\n"'
+-PERLLIBDIR = /usr/lib/perl
++PERLLIBDIR = @X11BASE@/libexec/titrax
+ # PERL - where your Perl executable is located (is in sumtitrax)
+ PERL = $(NONXBINDIR)/perl
+ #
+@@ -12,7 +12,7 @@
+ # XAWLIB = -lXaw3d
+ #
+ # If you want to stop UDP packets to the author, uncomment this
+-# CDEBUGFLAGS = -DDO_NOT_TELL_ABOUT_ME
++CDEBUGFLAGS = -DDO_NOT_TELL_ABOUT_ME
+ #
+ # If you have problems with undefined variables, you may have
+ # hit the linker bug with SunOS 4.1.2 and X11R4; uncomment this line
+@@ -44,13 +44,13 @@
+ # functions that are declared, but not used
+ LINTOPTS = -az
+
+-all:: titrax sumtitra titrat
++all:: titrax sumtitra titrat weekno.perl
+ depend:: Titrax_ad.h
+
+ ComplexProgramTarget(titrax)
+ InstallAppDefaults(Titrax)
+-InstallProgram(sumtitra,$(NONXBINDIR))
+-InstallProgram(titrat,$(NONXBINDIR))
++InstallNamedProg(sumtitra,sumtitra,$(BINDIR))
++InstallNamedProg(titrat,titrat,$(BINDIR))
+ InstallManPage(sumtitra,$(MANDIR))
+ InstallNonExec(weekno.perl,$(PERLLIBDIR))
+
+@@ -61,7 +61,7 @@
+ # Modifying PERL scripts - technique courtesy of Lindsay (of Zircon fame)
+ sumtitra: Makefile
+ mv sumtitra sumtitra.tmp
+- echo '#!$(PERL)' > sumtitra
++ echo '#!$(PERL) -I$(PERLLIBDIR)' > sumtitra
+ tail +2 sumtitra.tmp >> sumtitra
+ rm sumtitra.tmp
+ titrat: Makefile
+@@ -69,6 +69,11 @@
+ echo '#!$(PERL)' > titrat
+ tail +2 titrat.tmp >> titrat
+ rm titrat.tmp
++weekno.perl: Makefile
++ mv weekno.perl weekno.perl.tmp
++ echo '#!$(PERL)' > weekno.perl
++ tail +2 weekno.perl.tmp >> weekno.perl
++ rm weekno.perl.tmp
+
+ #------------------------------------------------------------------
+ # Everything below this line should be only for release and debugging,
diff --git a/time/titrax/patches/patch-ab b/time/titrax/patches/patch-ab
new file mode 100644
index 00000000000..3f060b75f4e
--- /dev/null
+++ b/time/titrax/patches/patch-ab
@@ -0,0 +1,17 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/12/17 23:32:20 wiz Exp $
+
+--- titrat.orig Tue Oct 17 14:44:49 1995
++++ titrat Tue Dec 8 13:48:48 1998
+@@ -7,9 +7,9 @@
+ require 'ctime.pl';
+ # If you cannot find errno.ph, just uncomment the following line, if
+ # EEXIST is 17 in your /usr/include/sys/errno.h file.
+-# eval 'sub EEXIST {17;}';
++eval 'sub EEXIST {17;}';
+
+-require 'errno.ph';
++# require 'errno.ph';
+
+ $SIG{'HUP'} = 'signal';
+ $SIG{'INT'} = 'signal';
+
diff --git a/time/titrax/pkg/COMMENT b/time/titrax/pkg/COMMENT
new file mode 100644
index 00000000000..97bb25a02ae
--- /dev/null
+++ b/time/titrax/pkg/COMMENT
@@ -0,0 +1 @@
+Little X11 tool to track project times
diff --git a/time/titrax/pkg/DESCR b/time/titrax/pkg/DESCR
new file mode 100644
index 00000000000..9573535e130
--- /dev/null
+++ b/time/titrax/pkg/DESCR
@@ -0,0 +1,5 @@
+TimeTracker is an Athena Widget-based program to keep track of time.
+It puts up a list of projects, and the number of minutes worked on each.
+You click on the project you want to work on, and it starts counting on that.
+At the end of the day, it saves the collected data in a file, and you can
+use a script to process the data. "sumtitra" is one possible such script.
diff --git a/time/titrax/pkg/PLIST b/time/titrax/pkg/PLIST
new file mode 100644
index 00000000000..ebe875dca68
--- /dev/null
+++ b/time/titrax/pkg/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/17 23:32:21 wiz Exp $
+bin/sumtitra
+bin/titrax
+bin/titrat
+lib/X11/app-defaults/Titrax
+libexec/titrax/weekno.perl
+man/cat1/sumtitra.0
+man/cat1/titrax.0
+@dirrm libexec/titrax
diff --git a/time/wmcalclock/Makefile b/time/wmcalclock/Makefile
new file mode 100644
index 00000000000..b4953179ed3
--- /dev/null
+++ b/time/wmcalclock/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/17 23:32:21 wiz Exp $
+#
+
+DISTNAME= wmCalClock-1.25
+CATEGORIES= x11 time
+MASTER_SITES= http://nis-www.lanl.gov/~mgh/WindowMaker/
+
+MAINTAINER= wiz@netbsd.org
+HOMEPAGE= http://nis-www.lanl.gov/~mgh/WindowMaker/DockApps.shtml
+
+USE_X11BASE= YES
+USE_XPM= YES
+USE_GMAKE= YES
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/Src
+
+do-install:
+ ${INSTALL_MAN} ${WRKSRC}/wmCalClock.1 ${PREFIX}/man/man1/
+ ${INSTALL_PROGRAM} ${WRKSRC}/wmCalClock ${PREFIX}/bin/
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/wmcalclock/files/md5 b/time/wmcalclock/files/md5
new file mode 100644
index 00000000000..820239ba6c2
--- /dev/null
+++ b/time/wmcalclock/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/17 23:32:21 wiz Exp $
+
+MD5 (wmCalClock-1.25.tar.gz) = a401ded0e1fee4bcc4623076159bca41
diff --git a/time/wmcalclock/files/patch-sum b/time/wmcalclock/files/patch-sum
new file mode 100644
index 00000000000..63291108a3b
--- /dev/null
+++ b/time/wmcalclock/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/12/17 23:32:21 wiz Exp $
+
+MD5 (patch-aa) = 4bbb7386d6e9adcefd1c415707a5e5f0
diff --git a/time/wmcalclock/patches/patch-aa b/time/wmcalclock/patches/patch-aa
new file mode 100644
index 00000000000..08d0c0936b3
--- /dev/null
+++ b/time/wmcalclock/patches/patch-aa
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/12/17 23:32:21 wiz Exp $
+
+--- Makefile.orig Sat Mar 27 07:46:38 1999
++++ Makefile Sun Dec 12 19:13:34 1999
+@@ -1,8 +1,8 @@
+-CC = gcc
+-CFLAGS = -O2 -Wall
+-INCDIR = -I/usr/X11R6/include/X11 -I/usr/X11R6/include
++# CC = gcc
++CFLAGS += -O2 -Wall
++INCDIR = -I${X11BASE}/include/X11 -I${X11BASE}/include
+ DESTDIR= /usr/X11R6
+-LIBDIR = -L/usr/X11R6/lib
++LIBDIR = -L${X11BASE}/lib -Wl,-R${X11BASE}/lib
+
+ # for Linux
+ LIBS = -lXpm -lX11 -lXext
diff --git a/time/wmcalclock/pkg/COMMENT b/time/wmcalclock/pkg/COMMENT
new file mode 100644
index 00000000000..70cb7fced3b
--- /dev/null
+++ b/time/wmcalclock/pkg/COMMENT
@@ -0,0 +1 @@
+another WindowMaker calendar/clock dockapp
diff --git a/time/wmcalclock/pkg/DESCR b/time/wmcalclock/pkg/DESCR
new file mode 100644
index 00000000000..f1393356c88
--- /dev/null
+++ b/time/wmcalclock/pkg/DESCR
@@ -0,0 +1,2 @@
+wmCalClock is a simple Calendar Clock that uses anti-aliased characters and
+drop shadows.
diff --git a/time/wmcalclock/pkg/PLIST b/time/wmcalclock/pkg/PLIST
new file mode 100644
index 00000000000..1e8afe7a39c
--- /dev/null
+++ b/time/wmcalclock/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/17 23:32:21 wiz Exp $
+bin/wmCalClock
+man/man1/wmCalClock.1
diff --git a/time/wmmoonclock/Makefile b/time/wmmoonclock/Makefile
new file mode 100644
index 00000000000..b43fb930e0b
--- /dev/null
+++ b/time/wmmoonclock/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/17 23:32:21 wiz Exp $
+#
+
+DISTNAME= wmMoonClock-1.27
+CATEGORIES= x11 time
+MASTER_SITES= http://nis-www.lanl.gov/~mgh/WindowMaker/
+
+MAINTAINER= tron@netbsd.org
+HOMEPAGE= http://nis-www.lanl.gov/~mgh/WindowMaker/DockApps.shtml
+
+USE_GMAKE= YES
+USE_X11BASE= YES
+USE_XPM= YES
+WRKSRC= ${WRKDIR}/${DISTNAME}/Src
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/wmmoonclock/files/md5 b/time/wmmoonclock/files/md5
new file mode 100644
index 00000000000..6e8ce308a6b
--- /dev/null
+++ b/time/wmmoonclock/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/17 23:32:21 wiz Exp $
+
+MD5 (wmMoonClock-1.27.tar.gz) = c85bc974e70c867d556805505d3be48c
diff --git a/time/wmmoonclock/files/patch-sum b/time/wmmoonclock/files/patch-sum
new file mode 100644
index 00000000000..c8e8ada62de
--- /dev/null
+++ b/time/wmmoonclock/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/12/17 23:32:21 wiz Exp $
+
+MD5 (patch-aa) = 2bcbe3db68478675aa64deb57589bb27
diff --git a/time/wmmoonclock/patches/patch-aa b/time/wmmoonclock/patches/patch-aa
new file mode 100644
index 00000000000..4f8e20fd8ed
--- /dev/null
+++ b/time/wmmoonclock/patches/patch-aa
@@ -0,0 +1,25 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/12/17 23:32:21 wiz Exp $
+
+--- Makefile.orig Tue Mar 23 03:20:32 1999
++++ Makefile Sun Jul 30 22:28:09 2000
+@@ -1,8 +1,8 @@
+ CC = gcc
+ CFLAGS = -O2
+-INCDIR = -I/usr/X11R6/include/X11
+-DESTDIR= /usr/X11R6
+-LIBDIR = -L/usr/X11R6/lib
++INCDIR = -I${PREFIX}/include
++DESTDIR= ${PREFIX}
++LIBDIR = -L${PREFIX}/lib -Wl,-R${PREFIX}/lib
+
+ # for Linux
+ LIBS = -lXpm -lX11 -lXext
+@@ -31,6 +31,5 @@
+ rm -f wmMoonClock
+
+ install:: wmMoonClock
+- install -s -m 0755 wmMoonClock $(DESTDIR)/bin
+- install -m 0644 wmMoonClock.1 $(DESTDIR)/man/man1
+-
++ $(BSD_INSTALL_PROGRAM) wmMoonClock $(DESTDIR)/bin
++ $(BSD_INSTALL_DATA) wmMoonClock.1 $(DESTDIR)/man/man1
diff --git a/time/wmmoonclock/pkg/COMMENT b/time/wmmoonclock/pkg/COMMENT
new file mode 100644
index 00000000000..a08d06c3cb4
--- /dev/null
+++ b/time/wmmoonclock/pkg/COMMENT
@@ -0,0 +1 @@
+Shows lunar ephemeris to fairly high accuracy
diff --git a/time/wmmoonclock/pkg/DESCR b/time/wmmoonclock/pkg/DESCR
new file mode 100644
index 00000000000..e87b3db5753
--- /dev/null
+++ b/time/wmmoonclock/pkg/DESCR
@@ -0,0 +1 @@
+Shows lunar ephemeris to fairly high accuracy.
diff --git a/time/wmmoonclock/pkg/PLIST b/time/wmmoonclock/pkg/PLIST
new file mode 100644
index 00000000000..120b51f2f2a
--- /dev/null
+++ b/time/wmmoonclock/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/17 23:32:21 wiz Exp $
+bin/wmMoonClock
+man/man1/wmMoonClock.1
diff --git a/time/wmtime/Makefile b/time/wmtime/Makefile
new file mode 100644
index 00000000000..e1c961acc52
--- /dev/null
+++ b/time/wmtime/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/17 23:32:21 wiz Exp $
+#
+
+DISTNAME= wmtime-1.0b2
+CATEGORIES= x11 time
+MASTER_SITES= ftp://ftp.alpha.alt.ru/pub/UNIX/X11/WMaker/ \
+ http://www.netbsd.org/~ad/distfiles/
+
+MAINTAINER= ad@netbsd.org
+
+USE_IMAKE= YES
+USE_XPM= YES
+
+NO_INSTALL_MANPAGES= YES
+WRKSRC= ${WRKDIR}/wmtime.app/wmtime
+
+post-extract:
+ ${CP} ${WRKSRC}/../Imakefile ${WRKSRC}/Imakefile
+ ${TOUCH} ${WRKSRC}/wmtime.man
+
+do-configure:
+ cd ${WRKSRC} && imake -DUseInstalled -DUseGccMakeDepend -I${X11BASE}/lib/X11/config && \
+ ${MAKE} Makefiles && \
+ ${MAKE} includes && \
+ ${MAKE} depend
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/wmtime/files/md5 b/time/wmtime/files/md5
new file mode 100644
index 00000000000..173f1dbcedc
--- /dev/null
+++ b/time/wmtime/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/17 23:32:21 wiz Exp $
+
+MD5 (wmtime-1.0b2.tar.gz) = 04c03e001aa702cf653b6b6c3f58bf87
diff --git a/time/wmtime/files/patch-sum b/time/wmtime/files/patch-sum
new file mode 100644
index 00000000000..e88f7c6bd8a
--- /dev/null
+++ b/time/wmtime/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/12/17 23:32:21 wiz Exp $
+
+MD5 (patch-aa) = 8202633d053e78d51a5d9c528f20ef57
diff --git a/time/wmtime/patches/patch-aa b/time/wmtime/patches/patch-aa
new file mode 100644
index 00000000000..7043f19276b
--- /dev/null
+++ b/time/wmtime/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/12/17 23:32:21 wiz Exp $
+
+--- wmtime.c Wed May 20 06:34:53 1998
++++ wmtime.c.orig Sat Nov 28 18:44:59 1998
+@@ -89,7 +89,7 @@
+ char *ProgName;
+ int digital = 0;
+ char day_of_week[7][3] = { "SU", "MO", "TU", "WE", "TH", "FR", "SA" };
+-char mon_of_year[12][4] = { "JAN", "FEB", "MAR", "APR", "MAY", "JUN", "JUL", "AUG", "SEP", "OCT", "NOW", "DEC" };
++char mon_of_year[12][4] = { "JAN", "FEB", "MAR", "APR", "MAY", "JUN", "JUL", "AUG", "SEP", "OCT", "NOV", "DEC" };
+
+ /* functions */
+ void usage(void);
diff --git a/time/wmtime/pkg/COMMENT b/time/wmtime/pkg/COMMENT
new file mode 100644
index 00000000000..4fd1a2b999c
--- /dev/null
+++ b/time/wmtime/pkg/COMMENT
@@ -0,0 +1 @@
+Time/Date applet for WindowMaker
diff --git a/time/wmtime/pkg/DESCR b/time/wmtime/pkg/DESCR
new file mode 100644
index 00000000000..55392e40064
--- /dev/null
+++ b/time/wmtime/pkg/DESCR
@@ -0,0 +1,2 @@
+This is a very nice clock that runs in the WindowMaker "dock". Either
+digital or analog clock faces can be specified.
diff --git a/time/wmtime/pkg/PLIST b/time/wmtime/pkg/PLIST
new file mode 100644
index 00000000000..3855b50db18
--- /dev/null
+++ b/time/wmtime/pkg/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/17 23:32:21 wiz Exp $
+bin/wmtime
diff --git a/time/xbeats/Makefile b/time/xbeats/Makefile
new file mode 100644
index 00000000000..a6d71e95fda
--- /dev/null
+++ b/time/xbeats/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/17 23:32:21 wiz Exp $
+#
+
+DISTNAME= xbeats-0.4
+CATEGORIES= x11 time
+MASTER_SITES= http://bohemians.org/~iznogood/xbeats/
+
+MAINTAINER= hubertf@netbsd.org
+HOMEPAGE= http://bohemians.org/~iznogood/
+
+USE_X11= YES
+USE_XPM= YES
+GNU_CONFIGURE= YES
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/xbeats/files/md5 b/time/xbeats/files/md5
new file mode 100644
index 00000000000..b3e18628598
--- /dev/null
+++ b/time/xbeats/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/17 23:32:21 wiz Exp $
+
+MD5 (xbeats-0.4.tar.gz) = 6b7a772c42f928ee0ec60ab90242205d
diff --git a/time/xbeats/files/patch-sum b/time/xbeats/files/patch-sum
new file mode 100644
index 00000000000..7754a8a2edc
--- /dev/null
+++ b/time/xbeats/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/12/17 23:32:21 wiz Exp $
+
+MD5 (patch-aa) = 078613d46970f83670e342cfc8b1b212
diff --git a/time/xbeats/patches/patch-aa b/time/xbeats/patches/patch-aa
new file mode 100644
index 00000000000..c3ee4e69901
--- /dev/null
+++ b/time/xbeats/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/12/17 23:32:21 wiz Exp $
+
+--- configure.orig Fri Sep 24 02:13:34 1999
++++ configure Fri Sep 24 02:14:16 1999
+@@ -1973,7 +1973,7 @@
+ fi
+ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+- X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
++ X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE -lX11"
+ else
+ echo "$ac_t""no" 1>&6
+ fi
diff --git a/time/xbeats/pkg/COMMENT b/time/xbeats/pkg/COMMENT
new file mode 100644
index 00000000000..9044ea677f9
--- /dev/null
+++ b/time/xbeats/pkg/COMMENT
@@ -0,0 +1 @@
+Beats clock dockable in both Window Maker and AfterStep
diff --git a/time/xbeats/pkg/DESCR b/time/xbeats/pkg/DESCR
new file mode 100644
index 00000000000..4be5ef4422a
--- /dev/null
+++ b/time/xbeats/pkg/DESCR
@@ -0,0 +1,2 @@
+A beats clock dockable in both Window Maker and AfterStep. It can
+also run in its own window.
diff --git a/time/xbeats/pkg/PLIST b/time/xbeats/pkg/PLIST
new file mode 100644
index 00000000000..74c8fb5a86e
--- /dev/null
+++ b/time/xbeats/pkg/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/17 23:32:22 wiz Exp $
+bin/xbeats
diff --git a/time/xcal/Makefile b/time/xcal/Makefile
new file mode 100644
index 00000000000..05b3ac087cb
--- /dev/null
+++ b/time/xcal/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/17 23:32:22 wiz Exp $
+#
+
+DISTNAME= xcal41
+PKGNAME= xcal-4.1
+CATEGORIES= x11 time
+MASTER_SITES= ftp://ftp.hillside.co.uk/xcal/
+EXTRACT_SUFX= .tar.Z
+
+MAINTAINER= kim@tac.nyc.ny.us
+
+USE_IMAKE= yes
+#USE_XAW= yes
+#XAW_TYPE= standard
+
+post-extract:
+ @${MKDIR} ${WRKSRC}
+ @cd ${WRKSRC}; for i in ../Part??; \
+ do \
+ ${SED} -e '1,/--shar starts here--/d' $$i | ${SH} >/dev/null 2>&1; \
+ done
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/xcal/files/md5 b/time/xcal/files/md5
new file mode 100644
index 00000000000..e53620cf1f3
--- /dev/null
+++ b/time/xcal/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/17 23:32:22 wiz Exp $
+
+MD5 (xcal41.tar.Z) = ae4a7ba3c63db821c73f5821ac9e0232
diff --git a/time/xcal/files/patch-sum b/time/xcal/files/patch-sum
new file mode 100644
index 00000000000..db6aa024341
--- /dev/null
+++ b/time/xcal/files/patch-sum
@@ -0,0 +1,7 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/12/17 23:32:22 wiz Exp $
+
+MD5 (patch-aa) = 6fbd13b6484f0f5cb0952b2187c4e8e7
+MD5 (patch-ab) = 976e7ca69e36134165e25e92a0fdfb7a
+MD5 (patch-ac) = f6d4be8af4c386122f3450fdd99e9052
+MD5 (patch-ad) = 65566e8ffb032857b82f3846b61b11d7
+MD5 (patch-ae) = 246db051ec8b20ccff400b7646c63052
diff --git a/time/xcal/patches/patch-aa b/time/xcal/patches/patch-aa
new file mode 100644
index 00000000000..91d6f5c1b38
--- /dev/null
+++ b/time/xcal/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/12/17 23:32:22 wiz Exp $
+
+--- Imakefile.orig Thu Apr 27 02:23:48 2000
++++ Imakefile Thu Apr 27 02:24:04 2000
+@@ -13,7 +13,7 @@
+
+ PROGRAMS = derived xcal
+ INSTPGMFLAGS = $(INSTBINFLAGS)
+- BINDIR = /usr/local/bin
++# BINDIR = /usr/local/bin
+
+ ComplexProgramTarget_1(xcal, XawClientLibs, -lm)
+
diff --git a/time/xcal/patches/patch-ab b/time/xcal/patches/patch-ab
new file mode 100644
index 00000000000..34bdf04129d
--- /dev/null
+++ b/time/xcal/patches/patch-ab
@@ -0,0 +1,10 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/12/17 23:32:22 wiz Exp $
+
+--- pscal/Imakefile.orig Thu Apr 27 02:24:25 2000
++++ pscal/Imakefile Thu Apr 27 02:26:31 2000
+@@ -1,4 +1,4 @@
+-BINDIR=/usr/local/bin
++#BINDIR=/usr/local/bin
+ AllTarget(pscal.script)
+ InstallScript(pscal,$(BINDIR))
+ InstallManPage(pscal,$(MANDIR))
diff --git a/time/xcal/patches/patch-ac b/time/xcal/patches/patch-ac
new file mode 100644
index 00000000000..93bd53b0829
--- /dev/null
+++ b/time/xcal/patches/patch-ac
@@ -0,0 +1,10 @@
+$NetBSD: patch-ac,v 1.1.1.1 2000/12/17 23:32:22 wiz Exp $
+
+--- xcal_cal/Imakefile.orig Thu Apr 27 02:24:25 2000
++++ xcal_cal/Imakefile Thu Apr 27 02:26:38 2000
+@@ -1,4 +1,4 @@
+-BINDIR=/usr/local/bin
++#BINDIR=/usr/local/bin
+
+ INSTPGMFLAGS=$(INSTBINFLAGS)
+
diff --git a/time/xcal/patches/patch-ad b/time/xcal/patches/patch-ad
new file mode 100644
index 00000000000..bab4801706f
--- /dev/null
+++ b/time/xcal/patches/patch-ad
@@ -0,0 +1,12 @@
+$NetBSD: patch-ad,v 1.1.1.1 2000/12/17 23:32:22 wiz Exp $
+
+--- xcalev/Imakefile.orig Thu Apr 27 02:24:25 2000
++++ xcalev/Imakefile Thu Apr 27 02:26:46 2000
+@@ -1,6 +1,6 @@
+ DEFINES=-DVER_VEC
+
+-BINDIR=/usr/local/bin
++#BINDIR=/usr/local/bin
+ INSTPGMFLAGS=$(INSTBINFLAGS)
+
+ AllTarget(xcalev)
diff --git a/time/xcal/patches/patch-ae b/time/xcal/patches/patch-ae
new file mode 100644
index 00000000000..c490eec3c3e
--- /dev/null
+++ b/time/xcal/patches/patch-ae
@@ -0,0 +1,11 @@
+$NetBSD: patch-ae,v 1.1.1.1 2000/12/17 23:32:22 wiz Exp $
+
+--- xcalpr/Imakefile.orig Thu Apr 27 02:24:25 2000
++++ xcalpr/Imakefile Thu Apr 27 02:26:52 2000
+@@ -1,5 +1,5 @@
+ DEFINES=-DVER_VEC
+-BINDIR=/usr/local/bin
++#BINDIR=/usr/local/bin
+ INSTPGMFLAGS=$(INSTBINFLAGS)
+
+ AllTarget(xcalpr)
diff --git a/time/xcal/pkg/COMMENT b/time/xcal/pkg/COMMENT
new file mode 100644
index 00000000000..c9c04437067
--- /dev/null
+++ b/time/xcal/pkg/COMMENT
@@ -0,0 +1 @@
+calendar with alarms and a notebook for X11
diff --git a/time/xcal/pkg/DESCR b/time/xcal/pkg/DESCR
new file mode 100644
index 00000000000..03e3b30b989
--- /dev/null
+++ b/time/xcal/pkg/DESCR
@@ -0,0 +1,13 @@
+Xcal is an interactive calendar program with alarms and a notebook.
+
+Pscal is an program that generates calendars in PostScript.
+
+Xcal_cal is a program that takes you calendar entries and makes a file
+for the standard UNIX calendar program to send you mail.
+
+Xcalev is a program that is used to pre-load your calendar with all
+those birthdays that you are prone to forget.
+
+Xcalpr is a program that prints calendar files out to a terminal. Nice
+if you have no X screen. This also can be used to generate a file for
+the UNIX calendar program.
diff --git a/time/xcal/pkg/PLIST b/time/xcal/pkg/PLIST
new file mode 100644
index 00000000000..27ee2aea21d
--- /dev/null
+++ b/time/xcal/pkg/PLIST
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/17 23:32:22 wiz Exp $
+bin/pscal
+bin/xcal
+bin/xcal_cal
+bin/xcalev
+bin/xcalpr
+lib/X11/app-defaults/XCal
+lib/X11/app-defaults/XCal.help
+man/cat1/pscal.0
+man/cat1/xcal.0
+man/cat1/xcal_cal.0
+man/cat1/xcalev.0
+man/cat1/xcalpr.0
diff --git a/time/xdaliclock/Makefile b/time/xdaliclock/Makefile
new file mode 100644
index 00000000000..67f05a9a698
--- /dev/null
+++ b/time/xdaliclock/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/17 23:32:22 wiz Exp $
+#
+
+DISTNAME= xdaliclock-2.18
+CATEGORIES= x11 time
+MASTER_SITES= http://www.jwz.org/xdaliclock/ \
+ ${MASTER_SITE_XCONTRIB:=applications/}
+
+MAINTAINER= nathanw@netbsd.org
+HOMEPAGE= http://www.jwz.org/xdaliclock/
+
+GNU_CONFIGURE= yes
+USE_X11= yes
+WRKSRC= ${WRKDIR}/${DISTNAME}/X11
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/xdaliclock/files/md5 b/time/xdaliclock/files/md5
new file mode 100644
index 00000000000..f8fce5ace55
--- /dev/null
+++ b/time/xdaliclock/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/17 23:32:22 wiz Exp $
+
+MD5 (xdaliclock-2.18.tar.gz) = 286c2c2ca9aa12b8ee6e58dda1ca1739
diff --git a/time/xdaliclock/files/patch-sum b/time/xdaliclock/files/patch-sum
new file mode 100644
index 00000000000..df869a7e443
--- /dev/null
+++ b/time/xdaliclock/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/12/17 23:32:22 wiz Exp $
+
+MD5 (patch-aa) = 6f961b2e09e39c8d75357104a0b43ffa
diff --git a/time/xdaliclock/patches/patch-aa b/time/xdaliclock/patches/patch-aa
new file mode 100644
index 00000000000..2d1d6a90b5f
--- /dev/null
+++ b/time/xdaliclock/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/12/17 23:32:22 wiz Exp $
+
+--- xdaliclock.h.orig Wed Feb 3 10:34:59 1999
++++ xdaliclock.h Wed Feb 3 10:35:12 1999
+@@ -13,9 +13,7 @@
+
+ #ifdef __STDC__
+ # include <stdlib.h>
+-# if defined(unix) || defined(__unix) || defined(UNIX)
+-# include <unistd.h>
+-# endif
++# include <unistd.h>
+ #endif
+
+ #ifdef VMS
diff --git a/time/xdaliclock/pkg/COMMENT b/time/xdaliclock/pkg/COMMENT
new file mode 100644
index 00000000000..63cf4040faa
--- /dev/null
+++ b/time/xdaliclock/pkg/COMMENT
@@ -0,0 +1 @@
+Animated digital clock
diff --git a/time/xdaliclock/pkg/DESCR b/time/xdaliclock/pkg/DESCR
new file mode 100644
index 00000000000..fe759207d00
--- /dev/null
+++ b/time/xdaliclock/pkg/DESCR
@@ -0,0 +1,8 @@
+XDaliClock is a digital clock for the X Window System; when a digit changes,
+it ``melts'' into its new shape.
+
+It can display in 12 or 24 hour modes, and displays the date when a mouse
+button is held down. It has two large fonts built into it, but it can
+animate most other fonts that contain all of the digits. It can also do some
+funky psychedelic colormap cycling, and can use overlay planes or the `shape'
+extension so that the window is transparent.
diff --git a/time/xdaliclock/pkg/PLIST b/time/xdaliclock/pkg/PLIST
new file mode 100644
index 00000000000..34c0f0e1ab0
--- /dev/null
+++ b/time/xdaliclock/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/17 23:32:22 wiz Exp $
+bin/xdaliclock
+man/man1/xdaliclock.1
diff --git a/time/xtimer/Makefile b/time/xtimer/Makefile
new file mode 100644
index 00000000000..824b4de9460
--- /dev/null
+++ b/time/xtimer/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/17 23:32:22 wiz Exp $
+# FreeBSD Id: Makefile,v 1.2 1997/06/15 10:44:39 asami Exp
+#
+
+DISTNAME= xtimer-8087
+PKGNAME= xtimer-0.8087
+CATEGORIES= x11 time
+MASTER_SITES= http://spock.vector.co.jp/authors/VA004959/xtimer/
+
+MAINTAINER= candy@fct.kgc.co.jp
+
+USE_IMAKE= yes
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/xtimer/files/md5 b/time/xtimer/files/md5
new file mode 100644
index 00000000000..38a7426ee78
--- /dev/null
+++ b/time/xtimer/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/17 23:32:22 wiz Exp $
+
+MD5 (xtimer-8087.tar.gz) = 90e85ad8a4b8a30da2ff5af7d359c174
diff --git a/time/xtimer/pkg/COMMENT b/time/xtimer/pkg/COMMENT
new file mode 100644
index 00000000000..3ac38c9eecd
--- /dev/null
+++ b/time/xtimer/pkg/COMMENT
@@ -0,0 +1 @@
+Super simple digital timer for X11
diff --git a/time/xtimer/pkg/DESCR b/time/xtimer/pkg/DESCR
new file mode 100644
index 00000000000..0ff390119e8
--- /dev/null
+++ b/time/xtimer/pkg/DESCR
@@ -0,0 +1,3 @@
+xtimer is a very simple timer for X11.
+The best use is to display the connecting time of iij-ppp.
+candy@fct.kgc.co.jp (Toshihiro Kanda)
diff --git a/time/xtimer/pkg/PLIST b/time/xtimer/pkg/PLIST
new file mode 100644
index 00000000000..76bbe59c3f2
--- /dev/null
+++ b/time/xtimer/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/17 23:32:22 wiz Exp $
+bin/xtimer
+man/cat1/xtimer.0.gz