Subject: Re: CVS commit: pkgsrc
To: None <mjl@netbsd.org>
From: SUNAGAWA Keiki <kei_sun@ba2.so-net.ne.jp>
List: pkgsrc-changes
Date: 04/02/2001 21:44:24
Hi,

"Martin J. Laubach" <mjl@netbsd.org> wrote:

Martin> Update of /cvsroot/pkgsrc/x11/wmfishtime In
Martin> directory netbsd.hut.fi:/tmp/cvs-serv16886

Martin> Log Message:
Martin> Initial import of wmfishtime, a dockable clock
Martin> application with clock, date and fish (and bubbles).

Well it's pretty.  BTW, we have 'time' category and other
clock programs are in there, so would it be better to be in
there instead of 'x11'?

And I needed to apply the change attached to make wmfishtank 
work. (I use twm.)

--
SUNAGAWA Keiki <kei_sun@ba2.so-net.ne.jp>
http://www05.u-page.so-net.ne.jp/ba2/kei_sun/
http://frill.yi.org/~kei/


diff -Nru --exclude=CVS wmfishtime.orig/Makefile wmfishtime/Makefile
--- wmfishtime.orig/Makefile	Mon Apr  2 12:58:11 2001
+++ wmfishtime/Makefile	Mon Apr  2 21:34:50 2001
@@ -13,4 +13,7 @@
 
 USE_X11BASE=	# defined
 
+MAKE_ENV+=	"PREFIX=${PREFIX} CC=${CC} SHELL=${SH}"
+MAKE_ENV+=	"INSTALL=${INSTALL_PROGRAM}"
+
 .include "../../mk/bsd.pkg.mk"
diff -Nru --exclude=CVS wmfishtime.orig/files/patch-sum wmfishtime/files/patch-sum
--- wmfishtime.orig/files/patch-sum	Thu Jan  1 09:00:00 1970
+++ wmfishtime/files/patch-sum	Mon Apr  2 21:31:21 2001
@@ -0,0 +1,3 @@
+$NetBSD$
+
+SHA1 (patch-aa) = 81b641d163d8fae2f2e8fa12b1f8fcc5ef57db62
diff -Nru --exclude=CVS wmfishtime.orig/patches/patch-aa wmfishtime/patches/patch-aa
--- wmfishtime.orig/patches/patch-aa	Thu Jan  1 09:00:00 1970
+++ wmfishtime/patches/patch-aa	Mon Apr  2 21:31:13 2001
@@ -0,0 +1,38 @@
+# $NetBSD$
+
+--- Makefile.orig	Fri Mar 30 05:14:33 2001
++++ Makefile	Mon Apr  2 21:29:57 2001
+@@ -8,10 +8,10 @@
+ # from that window, either. Again, complain to the developers. This is out
+ # of my control.
+ # 
+-# EXTRA = -DI_HAVE_A_BROKEN_WM
++EXTRA = -DI_HAVE_A_BROKEN_WM
+ 
+ # where to install this program
+-PREFIX = /usr/local
++#PREFIX = /usr/local
+ 
+ # no user serviceable parts below this line
+ # optimization cflags
+@@ -22,11 +22,11 @@
+ # CFLAGS=-fprofile-arcs -ftest-coverage -Wall -ansi -pedantic -g `gtk-config --cflags` ${EXTRA} -DPRO
+ 
+ 
+-CC = gcc
+-SHELL = sh
++#CC = gcc
++#SHELL = sh
+ OBJS = fishmon.o
+ LIBS = `gtk-config --libs | sed "s/-lgtk//g"`
+-INSTALL = -m 755
++#INSTALL = -m 755
+ 
+ all: wmfishtime
+ 
+@@ -37,4 +37,4 @@
+ 	rm -rf wmfishtime *.o *.bb* *.gcov gmon.* *.da *~ .xvpics
+ 
+ install:
+-	install $(INSTALL) wmfishtime $(PREFIX)/bin
++	$(INSTALL) wmfishtime $(PREFIX)/bin