1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-30 16:51:41 +00:00

Woo, naughty! It just occurred to me that this guy wasn't using

${DESTDIR} - fixed.
Submitted by:	jkh
This commit is contained in:
Jordan K. Hubbard 1994-09-08 04:15:34 +00:00
parent 6d002167be
commit d0a05ae033
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2565

View File

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