diff options
-rw-r--r-- | games/phantasia/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/games/phantasia/Makefile b/games/phantasia/Makefile index da4264f..d3dd6f7 100644 --- a/games/phantasia/Makefile +++ b/games/phantasia/Makefile @@ -14,6 +14,9 @@ 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; \ + fi ./setup -m ${.CURDIR}/monsters.asc chown games.bin /var/games/phantasia/* |