summaryrefslogtreecommitdiff
path: root/games/maelstrom/install_dirs.diff
blob: 08c95405b1efb14f9256334aefa87a09c68e89e6 (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
diff -Naur Maelstrom-3.0.6/Makefile.in Maelstrom-3.0.6.patched/Makefile.in
--- Maelstrom-3.0.6/Makefile.in	2002-10-20 00:19:42.000000000 -0400
+++ Maelstrom-3.0.6.patched/Makefile.in	2009-04-14 14:45:59.000000000 -0400
@@ -431,7 +431,7 @@
 
 # Special install rule for the game
 install:
-	make install_gamedata target=@GAME_INSTALLDIR@
+	make install_gamedata target=$(DESTDIR)/@GAME_INSTALLDIR@
 
 install_gamedata:
 	sh mkinstalldirs $(target)/
@@ -444,8 +444,8 @@
 	chmod 666 $(target)/Maelstrom-Scores
 
 install_gamedocs:
-	sh mkinstalldirs $(target)/
-	cp -rv README* COPYING* Docs*	$(target)/
+	sh mkinstalldirs $(DESTDIR)/$(target)/
+	cp -rv README* COPYING* Docs*	$(DESTDIR)/$(target)/
 
 # Rule to build tar-gzipped distribution package
 $(PACKAGE)-$(VERSION).tar.gz: dist
diff -Naur Maelstrom-3.0.6/configure Maelstrom-3.0.6.patched/configure
--- Maelstrom-3.0.6/configure	2002-10-19 23:43:07.000000000 -0400
+++ Maelstrom-3.0.6.patched/configure	2009-04-14 14:47:33.000000000 -0400
@@ -3232,7 +3232,7 @@
         GAME_INSTALLDIR="\$(prefix)/games/$PACKAGE"
         ;;
     *)
-        GAME_INSTALLDIR="\$(prefix)/games/$PACKAGE"
+        GAME_INSTALLDIR="\$(prefix)/share/games/$PACKAGE"
         ;;
 esac