From 543609ae17ffd1e8cbf8b03868078656988b340c Mon Sep 17 00:00:00 2001 From: wilfried Date: Fri, 9 Mar 2001 08:43:38 +0000 Subject: [PATCH] Import of wmtz-0.6 wmtz is a dockapp for Window Maker that displays the time in different time zones as defined in it's configuration file. It can also display the current Julian Day Number. ok naddy@ --- x11/wmtz/Makefile | 26 ++++++++++++++++++++++++++ x11/wmtz/files/md5 | 3 +++ x11/wmtz/patches/patch-wmtz_Makefile | 26 ++++++++++++++++++++++++++ x11/wmtz/patches/patch-wmtz_wmtz_c | 12 ++++++++++++ x11/wmtz/pkg/COMMENT | 1 + x11/wmtz/pkg/DESCR | 5 +++++ x11/wmtz/pkg/PLIST | 5 +++++ 7 files changed, 78 insertions(+) create mode 100644 x11/wmtz/Makefile create mode 100644 x11/wmtz/files/md5 create mode 100644 x11/wmtz/patches/patch-wmtz_Makefile create mode 100644 x11/wmtz/patches/patch-wmtz_wmtz_c create mode 100644 x11/wmtz/pkg/COMMENT create mode 100644 x11/wmtz/pkg/DESCR create mode 100644 x11/wmtz/pkg/PLIST diff --git a/x11/wmtz/Makefile b/x11/wmtz/Makefile new file mode 100644 index 00000000000..b2865dfd9f5 --- /dev/null +++ b/x11/wmtz/Makefile @@ -0,0 +1,26 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2001/03/09 08:43:38 wilfried Exp $ + +DISTNAME= wmtz-0.6 +CATEGORIES= x11 x11/windowmaker +NEED_VERSION= 1.359 + +HOMEPAGE= http://www.algonet.se/~jlin/wmtz/ + +MAINTAINER= Peter Stromberg + +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= ${HOMEPAGE} + +WRKSRC= ${WRKDIST}/wmtz + +do-install: + ${INSTALL_PROGRAM} ${WRKBUILD}/wmtz ${PREFIX}/bin + ${INSTALL_MAN} ${WRKBUILD}/wmtz.1 ${PREFIX}/man/man1 + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/wmtz + ${INSTALL_DATA} ${WRKBUILD}/wmtzrc ${PREFIX}/share/examples/wmtz/sample.wmtzrc + +.include diff --git a/x11/wmtz/files/md5 b/x11/wmtz/files/md5 new file mode 100644 index 00000000000..f4bc20bb118 --- /dev/null +++ b/x11/wmtz/files/md5 @@ -0,0 +1,3 @@ +MD5 (wmtz-0.6.tar.gz) = 2584b200cf1d7616797037ec7d926901 +RMD160 (wmtz-0.6.tar.gz) = 2c9cd6d6d59b6a27eda3d18acf4ef5a810540c2b +SHA1 (wmtz-0.6.tar.gz) = be3ff2f5dabc772106951640688d8f161f4fe636 diff --git a/x11/wmtz/patches/patch-wmtz_Makefile b/x11/wmtz/patches/patch-wmtz_Makefile new file mode 100644 index 00000000000..ea36269e38d --- /dev/null +++ b/x11/wmtz/patches/patch-wmtz_Makefile @@ -0,0 +1,26 @@ +$OpenBSD: patch-wmtz_Makefile,v 1.1.1.1 2001/03/09 08:43:39 wilfried Exp $ +--- wmtz/Makefile.orig Sun Sep 24 15:17:00 2000 ++++ wmtz/Makefile Thu Mar 8 13:26:33 2001 +@@ -1,8 +1,5 @@ +-CC = gcc +-LIBDIR = -L/usr/X11R6/lib ++LIBDIR = -L${X11BASE}/lib + LIBS = -lXpm -lXext -lX11 -lm +-FLAGS = -O2 +-DESTDIR = /usr/local + OBJS = wmtz.o \ + ../wmgeneral/wmgeneral.o \ + ../wmgeneral/misc.o \ +@@ -10,10 +7,10 @@ OBJS = wmtz.o \ + + + .c.o: +- $(CC) -I/usr/X11R6/share/include $(FLAGS) -c -Wall $< -o $*.o ++ $(CC) -I${X11BASE}/include ${CFLAGS} -c $< -o $@ + + wmtz: $(OBJS) +- $(CC) $(FLAGS) -o wmtz $^ -lXext $(LIBDIR) $(LIBS) ++ $(CC) ${CFLAGS} -o $@ ${OBJS} $(LIBDIR) $(LIBS) + + all:: wmtz + diff --git a/x11/wmtz/patches/patch-wmtz_wmtz_c b/x11/wmtz/patches/patch-wmtz_wmtz_c new file mode 100644 index 00000000000..47e03b75cbe --- /dev/null +++ b/x11/wmtz/patches/patch-wmtz_wmtz_c @@ -0,0 +1,12 @@ +$OpenBSD: patch-wmtz_wmtz_c,v 1.1.1.1 2001/03/09 08:43:39 wilfried Exp $ +--- wmtz/wmtz.c.orig Sun Sep 24 15:45:17 2000 ++++ wmtz/wmtz.c Thu Mar 8 13:27:08 2001 +@@ -173,7 +173,7 @@ int main(int argc, char *argv[]) { + month[0] = "JAN"; month[1] = "FEB"; month[2] = "MAR"; + month[3] = "APR"; month[4] = "MAY"; month[5] = "JUN"; + month[6] = "JUL"; month[7] = "AUG"; month[8] = "SEP"; +- month[9] = "OUT"; month[10] = "NOV"; month[11] = "DEC"; ++ month[9] = "OCT"; month[10] = "NOV"; month[11] = "DEC"; + + week_day[0] = "SUNDAY "; + week_day[1] = "MONDAY "; diff --git a/x11/wmtz/pkg/COMMENT b/x11/wmtz/pkg/COMMENT new file mode 100644 index 00000000000..348c449d52b --- /dev/null +++ b/x11/wmtz/pkg/COMMENT @@ -0,0 +1 @@ +wm-dockapp; displays the time in different time zones diff --git a/x11/wmtz/pkg/DESCR b/x11/wmtz/pkg/DESCR new file mode 100644 index 00000000000..3c6ce7fc08f --- /dev/null +++ b/x11/wmtz/pkg/DESCR @@ -0,0 +1,5 @@ +wmtz is a dockapp for Window Maker that displays the +time in different time zones as defined in it's configuration +file. It can also display the current Julian Day Number. + +WWW: ${HOMEPAGE} diff --git a/x11/wmtz/pkg/PLIST b/x11/wmtz/pkg/PLIST new file mode 100644 index 00000000000..3d7b391b5b9 --- /dev/null +++ b/x11/wmtz/pkg/PLIST @@ -0,0 +1,5 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2001/03/09 08:43:39 wilfried Exp $ +bin/wmtz +man/man1/wmtz.1 +share/examples/wmtz/sample.wmtzrc +@dirrm share/examples/wmtz