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@
This commit is contained in:
parent
c6b9643870
commit
543609ae17
26
x11/wmtz/Makefile
Normal file
26
x11/wmtz/Makefile
Normal file
@ -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 <wilfried@openbsd.org>
|
||||
|
||||
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 <bsd.port.mk>
|
3
x11/wmtz/files/md5
Normal file
3
x11/wmtz/files/md5
Normal file
@ -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
|
26
x11/wmtz/patches/patch-wmtz_Makefile
Normal file
26
x11/wmtz/patches/patch-wmtz_Makefile
Normal file
@ -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
|
||||
|
12
x11/wmtz/patches/patch-wmtz_wmtz_c
Normal file
12
x11/wmtz/patches/patch-wmtz_wmtz_c
Normal file
@ -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 ";
|
1
x11/wmtz/pkg/COMMENT
Normal file
1
x11/wmtz/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
wm-dockapp; displays the time in different time zones
|
5
x11/wmtz/pkg/DESCR
Normal file
5
x11/wmtz/pkg/DESCR
Normal file
@ -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}
|
5
x11/wmtz/pkg/PLIST
Normal file
5
x11/wmtz/pkg/PLIST
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user