games/einstein: fix staging

PR:		191779
Submitted by:	Andrey Zholos
Approved by:	maintainer (timeout)
This commit is contained in:
William Grzybowski 2014-07-27 19:20:06 +00:00
parent fb94416977
commit 247c26f94d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363095

View File

@ -5,7 +5,7 @@
# installation prefix
-PREFIX=/usr/local
+PREFIX=@@STAGEDIR@@@@PREFIX@@
+PREFIX=@@PREFIX@@
########################################
#
@ -26,9 +26,9 @@
install: $(TARGET)
- $(INSTALL) -s -D $(TARGET) $(PREFIX)/bin/$(TARGET)
- $(INSTALL) -D einstein.res $(PREFIX)/share/einstein/res/einstein.res
+ $(INSTALL) $(TARGET) $(PREFIX)/bin/$(TARGET)
+ mkdir -p $(PREFIX)/share/einstein/res/
+ $(INSTALL) einstein.res $(PREFIX)/share/einstein/res/einstein.res
+ $(INSTALL) $(TARGET) $(DESTDIR)$(PREFIX)/bin/$(TARGET)
+ mkdir -p $(DESTDIR)$(PREFIX)/share/einstein/res/
+ $(INSTALL) einstein.res $(DESTDIR)$(PREFIX)/share/einstein/res/einstein.res
# DO NOT DELETE THIS LINE -- make depend depends on it.