Edit

IABSD.fr/ports/games/xbat/patches

Branch :

  • Show log

    Commit

  • Author : steven
    Date : 2006-11-10 17:07:18
    Hash : 54e4f62f
    Message : write scores in /var/games/Xbat, with appropriate modes regen patches while here. discussed with nikolay

  • patch-Imakefile
  • $OpenBSD: patch-Imakefile,v 1.1 2006/11/10 17:07:18 steven Exp $
    --- Imakefile.orig	Mon Mar 17 13:32:22 1997
    +++ Imakefile	Fri Nov 10 11:51:42 2006
    @@ -1,24 +1,24 @@
    +XBATDIR=$(USRLIBDIR)/X11/Xbat
     # TOP10 DIR : directory for socre files
     #
    -SCORE_DIR  = /usr/local/games/Xbat/Score
    +SCORE_DIR  = /var/games/Xbat
     
     # IMAGE DIR : directory for image files
    -IMAGE_DIR = /usr/local/games/Xbat/Image
    +IMAGE_DIR = $(XBATDIR)/Image
     
     # MAP DIR : directory for map files
    -MAP_DIR = /usr/local/games/Xbat/Map
    +MAP_DIR = $(XBATDIR)/Map
     
     # DOMO_DIR : directory for domogram movement files
    -DOMO_DIR = /usr/local/games/Xbat/Domo
    +DOMO_DIR = $(XBATDIR)/Domo
     
     # UNION : Set 1 if you have Intel CPU or so.
     # If you don't know whether you have Intel CPU or not, 
     # compile union_check.c and run.
    -UNION = 0
    -#UNION = 1 
    +#UNION = 0
    +UNION = 1 
     
     #BIN DIR
    -BINDIR = /usr/local/bin
     
     #######################################################################
     
    @@ -48,11 +48,6 @@ DependTarget()
     CleanTarget()
     
     install::
    -	MakeDir($(DESTDIR)$(SCORE_DIR))
    -	chmod 777 $(DESTDIR)$(SCORE_DIR);
    -	@case '${MFLAGS}' in *[i]*) set +e;; esac; for i in Score/?* ; do set -x; $(INSTALL) -c -m 0666 $$i $(DESTDIR)$(SCORE_DIR) ; \
    -	done;
    -	
     	MakeDir($(DESTDIR)$(IMAGE_DIR))
     	@case '${MFLAGS}' in *[i]*) set +e;; esac; for i in Image/?* ; do (set -x; $(INSTALL) -c $(INSTLIBFLAGS) $$i $(DESTDIR)$(IMAGE_DIR) ); \
     	done;