summaryrefslogtreecommitdiff
path: root/time/catclock
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2000-12-17 23:32:09 +0000
committerwiz <wiz@pkgsrc.org>2000-12-17 23:32:09 +0000
commitdf7948804e18401baeb9f3f2ca9b7ded3f4f66c7 (patch)
tree73288b5bb97270ccddd92731e20bbfff8858d306 /time/catclock
parent389033175de2a6d1922929cf5b7598f2da56932a (diff)
downloadpkgsrc-df7948804e18401baeb9f3f2ca9b7ded3f4f66c7.tar.gz
New category: time. Move many packages here:
misc/cal, misc/cardboard-schedule, misc/ical, misc/plan, misc/py-mxDateTime, misc/remind, sysutils/logtime, and 19 more from x11.
Diffstat (limited to 'time/catclock')
-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
8 files changed, 93 insertions, 0 deletions
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