Update to version 0.5
This commit is contained in:
parent
7c74ea6870
commit
8842892974
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=24213
4 changed files with 27 additions and 30 deletions
|
@ -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/
|
||||
|
|
|
@ -1 +1 @@
|
|||
MD5 (wmtz-0.4.tar.gz) = 167be23e2859300d1cabb36611b09e01
|
||||
MD5 (wmtz-0.5.tar.gz) = c33b4d664b1c3e46f5ce9d8debb04c0d
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 ";
|
||||
|
|
Loading…
Reference in a new issue