summaryrefslogblamecommitdiffstats
path: root/source/y/bsd-games/bsd-games.phantasia_install_fix.diff
blob: 098e604f02d4b5c8c3d21ca61c74d74da83a753a (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                                                        
--- bsd-games-2.13/phantasia/Makefrag	2001-08-31 00:55:25.000000000 +0300
+++ bsd-games-2.13/phantasia/Makefrag	2006-08-14 03:19:03.771302000 +0300
@@ -41,11 +41,11 @@
 	$(INSTALL_SCORE_GAME) phantasia/phantasia $(INSTALL_PREFIX)$(GAMESDIR)/phantasia
 	$(HIDE_GAME) phantasia
 	(set -e; for f in $(phantasia_VFILES1); do \
-	    cp phantasia/$$f $(PHANTASIA_DIR)/$$f; \
+	    cp phantasia/$$f $(INSTALL_PREFIX)$(PHANTASIA_DIR)/$$f; \
 	    $(INSTALL_SCORE_FILE) $(PHANTASIA_DIR)/$$f; done)
 	(set -e; for f in $(phantasia_VFILES2); do \
-	    if [ ! -e $(PHANTASIA_DIR)/$$f ]; then \
-		cp phantasia/$$f $(PHANTASIA_DIR)/$$f; fi; done; \
+	    if [ ! -e $(INSTALL_PREFIX)$(PHANTASIA_DIR)/$$f ]; then \
+		cp phantasia/$$f $(INSTALL_PREFIX)$(PHANTASIA_DIR)/$$f; fi; done; \
 	    $(INSTALL_SCORE_FILE) $(PHANTASIA_DIR)/scoreboard; \
 	    $(INSTALL_SCORE_FILE) -p $(PHANTASIA_DIR)/characs)
 	$(INSTALL_MANUAL) phantasia/phantasia.6