diff options
author | Jim Mock <jim@FreeBSD.org> | 1999-12-29 01:33:35 +0000 |
---|---|---|
committer | Jim Mock <jim@FreeBSD.org> | 1999-12-29 01:33:35 +0000 |
commit | 8842892974cb6d7dba94dc7d51b1e3f8cd9d225f (patch) | |
tree | d25eace96848481f624e128749bfc406e48957e4 /x11-clocks/wmtz | |
parent | 7c74ea6870809f789b2e7f4fa0cf32c9f2a4334c (diff) | |
download | ports-8842892974cb6d7dba94dc7d51b1e3f8cd9d225f.tar.gz ports-8842892974cb6d7dba94dc7d51b1e3f8cd9d225f.zip |
Notes
Diffstat (limited to 'x11-clocks/wmtz')
-rw-r--r-- | x11-clocks/wmtz/Makefile | 4 | ||||
-rw-r--r-- | x11-clocks/wmtz/distinfo | 2 | ||||
-rw-r--r-- | x11-clocks/wmtz/files/patch-aa | 27 | ||||
-rw-r--r-- | x11-clocks/wmtz/files/patch-ab | 24 |
4 files changed, 27 insertions, 30 deletions
diff --git a/x11-clocks/wmtz/Makefile b/x11-clocks/wmtz/Makefile index bc848cc75907..725ba66ab802 100644 --- a/x11-clocks/wmtz/Makefile +++ b/x11-clocks/wmtz/Makefile @@ -1,12 +1,12 @@ # New ports collection makefile for: wmtz -# Version required: 0.4 +# Version required: 0.5 # Date created: 24 Apr 1999 # Whom: Jim Mock <jim@FreeBSD.org> # # $FreeBSD$ # -DISTNAME= wmtz-0.4 +DISTNAME= wmtz-0.5 CATEGORIES= x11-clocks windowmaker afterstep MASTER_SITES= http://www.algonet.se/~jlin/wmtz/ \ http://www.freebsd.org/~jim/distfiles/ diff --git a/x11-clocks/wmtz/distinfo b/x11-clocks/wmtz/distinfo index d75ae7703229..d1bbf8c179b4 100644 --- a/x11-clocks/wmtz/distinfo +++ b/x11-clocks/wmtz/distinfo @@ -1 +1 @@ -MD5 (wmtz-0.4.tar.gz) = 167be23e2859300d1cabb36611b09e01 +MD5 (wmtz-0.5.tar.gz) = c33b4d664b1c3e46f5ce9d8debb04c0d diff --git a/x11-clocks/wmtz/files/patch-aa b/x11-clocks/wmtz/files/patch-aa index 8ce68cda4929..8b1d7ab1ed3d 100644 --- a/x11-clocks/wmtz/files/patch-aa +++ b/x11-clocks/wmtz/files/patch-aa @@ -1,8 +1,10 @@ ---- Makefile.orig Sat Apr 24 09:24:32 1999 -+++ Makefile Sat Apr 24 09:26:34 1999 +--- Makefile.orig Thu Apr 22 12:27:46 1999 ++++ Makefile Tue Dec 28 17:28:17 1999 @@ -1,7 +1,7 @@ - CC = gcc - LIBDIR = -L/usr/X11R6/lib +-CC = gcc +-LIBDIR = -L/usr/X11R6/lib ++CC ?= gcc ++LIBDIR = -L${X11BASE}/lib LIBS = -lXpm -lXext -lX11 -lm -FLAGS = -O2 +CFLAGS ?= -Wall -O2 @@ -14,7 +16,7 @@ .c.o: - $(CC) -I/usr/X11R6/share/include $(FLAGS) -c -Wall $< -o $*.o -+ $(CC) -I/usr/X11R6/include $(CFLAGS) -c $< -o $*.o ++ $(CC) -I${X11BASE}/include $(CFLAGS) -c $< -o $*.o wmtz: $(OBJS) - $(CC) $(FLAGS) -o wmtz $^ -lXext $(LIBDIR) $(LIBS) @@ -22,7 +24,7 @@ all:: wmtz -@@ -24,18 +24,11 @@ +@@ -24,18 +24,4 @@ rm -f *~ install:: wmtz @@ -33,15 +35,12 @@ - chmod 600 $(HOME)/.wmtzrc - cp wmtzrc /etc/wmtzrc - chmod 644 /etc/wmtzrc -+ cp -f wmtz /usr/X11R6/bin/ -+ chmod 755 /usr/X11R6/bin/wmtz -+ chown root.wheel /usr/X11R6/bin/wmtz - @echo "wmtz: Installation finished..." - - uninstall:: +- @echo "wmtz: Installation finished..." +- +-uninstall:: - rm -i /usr/local/bin/wmtz - rm -i /etc/wmtzrc - chmod 666 $(HOME)/.wmtzrc - rm -i $(HOME)/.wmtzrc -+ rm -i /usr/X11R6/bin/wmtz - @echo "wmtz: Uninstall completed..." +- @echo "wmtz: Uninstall completed..." ++ @/usr/bin/install -c -o 0 -g 0 -s -m 755 wmtz ${X11BASE}/bin/wmtz diff --git a/x11-clocks/wmtz/files/patch-ab b/x11-clocks/wmtz/files/patch-ab index 23457f80ebe7..a42fe86b175a 100644 --- a/x11-clocks/wmtz/files/patch-ab +++ b/x11-clocks/wmtz/files/patch-ab @@ -1,13 +1,11 @@ ---- wmtz.c.orig Sun Jun 13 20:36:28 1999 -+++ wmtz.c Sat Oct 2 15:49:31 1999 -@@ -107,8 +107,8 @@ - - month[0] = "JAN\0"; month[1] = "FEB\0"; month[2] = "MAR\0"; - month[3] = "APR\0"; month[4] = "MAY\0"; month[5] = "JUN\0"; -- month[6] = "JUL\0"; month[7] = "AUG\0"; month[8] = "OCT\0"; -- month[9] = "SEP\0"; month[10] = "NOV\0"; month[11] = "DEC\0"; -+ month[6] = "JUL\0"; month[7] = "AUG\0"; month[8] = "SEP\0"; -+ month[9] = "OCT\0"; month[10] = "NOV\0"; month[11] = "DEC\0"; - - week_day[0] = "SUNDAY \0"; - week_day[1] = "MONDAY \0"; +--- wmtz.c.orig Tue Dec 28 17:23:11 1999 ++++ wmtz.c Tue Dec 28 17:23:47 1999 +@@ -111,7 +111,7 @@ + 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 "; |