freebsd-dev/games/cribbage/Makefile
Bill Fumerola 0e5a7be513 1. Don't overwrite scorefiles if they already exist.
PR:		bin/13068
Submitted by:	Dominic Mitchell <Dom.Mitchell@palmerharvey.co.uk>

2. Sprinkle $FreeBSD$ around.
1999-12-10 21:13:42 +00:00

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>