summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1994-09-08 04:17:57 +0000
committerjkh <jkh@FreeBSD.org>1994-09-08 04:17:57 +0000
commit0264427a622649306adcc89c3cb4dd9abc48eed9 (patch)
treee71144300ff0bcfae3d0fd2f9e796658f92d16f8 /games
parent066f92c619bf884de4f4c04115dc5a187b73d60b (diff)
downloadFreeBSD-src-0264427a622649306adcc89c3cb4dd9abc48eed9.zip
FreeBSD-src-0264427a622649306adcc89c3cb4dd9abc48eed9.tar.gz
Make this work with missing dirs.
Submitted by: jkh
Diffstat (limited to 'games')
-rw-r--r--games/quiz/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/games/quiz/Makefile b/games/quiz/Makefile
index 8044644..7c45baf 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)
OpenPOWER on IntegriCloud