summaryrefslogtreecommitdiff
path: root/games/gnuchess4/patches/patch-ae
blob: 6182bfbf914f5434c00abebe3b688a1410a0febf (plain)
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
$NetBSD: patch-ae,v 1.2 2000/03/27 10:25:01 jlam Exp $

--- Makefile.in.orig	Sun Sep 27 23:41:13 1998
+++ Makefile.in	Sun Mar 26 16:15:23 2000
@@ -127,7 +127,7 @@
 
 prefix = @prefix@
 exec_prefix = @exec_prefix@
-LIBDIR = $(prefix)/lib
+LIBDIR = $(prefix)/share/gnuchess4
 BINDIR = $(exec_prefix)/bin
 MANDIR = $(prefix)/man/man6
 MANEXT = .6
@@ -148,29 +148,30 @@
 all: gnuchess gnuchessr gnuchessn gnuchessx gnuchessc postprint gnuan game gnuchess.eco gnuchess.data
 
 install: 
-	$(INSTALL) gnuchess $(BINDIR)/gnuchess	
-	$(INSTALL) gnuchessr $(BINDIR)/gnuchessr
-	$(INSTALL) gnuchessn $(BINDIR)/gnuchessn
-	$(INSTALL) gnuchessx $(BINDIR)/gnuchessx
-	$(INSTALL) gnuchessc $(BINDIR)/gnuchessc
+	$(INSTALL) gnuchess $(BINDIR)/gnuchess4
+	$(INSTALL) gnuchessr $(BINDIR)/gnuchessr4
+	$(INSTALL) gnuchessn $(BINDIR)/gnuchessn4
+	$(INSTALL) gnuchessx $(BINDIR)/gnuchessx4
+	$(INSTALL) gnuchessc $(BINDIR)/gnuchessc4
 	$(INSTALL) postprint $(BINDIR)/postprint
 	$(INSTALL) gnuan $(BINDIR)/gnuan
 	$(INSTALL) game $(BINDIR)/game
+	mkdir $(LIBDIR)
 	$(INSTALL) $(srcdir)/../misc/gnuchess.lang $(LIBDIR)/gnuchess.lang
 	$(INSTALL) $(srcdir)/../book/eco.pgn $(LIBDIR)/eco.pgn
 	$(INSTALL) gnuchess.data $(LIBDIR)/gnuchess.data
 	$(INSTALL) gnuchess.eco $(LIBDIR)/gnuchess.eco
 	$(INSTALL_DATA) $(srcdir)/../doc/game.6 $(MANDIR)/game.6
 	$(INSTALL_DATA) $(srcdir)/../doc/gnuan.6 $(MANDIR)/gnuan.6
-	$(INSTALL_DATA) $(srcdir)/../doc/gnuchess.6 $(MANDIR)/gnuchess.6
+	$(INSTALL_DATA) $(srcdir)/../doc/gnuchess.6 $(MANDIR)/gnuchess4.6
 	$(INSTALL_DATA) $(srcdir)/../doc/postprint.6 $(MANDIR)/postprint.6
 
 uninstall:
-	rm -f $(BINDIR)/gnuchess
-	rm -f $(BINDIR)/gnuchessr
-	rm -f $(BINDIR)/gnuchessn
-	rm -f $(BINDIR)/gnuchessx
-	rm -f $(BINDIR)/gnuchessc
+	rm -f $(BINDIR)/gnuchess4
+	rm -f $(BINDIR)/gnuchessr4
+	rm -f $(BINDIR)/gnuchessn4
+	rm -f $(BINDIR)/gnuchessx4
+	rm -f $(BINDIR)/gnuchessc4
 	rm -f $(BINDIR)/postprint
 	rm -f $(BINDIR)/gnuan
 	rm -f $(BINDIR)/game
@@ -180,7 +181,7 @@
 	rm -f $(LIBDIR)/gnuchess.eco
 	rm -f $(MANDIR)/game.6
 	rm -f $(MANDIR)/gnuan.6
-	rm -f $(MANDIR)/gnuchess.6
+	rm -f $(MANDIR)/gnuchess4.6
 	rm -f $(MANDIR)/postprint.6
 
 clean: