diff options
author | drochner <drochner> | 1999-09-08 20:02:01 +0000 |
---|---|---|
committer | drochner <drochner> | 1999-09-08 20:02:01 +0000 |
commit | 26f70c89db5dafe0cfed5625cc161907a8f0cb1e (patch) | |
tree | fd5239290294c8c835bea861204289b615b48d9f /x11 | |
parent | ab2707dfb2bc400c09613c1cdf8502d62b56bff5 (diff) | |
download | pkgsrc-26f70c89db5dafe0cfed5625cc161907a8f0cb1e.tar.gz |
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.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/catclock/Makefile | 27 | ||||
-rw-r--r-- | x11/catclock/files/md5 | 2 | ||||
-rw-r--r-- | x11/catclock/files/patch-sum | 4 | ||||
-rw-r--r-- | x11/catclock/patches/patch-aa | 27 | ||||
-rw-r--r-- | x11/catclock/patches/patch-ab | 21 | ||||
-rw-r--r-- | x11/catclock/pkg/COMMENT | 1 | ||||
-rw-r--r-- | x11/catclock/pkg/DESCR | 7 | ||||
-rw-r--r-- | x11/catclock/pkg/PLIST | 4 |
8 files changed, 93 insertions, 0 deletions
diff --git a/x11/catclock/Makefile b/x11/catclock/Makefile new file mode 100644 index 00000000000..549395813de --- /dev/null +++ b/x11/catclock/Makefile @@ -0,0 +1,27 @@ +# $NetBSD: Makefile,v 1.1.1.1 1999/09/08 20:02:01 drochner Exp $ + +DISTNAME= catclock +PKGNAME= catclock-0.0 +WRKSRC= ${WRKDIR}/catclock +CATEGORIES= x11 +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/x11/catclock/files/md5 b/x11/catclock/files/md5 new file mode 100644 index 00000000000..31395dec7eb --- /dev/null +++ b/x11/catclock/files/md5 @@ -0,0 +1,2 @@ +$NetBSD: md5,v 1.1.1.1 1999/09/08 20:02:03 drochner Exp $ +MD5 (catclock.zip) = bf62338a5f7d94d4a7180bad0f7a30ae diff --git a/x11/catclock/files/patch-sum b/x11/catclock/files/patch-sum new file mode 100644 index 00000000000..9268836ffd3 --- /dev/null +++ b/x11/catclock/files/patch-sum @@ -0,0 +1,4 @@ +$NetBSD: patch-sum,v 1.1.1.1 1999/09/08 20:02:03 drochner Exp $ + +MD5 (patch-aa) = 4eedcfc4298db5172ba5a328302741db +MD5 (patch-ab) = d2a2ed75e356abd10db198dac2692835 diff --git a/x11/catclock/patches/patch-aa b/x11/catclock/patches/patch-aa new file mode 100644 index 00000000000..5fffc8e3193 --- /dev/null +++ b/x11/catclock/patches/patch-aa @@ -0,0 +1,27 @@ +$NetBSD: patch-aa,v 1.1.1.1 1999/09/08 20:02:02 drochner 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/x11/catclock/patches/patch-ab b/x11/catclock/patches/patch-ab new file mode 100644 index 00000000000..ddc8e99619b --- /dev/null +++ b/x11/catclock/patches/patch-ab @@ -0,0 +1,21 @@ +$NetBSD: patch-ab,v 1.1.1.1 1999/09/08 20:02:02 drochner 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/x11/catclock/pkg/COMMENT b/x11/catclock/pkg/COMMENT new file mode 100644 index 00000000000..0d6e691bf7b --- /dev/null +++ b/x11/catclock/pkg/COMMENT @@ -0,0 +1 @@ +A variant of the MIT xclock with a "cat" mode. diff --git a/x11/catclock/pkg/DESCR b/x11/catclock/pkg/DESCR new file mode 100644 index 00000000000..be458a7348d --- /dev/null +++ b/x11/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/x11/catclock/pkg/PLIST b/x11/catclock/pkg/PLIST new file mode 100644 index 00000000000..1a764d219ba --- /dev/null +++ b/x11/catclock/pkg/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 1999/09/08 20:02:02 drochner Exp $ +bin/catclock +lib/X11/app-defaults/Catclock +man/cat1/catclock.0 |