aboutsummaryrefslogtreecommitdiff
path: root/games/quiz
diff options
context:
space:
mode:
Diffstat (limited to 'games/quiz')
-rw-r--r--games/quiz/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/games/quiz/Makefile b/games/quiz/Makefile
index 804464424ff6..7c45bafcc7f9 100644
--- a/games/quiz/Makefile
+++ b/games/quiz/Makefile
@@ -10,6 +10,9 @@ CATS= africa america areas arith asia babies bard chinese collectives \
HIDEGAME=hidegame
beforeinstall:
+ @if [ ! -d ${DESTDIR}/usr/share/games/quiz.db ]; then \
+ mkdir -p ${DESTDIR}/usr/share/games/quiz.db; \
+ fi
(cd ${.CURDIR}/datfiles; install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
${CATS} ${DESTDIR}/usr/share/games/quiz.db)