diff options
author | taoka <taoka@FreeBSD.org> | 1999-04-30 06:00:15 +0000 |
---|---|---|
committer | taoka <taoka@FreeBSD.org> | 1999-04-30 06:00:15 +0000 |
commit | 1ce56d108d6757ad4a2deea073c161dbc198ec52 (patch) | |
tree | d7c434e88e34223a982e1d44592aff754b9679b2 /x11-clocks/wmtz | |
parent | 39de424939ebbd1a8fde4c167e9be8c8583b1504 (diff) | |
download | FreeBSD-ports-1ce56d108d6757ad4a2deea073c161dbc198ec52.zip FreeBSD-ports-1ce56d108d6757ad4a2deea073c161dbc198ec52.tar.gz |
a dockapp that displays the time in different time zones
PR: 11297
Submiited by: Jim Mock <jim@phrantic.phear.net>
Diffstat (limited to 'x11-clocks/wmtz')
-rw-r--r-- | x11-clocks/wmtz/Makefile | 36 | ||||
-rw-r--r-- | x11-clocks/wmtz/distinfo | 1 | ||||
-rw-r--r-- | x11-clocks/wmtz/files/patch-aa | 47 | ||||
-rw-r--r-- | x11-clocks/wmtz/pkg-comment | 1 | ||||
-rw-r--r-- | x11-clocks/wmtz/pkg-descr | 7 | ||||
-rw-r--r-- | x11-clocks/wmtz/pkg-plist | 4 |
6 files changed, 96 insertions, 0 deletions
diff --git a/x11-clocks/wmtz/Makefile b/x11-clocks/wmtz/Makefile new file mode 100644 index 0000000..1054934 --- /dev/null +++ b/x11-clocks/wmtz/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: wmtz +# Version required: 0.2 +# Date created: 24 Apr 1999 +# Whom: Jim Mock <jim@phrantic.phear.net> +# +# $Id$ +# + +DISTNAME= wmtz-0.2 +CATEGORIES= x11-clocks windowmaker afterstep +MASTER_SITES= http://www.algonet.se/~jlin/ + +MAINTAINER= jim@phrantic.phear.net + +LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm + +USE_GMAKE= yes +WRKSRC= ${WRKDIR}/${DISTNAME}/wmtz +USE_X_PREFIX= yes + +post-install: + @${ECHO} " " + @${ECHO} "-----------------------------------------------------------" + @${ECHO} "===> Installing wmtzrc in ${PREFIX}/share/examples/wmtz" + @${ECHO} "===> Modify to your config and copy to ~/.wmtzrc" + @${ECHO} "-----------------------------------------------------------" + @${ECHO} " " + @${MKDIR} ${PREFIX}/share/examples/wmtz && chmod a+rx ${PREFIX}/share/examples/wmtz + ${INSTALL_DATA} ${WRKSRC}/wmtzrc ${PREFIX}/share/examples/wmtz + @${ECHO} " " + @${ECHO} "-----------------------------------------------------------" + @${ECHO} "===> Run wmtz --help for usage instructions" + @${ECHO} "-----------------------------------------------------------" + @${ECHO} " " + +.include <bsd.port.mk> diff --git a/x11-clocks/wmtz/distinfo b/x11-clocks/wmtz/distinfo new file mode 100644 index 0000000..49dece6e --- /dev/null +++ b/x11-clocks/wmtz/distinfo @@ -0,0 +1 @@ +MD5 (wmtz-0.2.tar.gz) = 966b00f5867801e7b21fde307f5aaf7a diff --git a/x11-clocks/wmtz/files/patch-aa b/x11-clocks/wmtz/files/patch-aa new file mode 100644 index 0000000..9c99d55 --- /dev/null +++ b/x11-clocks/wmtz/files/patch-aa @@ -0,0 +1,47 @@ +--- Makefile.orig Sat Apr 24 09:24:32 1999 ++++ Makefile Sat Apr 24 09:26:34 1999 +@@ -1,7 +1,7 @@ + CC = gcc + LIBDIR = -L/usr/X11R6/lib + LIBS = -lXpm -lXext -lX11 -lm +-FLAGS = -O2 ++CFLAGS = -Wall -O2 + OBJS = wmtz.o \ + ../wmgeneral/wmgeneral.o \ + ../wmgeneral/misc.o \ +@@ -9,10 +9,10 @@ + + + .c.o: +- $(CC) -I/usr/X11R6/share/include $(FLAGS) -c -Wall $< -o $*.o ++ $(CC) -I/usr/X11R6/include $(CFLAGS) -c $< -o $*.o + + wmtz: $(OBJS) +- $(CC) $(FLAGS) -o wmtz $^ -lXext $(LIBDIR) $(LIBS) ++ $(CC) $(CFLAGS) -o wmtz $^ -lXext $(LIBDIR) $(LIBS) + + all:: wmtz + +@@ -24,18 +24,11 @@ + rm -f *~ + + install:: wmtz +- cp -f wmtz /usr/local/bin/ +- chmod 755 /usr/local/bin/wmtz +- chown root:root /usr/local/bin/wmtz +- cp wmtzrc $(HOME)/.wmtzrc +- 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:: +- 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..." diff --git a/x11-clocks/wmtz/pkg-comment b/x11-clocks/wmtz/pkg-comment new file mode 100644 index 0000000..92dc615 --- /dev/null +++ b/x11-clocks/wmtz/pkg-comment @@ -0,0 +1 @@ +wmtz is a dockapp that displays the time in different time zones. diff --git a/x11-clocks/wmtz/pkg-descr b/x11-clocks/wmtz/pkg-descr new file mode 100644 index 0000000..2f107f1 --- /dev/null +++ b/x11-clocks/wmtz/pkg-descr @@ -0,0 +1,7 @@ +wmtz is a dockapp for the 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: http://www.algonet.se/~jlin/wmtz.html + +- Jim <jim@phrantic.phear.net> diff --git a/x11-clocks/wmtz/pkg-plist b/x11-clocks/wmtz/pkg-plist new file mode 100644 index 0000000..5c6ba54 --- /dev/null +++ b/x11-clocks/wmtz/pkg-plist @@ -0,0 +1,4 @@ +bin/wmtz +share/examples/wmtz/wmtzrc +@dirrm share/examples/wmtz + |