freebsd-skq/gnu/games/chess/Makefile
Rodney W. Grimes 1dc20d5093 The src/games/Makefile.inc use to control the location this installed in,
since this has been moved to src/gnu I had to copy the contents of
src/games/Makefile.inc into this Makefile to get it to install in
/usr/games/hide
1993-09-02 11:11:42 +00:00

23 lines
448 B
Makefile

# @(#)Makefile 5.4 (Berkeley) 5/11/90
PROG= chess
SRCS= gnuchess.c uxdsp.c move.c
CFLAGS+=-DNEWMOVE=12
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 \
${DESTDIR}/usr/share/games
.include <bsd.prog.mk>