summaryrefslogtreecommitdiff
path: root/games/tksol/files/patch-a
blob: 9305876571a0deb1a2fbcd60ce4f1451a130958c (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
--- Makefile.orig	Mon Feb 21 10:36:31 1994
+++ Makefile	Fri Jan  3 03:17:35 1997
@@ -11,7 +11,7 @@
         CHMOD = chmod
          ECHO = echo
         MKDIR = mkdir -p
-      INSTALL = install -c -m 644
+      INSTALL = install -c -m 644 -g bin -o bin
 
     BINSCRIPT = -e 's+@cardbitmaps@+$(CARDBITMAPS)+g' \
                 -e 's+@downbitmaps@+$(DOWNBITMAPS)+g' \
@@ -23,27 +23,27 @@
 ############################################
 # Absolute pathname of the wish executable #
 ############################################
-WISH = /usr/imports/bin/wish
+WISH = ${PREFIX}/bin/wish8.1
 
 ####################################################
 # Directory where the script tksol will be located #
 ####################################################
-BINDIR = /homes/bao/src/test/tksol
+BINDIR = ${PREFIX}/bin
 
 #####################################################
 # Directory where the tksol manpage will be located #
 #####################################################
-MANDIR = /homes/bao/src/man
+MANDIR = ${PREFIX}/man/man6
 
 ####################################################################
 # Directory where the bitmaps for the faceup cards will be located #
 ####################################################################
-CARDBITMAPS = /homes/bao/src/test/tksol/cardbitmaps
+CARDBITMAPS = ${PREFIX}/share/games/tksol/cardbitmaps
 
 ######################################################################
 # Directory where the bitmaps for the facedown cards will be located #
 ######################################################################
-DOWNBITMAPS = /homes/bao/src/test/tksol/downbitmaps
+DOWNBITMAPS = ${PREFIX}/share/games/tksol/downbitmaps
 
 #####################################################################
 # Specify whether your wish has the TkPixmap patch installed or not #
@@ -59,10 +59,10 @@
 	$(SED) $(BINSCRIPT) tksol.in > tksol
 
 tksol.1: tksol.man Makefile
-	$(SED) $(MANSCRIPT) tksol.man > tksol.1
+	$(SED) $(MANSCRIPT) tksol.man > tksol.6
 
 clean:
-	$(RM) tksol tksol.1
+	$(RM) tksol tksol.6
 
 install: instbin instman instbitmap
 
@@ -91,6 +91,6 @@
 		$(INSTALL) * $(DOWNBITMAPS); \
 	fi
 
-instman: tksol.1
+instman: tksol.6
 	-$(MKDIR) $(MANDIR)
-	$(INSTALL) tksol.1 $(MANDIR)/tksol.1
+	$(INSTALL) tksol.6 $(MANDIR)/tksol.6