summaryrefslogtreecommitdiff
path: root/x11-clocks
diff options
context:
space:
mode:
Diffstat (limited to 'x11-clocks')
-rw-r--r--x11-clocks/wmitime/Makefile25
-rw-r--r--x11-clocks/wmitime/distinfo1
-rw-r--r--x11-clocks/wmitime/files/patch-aa40
-rw-r--r--x11-clocks/wmitime/pkg-comment1
-rw-r--r--x11-clocks/wmitime/pkg-descr7
-rw-r--r--x11-clocks/wmitime/pkg-plist1
6 files changed, 75 insertions, 0 deletions
diff --git a/x11-clocks/wmitime/Makefile b/x11-clocks/wmitime/Makefile
new file mode 100644
index 000000000000..c46d581e085a
--- /dev/null
+++ b/x11-clocks/wmitime/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: wmitime
+# Version required: 0.2
+# Date created: 14 March 1999
+# Whom: Jim Mock <jim@phrantic.phear.net>
+#
+# $Id$
+#
+
+DISTNAME= wmitime-0.2
+CATEGORIES= x11-clocks windowmaker afterstep
+MASTER_SITES= http://www.neotokyo.org/illusion/
+
+MAINTAINER= jim@phrantic.phear.net
+
+LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
+
+USE_GMAKE= yes
+USE_X_PREFIX= yes
+
+WRKSRC= ${WRKDIR}/wmitime.app/wmitime
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/wmitime ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/x11-clocks/wmitime/distinfo b/x11-clocks/wmitime/distinfo
new file mode 100644
index 000000000000..175433bb38a1
--- /dev/null
+++ b/x11-clocks/wmitime/distinfo
@@ -0,0 +1 @@
+MD5 (wmitime-0.2.tar.gz) = 80de7b5fd8fb3eb19e01389d39063b8f
diff --git a/x11-clocks/wmitime/files/patch-aa b/x11-clocks/wmitime/files/patch-aa
new file mode 100644
index 000000000000..9f05518d5e6c
--- /dev/null
+++ b/x11-clocks/wmitime/files/patch-aa
@@ -0,0 +1,40 @@
+--- Makefile.orig Sat Dec 12 13:11:45 1998
++++ Makefile Tue Mar 16 20:05:45 1999
+@@ -1,6 +1,10 @@
++CC ?= gcc
++CFLAGS ?= -O2
++CFLAGS += -Wall
++INCDIR = -I/usr/X11R6/include/X11 -I/usr/X11R6/include
++DESTDIR = /usr/X11R6
+ LIBDIR = -L/usr/X11R6/lib
+ LIBS = -lXpm -lXext -lX11 -lm
+-FLAGS = -O2
+ OBJS = wmitime.o \
+ ../wmgeneral/wmgeneral.o \
+ ../wmgeneral/misc.o \
+@@ -8,10 +12,10 @@
+
+
+ .c.o:
+- cc -I/usr/X11R6/share/include $(FLAGS) -c -Wall $< -o $*.o
++ $(CC) $(CFLAGS) -D$(shell echo `uname -s`) -c $< -o $*.o $(INCDIR)
+
+ wmtime: $(OBJS)
+- cc $(FLAGS) -o wmitime $^ -lXext $(LIBDIR) $(LIBS)
++ $(CC) $(CFLAGS) $(SYSTEM) -o wmitime $^ $(INCDIR) $(LIBDIR) $(LIBS)
+
+ all:: wmtime
+
+@@ -23,11 +27,5 @@
+ rm -f *~
+
+ install:: wmitime
+- cp -f wmitime /usr/local/bin/
+- chmod 755 /usr/local/bin/wmitime
+- chown root:root /usr/local/bin/wmitime
+-# cp wminetrc $(HOME)/.wminetrc
+-# chmod 600 $(HOME)/.wminetrc
+-# cp wminetrc /etc/wminetrc
+-# chmod 644 /etc/wminetrc
++ install -s -m 0755 wmitime $(DESTDIR)/bin
+ @echo "wmitime Installation finished..."
diff --git a/x11-clocks/wmitime/pkg-comment b/x11-clocks/wmitime/pkg-comment
new file mode 100644
index 000000000000..4a67c406eae0
--- /dev/null
+++ b/x11-clocks/wmitime/pkg-comment
@@ -0,0 +1 @@
+A clock dockapp that shows the date, time, and internet time.
diff --git a/x11-clocks/wmitime/pkg-descr b/x11-clocks/wmitime/pkg-descr
new file mode 100644
index 000000000000..f76cb52490f1
--- /dev/null
+++ b/x11-clocks/wmitime/pkg-descr
@@ -0,0 +1,7 @@
+WMitime is yet another clock dockapp (and quite overglorified at that)
+it shows standard time, date, as well as the new internet time. For
+more info on internet time, see http://www.swatch.com/
+
+WWW Homepage: http://www.neotokyo.org/illusion/
+
+- Jim <jim@phrantic.phear.net>
diff --git a/x11-clocks/wmitime/pkg-plist b/x11-clocks/wmitime/pkg-plist
new file mode 100644
index 000000000000..a58a8076b178
--- /dev/null
+++ b/x11-clocks/wmitime/pkg-plist
@@ -0,0 +1 @@
+bin/wmitime