Update of /cvsroot/fink/dists/10.4-transitional/stable/main/finkinfo/games
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1116

Added Files:
        xkobo.info xkobo.patch 
Log Message:
Bring xkobo into stable/


--- NEW FILE: xkobo.info ---
Package: xkobo
Version: 1.11+w01
Revision: 1
Depends: x11
BuildDepends: passwd, x11-dev
Source: http://distfiles.opendarwin.org/%N-%v.tar.gz
Source-MD5: ff5365868ef825e34eb2504c0ed7a58f
Patch: %n.patch
CompileScript: <<
   xmkmf -a
   make xkobo DESTDIR=%p SHAREDIR=/share
<<
InstallScript: <<
   make install DESTDIR=%d BINDIR=%p/bin MANPATH=%p/share/man SHAREDIR=%p/share
   mkdir -p %i/share/man/man1/
   install -c xkobo.man %i/share/man/man1/xkobo.1
   strip %i/bin/xkobo
   chgrp games %i/bin/xkobo
   chmod 2555 %i/bin/xkobo
   chgrp games %i/share/xkobo-scores/
   chmod 2775 %i/share/xkobo-scores/
<<
DocFiles: README COPYING CHANGES
Description: The fun and exciting spaceship game
DescDetail: <<
xkobo is a simple, but addictive little game.
It has space ships and shooting and all kinds of fun things.
<<
DescPort: <<
This is a straight compile of xkobo.  No options.
<<
Maintainer: Rob Braun <[EMAIL PROTECTED]>
Homepage: http://fink.sourceforge.net/pdb/package.php/xkobo
License: GPL

--- NEW FILE: xkobo.patch ---
diff -udr xkobo-1.11+w01/Imakefile xkobo-1.11+w01-bbraun/Imakefile
--- xkobo-1.11+w01/Imakefile    Thu Jan  9 18:29:36 1997
+++ xkobo-1.11+w01-bbraun/Imakefile     Fri May  2 02:55:50 2003
@@ -6,7 +6,7 @@
 SHIPS       = 5
 
 /*  RECORDS  */
-HSCORE_DIR  = /usr/local/games/xkobo-scores
+HSCORE_DIR  = $(DESTDIR)/$(SHAREDIR)/xkobo-scores
 
 /*  C++ COMPILER  */
 /*  CXX         = g++  */
@@ -71,9 +71,9 @@
 install::
        if [ -d $(HSCORE_DIR) ]; then chmod 755 $(HSCORE_DIR); \
        else mkdirhier $(HSCORE_DIR); chmod 755 $(HSCORE_DIR); fi
-       chown $(XKOBO_ADMINISTER) $(BINDIR)/xkobo
+       chown $(XKOBO_ADMINISTER) $(DESTDIR)/$(BINDIR)/xkobo
        chown -R $(XKOBO_ADMINISTER) $(HSCORE_DIR)
-       chmod 4755 $(BINDIR)/xkobo
+       chmod 4755 $(DESTDIR)/$(BINDIR)/xkobo
 #else /* SECURE_SCOREFILES */
 install::
        if [ -d $(HSCORE_DIR) ]; then chmod 777 $(HSCORE_DIR); \
diff -udr xkobo-1.11+w01/xkobo.C xkobo-1.11+w01-bbraun/xkobo.C
--- xkobo-1.11+w01/xkobo.C      Sat Jan  5 18:20:42 2002
+++ xkobo-1.11+w01-bbraun/xkobo.C       Fri May  2 02:40:11 2003
@@ -229,7 +229,7 @@
     manage.init();
     
     memset(&sig_act, 0, sizeof(sig_act));
-    sig_act.sa_handler = (__sighandler_t) &sig_handle;
+    sig_act.sa_handler = &sig_handle;
     sigaction(SIGALRM, &sig_act, 0);
     value.it_interval.tv_sec = 0;
     value.it_interval.tv_usec = wait_msec * 1000;



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to