summaryrefslogtreecommitdiffstats
path: root/games/cribbage/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/cribbage/Makefile')
-rw-r--r--games/cribbage/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/games/cribbage/Makefile b/games/cribbage/Makefile
index a21ae20..1265970 100644
--- a/games/cribbage/Makefile
+++ b/games/cribbage/Makefile
@@ -1,4 +1,5 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
+# $FreeBSD$
PROG= cribbage
DPADD= ${LIBCURSES} ${LIBTERMCAP} ${LIBCOMPAT}
@@ -10,7 +11,9 @@ HIDEGAME=hidegame
beforeinstall:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
${.CURDIR}/cribbage.n ${DESTDIR}${SHAREDIR}/games/cribbage.instr
+.if !exists(${DESTDIR}/var/games/criblog)
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
${DESTDIR}/var/games/criblog
+.endif
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud