diff options
author | taoka <taoka@FreeBSD.org> | 1999-04-30 14:00:15 +0800 |
---|---|---|
committer | taoka <taoka@FreeBSD.org> | 1999-04-30 14:00:15 +0800 |
commit | 1ce56d108d6757ad4a2deea073c161dbc198ec52 (patch) | |
tree | d7c434e88e34223a982e1d44592aff754b9679b2 | |
parent | 39de424939ebbd1a8fde4c167e9be8c8583b1504 (diff) | |
download | freebsd-ports-gnome-1ce56d108d6757ad4a2deea073c161dbc198ec52.tar.gz freebsd-ports-gnome-1ce56d108d6757ad4a2deea073c161dbc198ec52.tar.zst freebsd-ports-gnome-1ce56d108d6757ad4a2deea073c161dbc198ec52.zip |
a dockapp that displays the time in different time zones
PR: 11297
Submiited by: Jim Mock <jim@phrantic.phear.net>
-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 000000000000..105493448c50 --- /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 000000000000..49dece6ece19 --- /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 000000000000..9c99d555dd89 --- /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 000000000000..92dc61506bb9 --- /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 000000000000..2f107f1501d8 --- /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 000000000000..5c6ba549f6b7 --- /dev/null +++ b/x11-clocks/wmtz/pkg-plist @@ -0,0 +1,4 @@ +bin/wmtz +share/examples/wmtz/wmtzrc +@dirrm share/examples/wmtz + |