Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Apr 2005 23:00:08 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/80202: Update port: games/wmeyes to 1.2
Message-ID:  <20050421230008.656c2323.tkato432@yahoo.com>
Resent-Message-ID: <200504211410.j3LEAKVi009326@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         80202
>Category:       ports
>Synopsis:       Update port: games/wmeyes to 1.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 21 14:10:19 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.11-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Update to version 1.2

Remove file:
files/patch-aa

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/wmeyes/Makefile games/wmeyes/Makefile
--- /usr/ports/games/wmeyes/Makefile	Wed Apr 20 13:40:13 2005
+++ games/wmeyes/Makefile	Thu Apr 21 20:49:56 2005
@@ -6,16 +6,30 @@
 #
 
 PORTNAME=	wmeyes
-PORTVERSION=	1.0
+PORTVERSION=	1.2
 CATEGORIES=	games
-MASTER_SITES=	ftp://thrush.omix.com/pub/misc/
+MASTER_SITES=	http://www.bstern.org/wmeyes/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	The world's most useless WindowMaker dock app
 
 USE_IMAKE=	yes
 USE_XPM=	yes
-MAN1=		wmeyes.1
+USE_REINPLACE=	yes
+NO_INSTALL_MANPAGES=	yes
+
+PORTDOCS=	README
 PLIST_FILES=	bin/wmeyes
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|Target(|TargetNoMan(|g' ${WRKSRC}/Imakefile
+
+post-install:
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}
+.for file in ${PORTDOCS}
+	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
+.endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/games/wmeyes/distinfo games/wmeyes/distinfo
--- /usr/ports/games/wmeyes/distinfo	Wed Mar 31 18:07:57 2004
+++ games/wmeyes/distinfo	Wed Apr 20 11:46:03 2005
@@ -1,2 +1,2 @@
-MD5 (wmeyes-1.0.tar.gz) = 7f3e5206fe45388cbc6364042567a1b0
-SIZE (wmeyes-1.0.tar.gz) = 11216
+MD5 (wmeyes-1.2.tar.gz) = bb687b5fea83d49b35552a181083142b
+SIZE (wmeyes-1.2.tar.gz) = 10681
diff -urN /usr/ports/games/wmeyes/files/patch-aa games/wmeyes/files/patch-aa
--- /usr/ports/games/wmeyes/files/patch-aa	Wed Mar 31 15:33:48 1999
+++ games/wmeyes/files/patch-aa	Thu Jan  1 09:00:00 1970
@@ -1,78 +0,0 @@
---- 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 -urN /usr/ports/games/wmeyes/pkg-descr games/wmeyes/pkg-descr
--- /usr/ports/games/wmeyes/pkg-descr	Wed Mar 31 15:33:48 1999
+++ games/wmeyes/pkg-descr	Wed Apr 20 11:45:26 2005
@@ -2,3 +2,5 @@
 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.
+
+WWW: http://www.bstern.org/wmeyes/
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050421230008.656c2323.tkato432>