summaryrefslogtreecommitdiffstats
path: root/games/phantasia/Makefile
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1994-09-08 04:15:34 +0000
committerjkh <jkh@FreeBSD.org>1994-09-08 04:15:34 +0000
commit066f92c619bf884de4f4c04115dc5a187b73d60b (patch)
tree1deb7ad57338f7ec22e433b895d06c0d05e7d19f /games/phantasia/Makefile
parent1e830feda8cf37b6e0eecee2bfea862cd7b22363 (diff)
downloadFreeBSD-src-066f92c619bf884de4f4c04115dc5a187b73d60b.zip
FreeBSD-src-066f92c619bf884de4f4c04115dc5a187b73d60b.tar.gz
Woo, naughty! It just occurred to me that this guy wasn't using
${DESTDIR} - fixed. Submitted by: jkh
Diffstat (limited to 'games/phantasia/Makefile')
-rw-r--r--games/phantasia/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/phantasia/Makefile b/games/phantasia/Makefile
index d3dd6f7..0c247c7 100644
--- a/games/phantasia/Makefile
+++ b/games/phantasia/Makefile
@@ -14,11 +14,11 @@ setup: phantglobs.o setup.o monsters.asc ${LIBM}
${CC} phantglobs.o setup.o -o ${.TARGET} -lm
beforeinstall:
- @if [ ! -d /var/games/phantasia ]; then \
- mkdir -p /var/games/phantasia; \
+ @if [ ! -d ${DESTDIR}/var/games/phantasia ]; then \
+ mkdir -p ${DESTDIR}/var/games/phantasia; \
fi
./setup -m ${.CURDIR}/monsters.asc
- chown games.bin /var/games/phantasia/*
+ chown games.bin ${DESTDIR}/var/games/phantasia/*
# Make Phantasia map. Change the map commands reflect your installation.
# PLOTDEVICE is used for plotting the map. Change as appropriate.
OpenPOWER on IntegriCloud