aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortaoka <taoka@FreeBSD.org>1999-03-31 14:33:48 +0800
committertaoka <taoka@FreeBSD.org>1999-03-31 14:33:48 +0800
commitaf1a5db9a1a8a1dcc563303758298ee390b8fea8 (patch)
treee617c78ce6110df9c19e6a602f6fcbc86f3df652
parentcf1b9d50268fda9695aac22322edd2e20de3906b (diff)
downloadfreebsd-ports-gnome-af1a5db9a1a8a1dcc563303758298ee390b8fea8.tar.gz
freebsd-ports-gnome-af1a5db9a1a8a1dcc563303758298ee390b8fea8.tar.zst
freebsd-ports-gnome-af1a5db9a1a8a1dcc563303758298ee390b8fea8.zip
The world's most useless WindowMaker dock app.
PR: ports/10730 Submitted by: Byron Brummer byron@thrush.omix.com
-rw-r--r--games/wmeyes/Makefile17
-rw-r--r--games/wmeyes/distinfo1
-rw-r--r--games/wmeyes/files/patch-aa78
-rw-r--r--games/wmeyes/pkg-comment1
-rw-r--r--games/wmeyes/pkg-descr4
-rw-r--r--games/wmeyes/pkg-plist1
6 files changed, 102 insertions, 0 deletions
diff --git a/games/wmeyes/Makefile b/games/wmeyes/Makefile
new file mode 100644
index 000000000000..3217bf363973
--- /dev/null
+++ b/games/wmeyes/Makefile
@@ -0,0 +1,17 @@
+# New ports collection makefile for: wmeyes
+# Version required: 1.0
+# Date created: 18 March 1999
+# Whom: Zenin <zenin@archive.rhps.org>
+#
+# $Id$
+#
+
+DISTNAME= wmeyes-1.0
+CATEGORIES= games
+MASTER_SITES= ftp://thrush.omix.com/pub/misc/
+
+MAINTAINER= zenin@archive.rhps.org
+
+USE_IMAKE= yes
+
+.include <bsd.port.mk>
diff --git a/games/wmeyes/distinfo b/games/wmeyes/distinfo
new file mode 100644
index 000000000000..e769d9bd7211
--- /dev/null
+++ b/games/wmeyes/distinfo
@@ -0,0 +1 @@
+MD5 (wmeyes-1.0.tar.gz) = 7f3e5206fe45388cbc6364042567a1b0
diff --git a/games/wmeyes/files/patch-aa b/games/wmeyes/files/patch-aa
new file mode 100644
index 000000000000..300f0ec1d7e0
--- /dev/null
+++ b/games/wmeyes/files/patch-aa
@@ -0,0 +1,78 @@
+--- wmeyes.c.orig Sat May 23 18:44:25 1998
++++ wmeyes.c Mon Mar 22 08:45:36 1999
+@@ -3,7 +3,6 @@
+ #include <string.h>
+ #include <math.h>
+ #include <signal.h>
+-#include <getopt.h>
+ #include <sys/time.h>
+
+ #include <X11/X.h>
+@@ -74,6 +73,8 @@
+ void scanArgs(int argc,char *argv[]);
+ unsigned long getColor(char *colorName);
+
++extern char *optarg;
++
+ void do_nothing(void)
+ {
+ }
+@@ -322,19 +323,8 @@
+ bool helpflag = FALSE;
+ bool errflag = FALSE;
+
+- static struct option long_opts[] = {
+- {"help", no_argument, NULL, 'h'},
+- {"withdrawn", no_argument, NULL, 'w'},
+- {"shape", no_argument, NULL, 's'},
+- {"pupil", required_argument, NULL, 'p'},
+- {"outside", required_argument, NULL, 'o'},
+- {"inside", required_argument, NULL, 'i'},
+- {"time", required_argument, NULL, 't'},
+- {"display", required_argument, NULL, 'd'}};
+-
+- while(1) {
+- opt_index = 0;
+- c = getopt_long_only(argc, argv, "hwsp:o:i:d:", long_opts, &opt_index);
++ while(1) {
++ c = getopt(argc, argv, "hwsp:o:i:d:t:");
+ if (c == -1) {
+ break;
+ }
+@@ -372,24 +362,25 @@
+ break;
+ }
+ }
++
+ if (errflag) {
+ fprintf(stderr, "Usage: %s [-h] [-ws] [-p pupclr] [-o outclr] [-i inclr] [-display disp]\n", argv[0]);
+ exit(1);
+ }
++
+ if (helpflag) {
+ fprintf(stderr,"WMeyes 1.0 - The world's most useless WindowMaker dock app.\n");
+ fprintf(stderr,"by Bryan Feir (jenora@istar.ca)\n\n");
+- fprintf(stderr,"Usage: %s [-h] [-ws] [-p pupclr] [-o outclr] [-i inclr] [-display disp]\n", argv[0]);
+- fprintf(stderr,"short long argument description\n");
+- fprintf(stderr," -h --help display this help screen\n");
+- fprintf(stderr," -w --withdrawn withdraw window (for WindowMaker)\n");
+- fprintf(stderr," -s --shape use shaped window\n");
+- fprintf(stderr," -p --pupil pupclr set the colour of the eyes' pupils (default %s)\n", EYECOLOR);
+- fprintf(stderr," -o --outside outclr set the outside colour of the eyes (default %s)\n", OUTCOLOR);
+- fprintf(stderr," -i --inside inclr set the inside colour of the eyes (default %s)\n", INCOLOR);
+- fprintf(stderr," -t --time msec set the interation time in msec (default %d)\n", REPTIME);
+- fprintf(stderr," -d --display disp set the X display to use\n");
+- fprintf(stderr," -display disp set the X display to use\n");
++ fprintf(stderr,"Usage: %s [-h] [-ws] [-p pupclr] [-o outclr] [-i inclr] [-d disp]\n", argv[0]);
++ fprintf(stderr,"option argument description\n");
++ fprintf(stderr," -h display this help screen\n");
++ fprintf(stderr," -w withdraw window (for WindowMaker)\n");
++ fprintf(stderr," -s use shaped window\n");
++ fprintf(stderr," -p pupclr set the colour of the eyes' pupils (default %s)\n", EYECOLOR);
++ fprintf(stderr," -o outclr set the outside colour of the eyes (default %s)\n", OUTCOLOR);
++ fprintf(stderr," -i inclr set the inside colour of the eyes (default %s)\n", INCOLOR);
++ fprintf(stderr," -t msec set the interation time in msec (default %d)\n", REPTIME);
++ fprintf(stderr," -d disp set the X display to use\n");
+ exit(0);
+ }
+ }
diff --git a/games/wmeyes/pkg-comment b/games/wmeyes/pkg-comment
new file mode 100644
index 000000000000..665ec38a9aee
--- /dev/null
+++ b/games/wmeyes/pkg-comment
@@ -0,0 +1 @@
+The world's most useless WindowMaker dock app.
diff --git a/games/wmeyes/pkg-descr b/games/wmeyes/pkg-descr
new file mode 100644
index 000000000000..712e7d24296d
--- /dev/null
+++ b/games/wmeyes/pkg-descr
@@ -0,0 +1,4 @@
+WMeyes is a pretty simple application: it sits in the WindowMaker dock, and
+a pair of eyes track your cursor. Actually, the program should work in all
+window managers, but then you don't have a dock to sit it in, in which case
+you might as well use xeyes.
diff --git a/games/wmeyes/pkg-plist b/games/wmeyes/pkg-plist
new file mode 100644
index 000000000000..301951983703
--- /dev/null
+++ b/games/wmeyes/pkg-plist
@@ -0,0 +1 @@
+bin/wmeyes