slackware-current/source/y/bsd-games/bsd-games.phantasia_install_fix.diff

18 lines
931 B
Diff
Raw Permalink Normal View History

--- 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