aboutsummaryrefslogtreecommitdiff
path: root/games/xbat/files/patch-Imakefile
blob: 6f9c65f0b5632928ec744695bbb228d3a2524a74 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
--- Imakefile.orig	1997-03-17 12:32:22 UTC
+++ Imakefile
@@ -1,24 +1,24 @@
 # TOP10 DIR : directory for socre files
 #
-SCORE_DIR  = /usr/local/games/Xbat/Score
+SCORE_DIR  = /var/games/xbat/Score
 
 # IMAGE DIR : directory for image files
-IMAGE_DIR = /usr/local/games/Xbat/Image
+IMAGE_DIR = ${PREFIX}/lib/X11/Xbat/Image
 
 # MAP DIR : directory for map files
-MAP_DIR = /usr/local/games/Xbat/Map
+MAP_DIR = ${PREFIX}/lib/X11/Xbat/Map
 
 # DOMO_DIR : directory for domogram movement files
-DOMO_DIR = /usr/local/games/Xbat/Domo
+DOMO_DIR = ${PREFIX}/lib/X11/Xbat/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
+BINDIR = ${PREFIX}/bin
 
 #######################################################################
 
@@ -48,9 +48,8 @@ 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) ; \
+	MakeDir($(DESTDIR)$(SCORE_DIR))
+	@case '${MFLAGS}' in *[i]*) set +e;; esac; cd Score; for i in ?* ; do set -x; $(INSTALL) -c -m 0666 $$i $(DESTDIR)$(SCORE_DIR)/$$i.sample ; \
 	done;
 	
 	MakeDir($(DESTDIR)$(IMAGE_DIR))