0e5a7be513
PR: bin/13068 Submitted by: Dominic Mitchell <Dom.Mitchell@palmerharvey.co.uk> 2. Sprinkle $FreeBSD$ around.
20 lines
555 B
Makefile
20 lines
555 B
Makefile
# @(#)Makefile 8.1 (Berkeley) 5/31/93
|
|
# $FreeBSD$
|
|
|
|
PROG= cribbage
|
|
DPADD= ${LIBCURSES} ${LIBTERMCAP} ${LIBCOMPAT}
|
|
LDADD= -lcurses -ltermcap -lcompat
|
|
SRCS= extern.c crib.c cards.c instr.c io.c score.c support.c
|
|
MAN6= cribbage.6
|
|
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>
|