summaryrefslogtreecommitdiff
path: root/games/maelstrom-sdl/patches/patch-aa
blob: d52e7c5b48fa388cbbee999556b82c5421a8f888 (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
$NetBSD: patch-aa,v 1.3 2010/03/23 16:02:39 joerg Exp $

--- Makefile.am.orig	2001-07-23 03:45:05.000000000 +0000
+++ Makefile.am
@@ -65,11 +65,12 @@ DIST_SUBDIRS = $(SUBDIRS) Images Docs
 
 # Special install rule for the game
 install:
-	make install_gamedata target=@GAME_INSTALLDIR@
+	make install_gamedata target=${DESTDIR}@GAME_INSTALLDIR@
+	make install_gamedocs target=${DESTDIR}$(prefix)/share/doc/Maelstrom
 
 install_gamedata:
 	sh mkinstalldirs $(target)/
-	cp -rv Images			\
+	$(CP) -R Images			\
 	       Maelstrom_Fonts		\
 	       Maelstrom_Sounds		\
 	       Maelstrom_Sprites	\
@@ -79,7 +80,7 @@ install_gamedata:
 
 install_gamedocs:
 	sh mkinstalldirs $(target)/
-	cp -rv README* COPYING* Docs*	$(target)/
+	$(CP) -R README* COPYING* Docs*	$(target)/
 
 # Rule to build tar-gzipped distribution package
 $(PACKAGE)-$(VERSION).tar.gz: dist