summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gnu/games/chess/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/games/chess/Makefile b/gnu/games/chess/Makefile
index 7a084cb..a281d35 100644
--- a/gnu/games/chess/Makefile
+++ b/gnu/games/chess/Makefile
@@ -7,6 +7,13 @@ MAN6= chess.6
DPADD= ${LIBCURSES} ${LIBTERM}
LDADD= -lcurses -ltermlib
HIDEGAME=hidegame
+BINOWN?= games
+.if defined(HIDEGAME)
+BINDIR?= /usr/games/hide
+BINMODE?= 4700
+.else
+BINDIR?= /usr/games
+.endif
beforeinstall:
install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/gnuchess.book \
OpenPOWER on IntegriCloud